aboutsummaryrefslogtreecommitdiff
path: root/src/common/command_line.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-02 17:11:20 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-03 11:11:11 +0100
commit6ac61100a130ed6d73a89bb209a0695410928cf9 (patch)
treebce64b6d3442b8297a1d5b8426f0b9f4fdac9435 /src/common/command_line.cpp
parentMerge pull request #2384 (diff)
downloadmonero-6ac61100a130ed6d73a89bb209a0695410928cf9.tar.xz
Add a --fluffy-blocks option to relay blocks as fluffy blocks
Defaults to off, but fluffy blocks are forced enabled on testnet
Diffstat (limited to 'src/common/command_line.cpp')
-rw-r--r--src/common/command_line.cpp5
1 files changed, 5 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
+ };
}