diff options
author | tobtoht <tob@featherwallet.org> | 2023-05-12 17:31:21 +0200 |
---|---|---|
committer | tobtoht <tob@featherwallet.org> | 2023-05-12 17:39:38 +0200 |
commit | bb83eb151aa594ca827ca52de5738e23309b453c (patch) | |
tree | ec6048fd9b9b6285f7a1b91c502f1f1b9ba2bb45 /src | |
parent | Merge pull request #8760 (diff) | |
download | monero-bb83eb151aa594ca827ca52de5738e23309b453c.tar.xz |
daemon: remove --fluffy-blocks
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 72ddd0dc9..ff8c1cc0a 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -173,11 +173,6 @@ namespace cryptonote , "Check for new versions of monero: [disabled|notify|download|update]" , "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 = { "no-fluffy-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_block_sync_size); 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_test_dbg_lock_sleep); command_line::add_arg(desc, arg_offline); @@ -393,9 +387,6 @@ namespace cryptonote m_offline = get_arg(vm, arg_offline); 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) test_drop_download(); |