OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
cbdc::parsec::config Struct Reference

Configuration parameters for a phase two system. More...

#include <util.hpp>

Data Fields

std::vector< network::endpoint_tm_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_tm_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.
 

Detailed Description

Configuration parameters for a phase two system.

Definition at line 31 of file parsec/util.hpp.

Field Documentation

◆ m_agent_endpoints

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.

◆ m_component_id

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().

◆ m_contention_rate

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.

◆ m_load_type

load_type cbdc::parsec::config::m_load_type

Type of transactions load generators should produce.

Definition at line 50 of file parsec/util.hpp.

◆ m_loadgen_accounts

size_t cbdc::parsec::config::m_loadgen_accounts

The number of simultaneous load generator threads.

Definition at line 48 of file parsec/util.hpp.

◆ m_loglevel

logging::log_level cbdc::parsec::config::m_loglevel

Log level to use, defaults to WARN.

Definition at line 37 of file parsec/util.hpp.

◆ m_node_id

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.

◆ m_runner_type

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.

◆ m_shard_endpoints

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.

◆ m_ticket_machine_endpoints

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.


The documentation for this struct was generated from the following file: