mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 02:42:38 +00:00
Advertise --advertise-false-custody-group-count for testing PeerDAS (#7593)
#6973
This commit is contained in:
@@ -139,6 +139,9 @@ pub struct Config {
|
||||
/// Configuration for the minimum message size for which IDONTWANT messages are send in the mesh.
|
||||
/// Lower the value reduces the optimization effect of the IDONTWANT messages.
|
||||
pub idontwant_message_size_threshold: usize,
|
||||
|
||||
/// Flag for advertising a fake CGC to peers for testing ONLY.
|
||||
pub advertise_false_custody_group_count: Option<u64>,
|
||||
}
|
||||
|
||||
impl Config {
|
||||
@@ -363,6 +366,7 @@ impl Default for Config {
|
||||
invalid_block_storage: None,
|
||||
inbound_rate_limiter_config: None,
|
||||
idontwant_message_size_threshold: DEFAULT_IDONTWANT_MESSAGE_SIZE_THRESHOLD,
|
||||
advertise_false_custody_group_count: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user