diff --git a/src/init.cpp b/src/init.cpp --- a/src/init.cpp +++ b/src/init.cpp @@ -654,18 +654,6 @@ "transactions are always relayed, even if they are " "already in the mempool, useful e.g. for a gateway"), false, OptionsCategory::CONNECTION); - gArgs.AddArg( - "-whitelistrelay", - strprintf(_("Accept relayed transactions received from whitelisted " - "peers even when not relaying transactions (default: %d)"), - DEFAULT_WHITELISTRELAY), - false, OptionsCategory::CONNECTION); - gArgs.AddArg( - "-whitelistforcerelay", - strprintf(_("Force relay of transactions from whitelisted peers even " - "if they violate local relay policy (default: %d)"), - DEFAULT_WHITELISTFORCERELAY), - false, OptionsCategory::CONNECTION); gArgs.AddArg( "-maxuploadtarget=", strprintf(_("Tries to keep outbound traffic under the given target (in " @@ -884,6 +872,18 @@ "relaying, mining and transaction creation (default: %s)"), CURRENCY_UNIT, FormatMoney(DEFAULT_MIN_RELAY_TX_FEE_PER_KB)), false, OptionsCategory::NODE_RELAY); + gArgs.AddArg( + "-whitelistrelay", + strprintf(_("Accept relayed transactions received from whitelisted " + "peers even when not relaying transactions (default: %d)"), + DEFAULT_WHITELISTRELAY), + false, OptionsCategory::NODE_RELAY); + gArgs.AddArg( + "-whitelistforcerelay", + strprintf(_("Force relay of transactions from whitelisted peers even " + "if they violate local relay policy (default: %d)"), + DEFAULT_WHITELISTFORCERELAY), + false, OptionsCategory::NODE_RELAY); // Not sure this really belongs here, but it will do for now. // FIXME: This doesn't work anyways.