Fix rebase conflict

This commit is contained in:
Emilia Hane
2023-02-06 11:01:09 +01:00
parent a211e6afee
commit ce2db355de
7 changed files with 54 additions and 27 deletions

View File

@@ -551,6 +551,14 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
.takes_value(true)
.default_value("true")
)
.arg(
Arg::with_name("prune-blobs")
.long("prune-blobs")
.help("Prune blobs from Lighthouse's database when they are older than the data \
data availability boundary relative to the current head.")
.takes_value(true)
.default_value("true")
)
/*
* Misc.

View File

@@ -411,6 +411,10 @@ pub fn get_config<E: EthSpec>(
client_config.store.prune_payloads = prune_payloads;
}
if let Some(prune_blobs) = clap_utils::parse_optional(cli_args, "prune-blobs")? {
client_config.store.prune_blobs = prune_blobs;
}
/*
* Zero-ports
*