Skip to content

Commit b29b509

Browse files
committed
Merge pull request #4325
4aaa017 rework help messages for fee-related options (Philip Kaufmann)
2 parents bcade18 + 4aaa017 commit b29b509

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/init.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ std::string HelpMessage(HelpMessageMode mode)
253253
#ifdef ENABLE_WALLET
254254
strUsage += "\n" + _("Wallet options:") + "\n";
255255
strUsage += " -disablewallet " + _("Do not load the wallet and disable wallet RPC calls") + "\n";
256-
strUsage += " -paytxfee=<amt> " + _("Fee per kB to add to transactions you send") + "\n";
256+
strUsage += " -paytxfee=<amt> " + strprintf(_("Fee (in BTC/kB) to add to transactions you send (default: %s)"), FormatMoney(payTxFee.GetFeePerK())) + "\n";
257257
strUsage += " -rescan " + _("Rescan the block chain for missing wallet transactions") + " " + _("on startup") + "\n";
258258
strUsage += " -salvagewallet " + _("Attempt to recover private keys from a corrupt wallet.dat") + " " + _("on startup") + "\n";
259259
strUsage += " -spendzeroconfchange " + _("Spend unconfirmed change when sending transactions (default: 1)") + "\n";
@@ -294,8 +294,8 @@ std::string HelpMessage(HelpMessageMode mode)
294294
strUsage += " -limitfreerelay=<n> " + _("Continuously rate-limit free transactions to <n>*1000 bytes per minute (default:15)") + "\n";
295295
strUsage += " -maxsigcachesize=<n> " + _("Limit size of signature cache to <n> entries (default: 50000)") + "\n";
296296
}
297-
strUsage += " -mintxfee=<amt> " + _("Fees smaller than this are considered zero fee (for transaction creation) (default:") + " " + FormatMoney(CTransaction::minTxFee.GetFeePerK()) + ")" + "\n";
298-
strUsage += " -minrelaytxfee=<amt> " + _("Fees smaller than this are considered zero fee (for relaying) (default:") + " " + FormatMoney(CTransaction::minRelayTxFee.GetFeePerK()) + ")" + "\n";
297+
strUsage += " -mintxfee=<amt> " + strprintf(_("Fees (in BTC/Kb) smaller than this are considered zero fee for transaction creation (default: %s)"), FormatMoney(CTransaction::minTxFee.GetFeePerK())) + "\n";
298+
strUsage += " -minrelaytxfee=<amt> " + strprintf(_("Fees (in BTC/Kb) smaller than this are considered zero fee for relaying (default: %s)"), FormatMoney(CTransaction::minRelayTxFee.GetFeePerK())) + "\n";
299299
strUsage += " -printtoconsole " + _("Send trace/debug info to console instead of debug.log file") + "\n";
300300
if (GetBoolArg("-help-debug", false))
301301
{

0 commit comments

Comments
 (0)