aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatick Strateman <patrick.strateman@gmail.com>2015-11-14 05:12:05 -0800
committerPatick Strateman <patrick.strateman@gmail.com>2015-11-14 05:12:05 -0800
commit59441a044570c4298f19b6bd873c8769e3ec0ba0 (patch)
tree42471dd5f9dd519d335467cc4961619d162fae24
parent71a2683f4b526b17adf317733b0aa18ffacecfdc (diff)
Display DEFAULT_WHITELISTALWAYSRELAY in help text
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 666fa87318..3a4312ec0f 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -377,7 +377,7 @@ std::string HelpMessage(HelpMessageMode mode)
strUsage += HelpMessageOpt("-whitebind=<addr>", _("Bind to given address and whitelist peers connecting to it. Use [host]:port notation for IPv6"));
strUsage += HelpMessageOpt("-whitelist=<netmask>", _("Whitelist peers connecting from the given netmask or IP address. Can be specified multiple times.") +
" " + _("Whitelisted peers cannot be DoS banned and their transactions are always relayed, even if they are already in the mempool, useful e.g. for a gateway"));
- strUsage += HelpMessageOpt("-whitelistalwaysrelay", _("Always relay transactions received from whitelisted peers."));
+ strUsage += HelpMessageOpt("-whitelistalwaysrelay", strprintf(_("Always relay transactions received from whitelisted peers (default: %d)"), DEFAULT_WHITELISTALWAYSRELAY));
strUsage += HelpMessageOpt("-maxuploadtarget=<n>", strprintf(_("Tries to keep outbound traffic under the given target (in MiB per 24h), 0 = no limit (default: %d)"), DEFAULT_MAX_UPLOAD_TARGET));
#ifdef ENABLE_WALLET