Merge pull request #8855

bb83eb1 daemon: remove --fluffy-blocks (tobtoht)
This commit is contained in:
luigi1111 2023-06-27 11:41:57 -05:00
commit b86a620b4d
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
2 changed files with 0 additions and 10 deletions

View file

@ -173,11 +173,6 @@ namespace cryptonote
, "Check for new versions of monero: [disabled|notify|download|update]" , "Check for new versions of monero: [disabled|notify|download|update]"
, "notify" , "notify"
}; };
static const command_line::arg_descriptor<bool> arg_fluffy_blocks = {
"fluffy-blocks"
, "Relay blocks as fluffy blocks (obsolete, now default)"
, true
};
static const command_line::arg_descriptor<bool> arg_no_fluffy_blocks = { static const command_line::arg_descriptor<bool> arg_no_fluffy_blocks = {
"no-fluffy-blocks" "no-fluffy-blocks"
, "Relay blocks as normal blocks" , "Relay blocks as normal blocks"
@ -340,7 +335,6 @@ namespace cryptonote
command_line::add_arg(desc, arg_show_time_stats); command_line::add_arg(desc, arg_show_time_stats);
command_line::add_arg(desc, arg_block_sync_size); command_line::add_arg(desc, arg_block_sync_size);
command_line::add_arg(desc, arg_check_updates); command_line::add_arg(desc, arg_check_updates);
command_line::add_arg(desc, arg_fluffy_blocks);
command_line::add_arg(desc, arg_no_fluffy_blocks); command_line::add_arg(desc, arg_no_fluffy_blocks);
command_line::add_arg(desc, arg_test_dbg_lock_sleep); command_line::add_arg(desc, arg_test_dbg_lock_sleep);
command_line::add_arg(desc, arg_offline); command_line::add_arg(desc, arg_offline);
@ -393,9 +387,6 @@ namespace cryptonote
m_offline = get_arg(vm, arg_offline); m_offline = get_arg(vm, arg_offline);
m_disable_dns_checkpoints = get_arg(vm, arg_disable_dns_checkpoints); m_disable_dns_checkpoints = get_arg(vm, arg_disable_dns_checkpoints);
if (!command_line::is_arg_defaulted(vm, arg_fluffy_blocks))
MWARNING(arg_fluffy_blocks.name << " is obsolete, it is now default");
if (command_line::get_arg(vm, arg_test_drop_download) == true) if (command_line::get_arg(vm, arg_test_drop_download) == true)
test_drop_download(); test_drop_download();

View file

@ -32,7 +32,6 @@ complete -c monerod -l fast-block-sync -r -d "Sync up most of the way by using e
complete -c monerod -l show-time-stats -r -d "(=0) Show time-stats when processing blocks/txs and disk synchronization. Default: 0" complete -c monerod -l show-time-stats -r -d "(=0) Show time-stats when processing blocks/txs and disk synchronization. Default: 0"
complete -c monerod -l block-sync-size -r -d "(=0) How many blocks to sync at once during chain synchronization (0 = adaptive). Default: 0" complete -c monerod -l block-sync-size -r -d "(=0) How many blocks to sync at once during chain synchronization (0 = adaptive). Default: 0"
complete -c monerod -l check-updates -x -a "disabled notify download update" -d "Check for new versions of monero. Default: notify" complete -c monerod -l check-updates -x -a "disabled notify download update" -d "Check for new versions of monero. Default: notify"
complete -c monerod -l fluffy-blocks -d "Relay blocks as fluffy blocks (obsolete, now default)"
complete -c monerod -l no-fluffy-blocks -d "Relay blocks as normal blocks" complete -c monerod -l no-fluffy-blocks -d "Relay blocks as normal blocks"
complete -c monerod -l test-dbg-lock-sleep -r -d "Sleep time in ms, defaults to 0 (off), used to debug before/after locking mutex. Values 100 to 1000 are good for tests." complete -c monerod -l test-dbg-lock-sleep -r -d "Sleep time in ms, defaults to 0 (off), used to debug before/after locking mutex. Values 100 to 1000 are good for tests."
complete -c monerod -l offline -d "Do not listen for peers, nor connect to any" complete -c monerod -l offline -d "Do not listen for peers, nor connect to any"