mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-11 18:04:18 +00:00
Remove peer sampling code (#7768)
Peer sampling has been completely removed from the spec. This PR removes our partial implementation from the codebase. https://github.com/ethereum/consensus-specs/pull/4393
This commit is contained in:
@@ -78,15 +78,6 @@ pub fn cli_app() -> Command {
|
||||
.hide(true)
|
||||
.display_order(0)
|
||||
)
|
||||
.arg(
|
||||
Arg::new("enable-sampling")
|
||||
.long("enable-sampling")
|
||||
.action(ArgAction::SetTrue)
|
||||
.help_heading(FLAG_HEADER)
|
||||
.help("Enable peer sampling on data columns. Disabled by default.")
|
||||
.hide(true)
|
||||
.display_order(0)
|
||||
)
|
||||
.arg(
|
||||
Arg::new("blob-publication-batches")
|
||||
.long("blob-publication-batches")
|
||||
|
||||
@@ -192,10 +192,6 @@ pub fn get_config<E: EthSpec>(
|
||||
client_config.chain.shuffling_cache_size = cache_size;
|
||||
}
|
||||
|
||||
if cli_args.get_flag("enable-sampling") {
|
||||
client_config.chain.enable_sampling = true;
|
||||
}
|
||||
|
||||
if let Some(batches) = clap_utils::parse_optional(cli_args, "blob-publication-batches")? {
|
||||
client_config.chain.blob_publication_batches = batches;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user