Skip to content

Commit 91a00ce

Browse files
committed
Remove duplicate validator-engine options
1 parent 21c191d commit 91a00ce

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

validator-engine/validator-engine.cpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5578,21 +5578,6 @@ int main(int argc, char *argv[]) {
55785578
acts.push_back([&x, v]() { td::actor::send_closure(x, &ValidatorEngine::set_sync_shards_upto, v); });
55795579
return td::Status::OK();
55805580
});
5581-
p.add_option(
5582-
'\0', "permanent-celldb",
5583-
"disable garbage collection in CellDb. This improves performance on archival nodes (once enabled, this option "
5584-
"cannot be disabled)",
5585-
[&]() { acts.push_back([&x]() { td::actor::send_closure(x, &ValidatorEngine::set_permanent_celldb, true); }); });
5586-
p.add_option('\0', "skip-key-sync",
5587-
"don't select the best persistent state on initial sync, start on init_block from global config", [&]() {
5588-
acts.push_back([&x]() { td::actor::send_closure(x, &ValidatorEngine::set_skip_key_sync, true); });
5589-
});
5590-
p.add_checked_option(
5591-
'\0', "sync-shards-upto", "stop syncing shards on this masterchain seqno", [&](td::Slice s) -> td::Status {
5592-
TRY_RESULT(v, td::to_integer_safe<ton::BlockSeqno>(s));
5593-
acts.push_back([&x, v]() { td::actor::send_closure(x, &ValidatorEngine::set_sync_shards_upto, v); });
5594-
return td::Status::OK();
5595-
});
55965581
p.add_checked_option('\0', "shard-block-retainer",
55975582
"adnl id for shard block retainer (hex), or \"fullnode\" for full node id",
55985583
[&](td::Slice arg) -> td::Status {

0 commit comments

Comments
 (0)