OpenCBDC Transaction Processor
|
Configuration parameters for a phase two system. More...
#include <util.hpp>
Data Fields | |
std::vector< network::endpoint_t > | m_ticket_machine_endpoints |
RPC endpoints for the nodes in the ticket machine raft cluster. | |
size_t | m_component_id |
ID of the component the instance should be. | |
logging::log_level | m_loglevel |
Log level to use, defaults to WARN. | |
std::vector< std::vector< network::endpoint_t > > | m_shard_endpoints |
RPC endpoints for the nodes in the shard raft clusters. | |
std::optional< size_t > | m_node_id |
ID of the node within the component the instance should be, if applicable. | |
std::vector< network::endpoint_t > | m_agent_endpoints |
RPC endpoints for the agents. | |
runner_type | m_runner_type {runner_type::evm} |
Type of execution environment to use in the agent. | |
size_t | m_loadgen_accounts |
The number of simultaneous load generator threads. | |
load_type | m_load_type |
Type of transactions load generators should produce. | |
double | m_contention_rate |
The percentage of transactions that are using the same account to simulate contention. | |
Configuration parameters for a phase two system.
Definition at line 31 of file parsec/util.hpp.
std::vector<network::endpoint_t> cbdc::parsec::config::m_agent_endpoints |
RPC endpoints for the agents.
Definition at line 44 of file parsec/util.hpp.
size_t cbdc::parsec::config::m_component_id |
ID of the component the instance should be.
Definition at line 35 of file parsec/util.hpp.
Referenced by cbdc::parsec::read_config().
double cbdc::parsec::config::m_contention_rate |
The percentage of transactions that are using the same account to simulate contention.
Definition at line 53 of file parsec/util.hpp.
load_type cbdc::parsec::config::m_load_type |
Type of transactions load generators should produce.
Definition at line 50 of file parsec/util.hpp.
size_t cbdc::parsec::config::m_loadgen_accounts |
The number of simultaneous load generator threads.
Definition at line 48 of file parsec/util.hpp.
logging::log_level cbdc::parsec::config::m_loglevel |
Log level to use, defaults to WARN.
Definition at line 37 of file parsec/util.hpp.
std::optional<size_t> cbdc::parsec::config::m_node_id |
ID of the node within the component the instance should be, if applicable.
Definition at line 42 of file parsec/util.hpp.
runner_type cbdc::parsec::config::m_runner_type {runner_type::evm} |
Type of execution environment to use in the agent.
Definition at line 46 of file parsec/util.hpp.
std::vector<std::vector<network::endpoint_t> > cbdc::parsec::config::m_shard_endpoints |
RPC endpoints for the nodes in the shard raft clusters.
Definition at line 39 of file parsec/util.hpp.
std::vector<network::endpoint_t> cbdc::parsec::config::m_ticket_machine_endpoints |
RPC endpoints for the nodes in the ticket machine raft cluster.
Definition at line 33 of file parsec/util.hpp.