|
| | ResDBPoCConfig (const ResDBConfig &bft_config, const ResConfigData &config_data, const ReplicaInfo &self_info, const KeyInfo &private_key, const CertificateInfo &public_key_cert_info) |
| |
| const ResDBConfig * | GetBFTConfig () const |
| |
| void | SetMaxNonceBit (uint32_t bit) |
| |
| uint32_t | GetMaxNonceBit () const |
| |
| void | SetDifficulty (uint32_t difficulty) |
| |
| uint32_t | GetDifficulty () const |
| |
| void | SetTargetValue (uint32_t target_value) |
| |
| uint32_t | GetTargetValue () const |
| |
| std::vector< ReplicaInfo > | GetBFTReplicas () |
| |
| void | SetBFTReplicas (const std::vector< ReplicaInfo > &replicas) |
| |
| uint32_t | BatchTransactionNum () const |
| |
| void | SetBatchTransactionNum (uint32_t batch_num) |
| |
| uint32_t | GetWokerNum () |
| |
| void | SetWorkerNum (uint32_t worker_num) |
| |
| uint32_t | GetMiningTime () const |
| |
| void | SetMiningTime (uint32_t time_ms) |
| |
| | ResDBConfig (const std::vector< ReplicaInfo > &replicas, const ReplicaInfo &self_info, ResConfigData config_data=ResConfigData()) |
| |
| | ResDBConfig (const std::vector< ReplicaInfo > &replicas, const ReplicaInfo &self_info, const KeyInfo &private_key, const CertificateInfo &public_key_cert_info) |
| |
| | ResDBConfig (const ResConfigData &config_data, const ReplicaInfo &self_info, const KeyInfo &private_key, const CertificateInfo &public_key_cert_info) |
| |
| void | SetConfigData (const ResConfigData &config_data) |
| |
| KeyInfo | GetPrivateKey () const |
| |
| CertificateInfo | GetPublicKeyCertificateInfo () const |
| |
| const std::vector< ReplicaInfo > & | GetReplicaInfos () const |
| |
| ResConfigData | GetConfigData () const |
| |
| const ReplicaInfo & | GetSelfInfo () const |
| |
| size_t | GetReplicaNum () const |
| |
| int | GetMinDataReceiveNum () const |
| |
| size_t | GetMaxMaliciousReplicaNum () const |
| |
| int | GetMinClientReceiveNum () const |
| |
| int | GetMinCheckpointReceiveNum () const |
| |
| void | SetClientTimeoutMs (int timeout_ms) |
| |
| int | GetClientTimeoutMs () const |
| |
| int | GetCheckPointWaterMark () const |
| |
| void | SetCheckPointWaterMark (int water_mark) |
| |
| std::string | GetCheckPointLoggingPath () const |
| |
| void | SetCheckPointLoggingPath (const std::string &path) |
| |
| void | EnableCheckPoint (bool is_enable) |
| |
| bool | IsCheckPointEnabled () |
| |
| bool | HeartBeatEnabled () |
| |
| void | SetHeartBeatEnabled (bool enable_heartbeat) |
| |
| bool | SignatureVerifierEnabled () |
| |
| void | SetSignatureVerifierEnabled (bool enable_sv) |
| |
| bool | IsPerformanceRunning () |
| |
| void | RunningPerformance (bool) |
| |
| bool | IsTestMode () const |
| |
| void | SetTestMode (bool) |
| |
| uint32_t | GetMaxProcessTxn () const |
| |
| void | SetMaxProcessTxn (uint32_t num) |
| |
| uint32_t | GetMaxClientComplaintNum () const |
| |
| uint32_t | ClientBatchWaitTimeMS () const |
| |
| void | SetClientBatchWaitTimeMS (uint32_t wait_time_ms) |
| |
| uint32_t | ClientBatchNum () const |
| |
| void | SetClientBatchNum (uint32_t num) |
| |
| uint32_t | GetWorkerNum () const |
| |
| uint32_t | GetInputWorkerNum () const |
| |
| uint32_t | GetOutputWorkerNum () const |
| |
| uint32_t | GetTcpBatchNum () const |
| |
| uint32_t | GetViewchangeCommitTimeout () const |
| |
| void | SetViewchangeCommitTimeout (uint64_t timeout_ms) |
| |
Definition at line 27 of file resdb_poc_config.h.