Enable skipping blob pruning at each epoch

This commit is contained in:
Emilia Hane
2023-01-14 18:20:08 +01:00
parent 2f565d25b2
commit 6346c30158
4 changed files with 28 additions and 5 deletions

View File

@@ -555,10 +555,19 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
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.")
data availability boundary relative to the current epoch.")
.takes_value(true)
.default_value("true")
)
.arg(
Arg::with_name("epochs-per-blob-prune")
.long("epochs-per-blob-prune")
.help("The epoch interval with which to prune blobs from Lighthouse's \
database when they are older than the data data availability \
boundary relative to the current epoch.")
.takes_value(true)
.default_value("1")
)
/*
* Misc.