Skip to content
This repository was archived by the owner on Feb 27, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions crates/types/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub struct NetworkConfig<KEY: SignatureKey> {
/// regardless of the number of nodes connected.
pub manual_start_password: Option<String>,
/// number of bootstrap nodes
pub num_bootrap: usize,
pub num_bootstrap: usize,
/// timeout before starting the next view
pub next_view_timeout: u64,
/// timeout before starting next view sync round
Expand Down Expand Up @@ -284,7 +284,7 @@ impl<K: SignatureKey> Default for NetworkConfig<K> {
combined_network_config: None,
next_view_timeout: 10,
view_sync_timeout: Duration::from_secs(2),
num_bootrap: 5,
num_bootstrap: 5,
builder_timeout: Duration::from_secs(10),
data_request_delay: Duration::from_millis(2500),
commit_sha: String::new(),
Expand Down Expand Up @@ -363,7 +363,7 @@ impl<K: SignatureKey> From<NetworkConfigFile<K>> for NetworkConfig<K> {
indexed_da: val.indexed_da,
transactions_per_round: val.transactions_per_round,
node_index: 0,
num_bootrap: val.config.num_bootstrap,
num_bootstrap: val.config.num_bootstrap,
manual_start_password: val.manual_start_password,
next_view_timeout: val.config.next_view_timeout,
view_sync_timeout: val.config.view_sync_timeout,
Expand Down