diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-09-14 18:25:15 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-09-14 18:25:15 +0200 |
commit | 4c07297dc6321c023d70c02c3c1a1a929c77aef8 (patch) | |
tree | 931d336829328cf6d984504bcb057ad5bd07097e /src/common | |
parent | Merge pull request #2389 (diff) | |
parent | Add a --fluffy-blocks option to relay blocks as fluffy blocks (diff) | |
download | monero-4c07297dc6321c023d70c02c3c1a1a929c77aef8.tar.xz |
Merge pull request #2392
6ac61100 Add a --fluffy-blocks option to relay blocks as fluffy blocks (moneromooo-monero)
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/command_line.cpp | 5 | ||||
-rw-r--r-- | src/common/command_line.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/common/command_line.cpp b/src/common/command_line.cpp index 8c03bed0d..666b3267f 100644 --- a/src/common/command_line.cpp +++ b/src/common/command_line.cpp @@ -120,4 +120,9 @@ namespace command_line , "Check for new versions of monero: [disabled|notify|download|update]" , "notify" }; + const arg_descriptor<bool> arg_fluffy_blocks = { + "fluffy-blocks" + , "Relay blocks as fluffy blocks where possible (automatic on testnet)" + , false + }; } diff --git a/src/common/command_line.h b/src/common/command_line.h index ac64f519c..d4231acd0 100644 --- a/src/common/command_line.h +++ b/src/common/command_line.h @@ -217,4 +217,5 @@ namespace command_line extern const arg_descriptor<uint64_t> arg_show_time_stats; extern const arg_descriptor<size_t> arg_block_sync_size; extern const arg_descriptor<std::string> arg_check_updates; + extern const arg_descriptor<bool> arg_fluffy_blocks; } |