pub type NetworkConfig = NetworkConfig<SeqTypes>;Aliased Type§
pub struct NetworkConfig {Show 21 fields
pub rounds: usize,
pub indexed_da: bool,
pub transactions_per_round: usize,
pub manual_start_password: Option<String>,
pub num_bootrap: usize,
pub next_view_timeout: u64,
pub view_sync_timeout: Duration,
pub builder_timeout: Duration,
pub data_request_delay: Duration,
pub node_index: u64,
pub seed: [u8; 32],
pub transaction_size: usize,
pub key_type_name: String,
pub libp2p_config: Option<Libp2pConfig>,
pub config: HotShotConfig<SeqTypes>,
pub cdn_marshal_address: Option<String>,
pub combined_network_config: Option<CombinedNetworkConfig>,
pub commit_sha: String,
pub builder: BuilderType,
pub random_builder: Option<RandomBuilderConfig>,
pub public_keys: Vec<PeerConfigKeys<SeqTypes>>,
}Fields§
§rounds: usizenumber of views to run
indexed_da: boolwhether DA membership is determined by index. if true, the first k nodes to register form the DA committee if false, DA membership is requested by the nodes
transactions_per_round: usizenumber of transactions per view
manual_start_password: Option<String>password to have the orchestrator start the network, regardless of the number of nodes connected.
num_bootrap: usizenumber of bootstrap nodes
next_view_timeout: u64timeout before starting the next view
view_sync_timeout: Durationtimeout before starting next view sync round
builder_timeout: DurationThe maximum amount of time a leader can wait to get a block from a builder
data_request_delay: Durationtime to wait until we request data associated with a proposal
node_index: u64global index of node (for testing purposes a uid)
seed: [u8; 32]unique seed (for randomness? TODO)
transaction_size: usizesize of transactions
key_type_name: Stringname of the key type (for debugging)
libp2p_config: Option<Libp2pConfig>the libp2p config
config: HotShotConfig<SeqTypes>the hotshot config
cdn_marshal_address: Option<String>The address for the Push CDN’s “marshal”, A.K.A. load balancer
combined_network_config: Option<CombinedNetworkConfig>combined network config
commit_sha: Stringthe commit this run is based on
builder: BuilderTypebuilder to use
random_builder: Option<RandomBuilderConfig>random builder config
public_keys: Vec<PeerConfigKeys<SeqTypes>>The list of public keys that are allowed to connect to the orchestrator