Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0: Removes unused deprecated cli args (backport of #2058) #2063

Merged
merged 1 commit into from
Jul 9, 2024
Merged
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
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