Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions validator/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -612,15 +612,6 @@ pub fn app<'a>(version: &'a str, default_args: &'a DefaultArgs) -> App<'a, 'a> {
.help("Controls how often RocksDB read/write performance sample is collected. \
Reads/writes perf samples are collected in 1 / ROCKS_PERF_SAMPLE_INTERVAL sampling rate."),
)
.arg(
Arg::with_name("skip_poh_verify")
.long("skip-poh-verify")
.takes_value(false)
.help(
"Deprecated, please use --skip-verification.\n\
Skip ledger verification at validator bootup."
),
)
.arg(
Arg::with_name("skip_verification")
.long("skip-verification")
Expand Down Expand Up @@ -1700,6 +1691,14 @@ fn get_deprecated_arguments() -> Vec<Arg<'static, 'static>> {
.hidden(hidden_unless_forced())
.takes_value(false)
.help("Disable manual compaction of the ledger database (this is ignored)."),
Arg::with_name("skip_poh_verify")
.long("skip-poh-verify")
.hidden(hidden_unless_forced())
.takes_value(false)
.help(
"Please use --skip-verification.\n\
Skip ledger verification at validator bootup."
),
Arg::with_name("rocksdb_compaction_interval")
.long("rocksdb-compaction-interval-slots")
.hidden(hidden_unless_forced())
Expand Down Expand Up @@ -1940,6 +1939,7 @@ lazy_static! {
"Vote account sanity checks are no longer performed by default.",
),
("no_rocksdb_compaction", ""),
("skip_poh_verify", "Please use --skip-verification"),
("rocksdb_compaction_interval", ""),
("rocksdb_max_compaction_jitter", ""),
];
Expand Down
4 changes: 0 additions & 4 deletions validator/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1191,10 +1191,6 @@ pub fn main() {
}
let full_api = matches.is_present("full_rpc_api");

if matches.is_present("skip_poh_verify") {
eprintln!("--skip-poh-verify is deprecated. Replace with --skip-verification.");
}

let mut validator_config = ValidatorConfig {
require_tower: matches.is_present("require_tower"),
tower_storage,
Expand Down