Skip to content

Commit

Permalink
Removes unused deprecated cli args (anza-xyz#2058)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Jul 9, 2024
1 parent b1bb9ff commit 05134be
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions validator/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1958,16 +1958,6 @@ fn deprecated_arguments() -> Vec<DeprecatedArg> {
(@into-option $v:expr) => { Some($v) };
}

add_arg!(Arg::with_name("accounts_db_caching_enabled").long("accounts-db-caching-enabled"));
add_arg!(
Arg::with_name("accounts_db_index_hashing")
.long("accounts-db-index-hashing")
.help(
"Enables the use of the index in hash calculation in \
AccountsHashVerifier/Accounts Background Service.",
),
usage_warning: "The accounts hash is only calculated without using the index.",
);
add_arg!(
Arg::with_name("accounts_db_skip_shrink")
.long("accounts-db-skip-shrink")
Expand Down Expand Up @@ -2062,16 +2052,6 @@ fn deprecated_arguments() -> Vec<DeprecatedArg> {
.long("minimal-rpc-api")
.takes_value(false)
.help("Only expose the RPC methods required to serve snapshots to other nodes"));
add_arg!(
Arg::with_name("no_accounts_db_index_hashing")
.long("no-accounts-db-index-hashing")
.help(
"This is obsolete. See --accounts-db-index-hashing. \
Disables the use of the index in hash calculation in \
AccountsHashVerifier/Accounts Background Service.",
),
usage_warning: "The accounts hash is only calculated without using the index.",
);
add_arg!(
Arg::with_name("no_check_vote_account")
.long("no-check-vote-account")
Expand Down

0 comments on commit 05134be

Please sign in to comment.