Previously various user-facing strings have used inconsistent currency units "BTC",
"btc" and "bitcoins". This adds a single constant and uses it for each reference to
the currency unit.
Also adds a description of the unit for --maxtxfee, and adds the missing "amount"
field description to the (deprecated) move RPC command.
strUsage+=HelpMessageOpt("-disablewallet",_("Do not load the wallet and disable wallet RPC calls"));
strUsage+=HelpMessageOpt("-disablewallet",_("Do not load the wallet and disable wallet RPC calls"));
strUsage+=HelpMessageOpt("-keypool=<n>",strprintf(_("Set key pool size to <n> (default: %u)"),100));
strUsage+=HelpMessageOpt("-keypool=<n>",strprintf(_("Set key pool size to <n> (default: %u)"),100));
if(showDebug)
if(showDebug)
strUsage+=HelpMessageOpt("-mintxfee=<amt>",strprintf("Fees (in BTC/Kb) smaller than this are considered zero fee for transaction creation (default: %s)",
strUsage+=HelpMessageOpt("-mintxfee=<amt>",strprintf("Fees (in %s/kB) smaller than this are considered zero fee for transaction creation (default: %s)",
strUsage+=HelpMessageOpt("-paytxfee=<amt>",strprintf(_("Fee (in BTC/kB) to add to transactions you send (default: %s)"),FormatMoney(payTxFee.GetFeePerK())));
strUsage+=HelpMessageOpt("-paytxfee=<amt>",strprintf(_("Fee (in %s/kB) to add to transactions you send (default: %s)"),
strUsage+=HelpMessageOpt("-rescan",_("Rescan the block chain for missing wallet transactions")+""+_("on startup"));
strUsage+=HelpMessageOpt("-rescan",_("Rescan the block chain for missing wallet transactions")+""+_("on startup"));
strUsage+=HelpMessageOpt("-salvagewallet",_("Attempt to recover private keys from a corrupt wallet.dat")+""+_("on startup"));
strUsage+=HelpMessageOpt("-salvagewallet",_("Attempt to recover private keys from a corrupt wallet.dat")+""+_("on startup"));
strUsage+=HelpMessageOpt("-sendfreetransactions",strprintf(_("Send transactions as zero-fee transactions if possible (default: %u)"),0));
strUsage+=HelpMessageOpt("-sendfreetransactions",strprintf(_("Send transactions as zero-fee transactions if possible (default: %u)"),0));
strUsage+=HelpMessageOpt("-spendzeroconfchange",strprintf(_("Spend unconfirmed change when sending transactions (default: %u)"),1));
strUsage+=HelpMessageOpt("-spendzeroconfchange",strprintf(_("Spend unconfirmed change when sending transactions (default: %u)"),1));
strUsage+=HelpMessageOpt("-txconfirmtarget=<n>",strprintf(_("If paytxfee is not set, include enough fee so transactions begin confirmation on average within n blocks (default: %u)"),DEFAULT_TX_CONFIRM_TARGET));
strUsage+=HelpMessageOpt("-txconfirmtarget=<n>",strprintf(_("If paytxfee is not set, include enough fee so transactions begin confirmation on average within n blocks (default: %u)"),DEFAULT_TX_CONFIRM_TARGET));
strUsage+=HelpMessageOpt("-maxtxfee=<amt>",strprintf(_("Maximum total fees to use in a single wallet transaction; setting this too low may abort large transactions (default: %s)"),
strUsage+=HelpMessageOpt("-maxtxfee=<amt>",strprintf(_("Maximum total fees (in %s) to use in a single wallet transaction; setting this too low may abort large transactions (default: %s)"),
FormatMoney(maxTxFee)));
CURRENCY_UNIT,FormatMoney(maxTxFee)));
strUsage+=HelpMessageOpt("-upgradewallet",_("Upgrade wallet to latest format")+""+_("on startup"));
strUsage+=HelpMessageOpt("-upgradewallet",_("Upgrade wallet to latest format")+""+_("on startup"));
strUsage+=HelpMessageOpt("-wallet=<file>",_("Specify wallet file (within data directory)")+""+strprintf(_("(default: %s)"),"wallet.dat"));
strUsage+=HelpMessageOpt("-wallet=<file>",_("Specify wallet file (within data directory)")+""+strprintf(_("(default: %s)"),"wallet.dat"));
strUsage+=HelpMessageOpt("-walletbroadcast",_("Make the wallet broadcast transactions")+""+strprintf(_("(default: %u)"),true));
strUsage+=HelpMessageOpt("-walletbroadcast",_("Make the wallet broadcast transactions")+""+strprintf(_("(default: %u)"),true));
strUsage+=HelpMessageOpt("-relaypriority",strprintf("Require high priority for relaying free or low-fee transactions (default: %u)",1));
strUsage+=HelpMessageOpt("-relaypriority",strprintf("Require high priority for relaying free or low-fee transactions (default: %u)",1));
strUsage+=HelpMessageOpt("-maxsigcachesize=<n>",strprintf("Limit size of signature cache to <n> entries (default: %u)",50000));
strUsage+=HelpMessageOpt("-maxsigcachesize=<n>",strprintf("Limit size of signature cache to <n> entries (default: %u)",50000));
}
}
strUsage+=HelpMessageOpt("-minrelaytxfee=<amt>",strprintf(_("Fees (in BTC/Kb) smaller than this are considered zero fee for relaying (default: %s)"),FormatMoney(::minRelayTxFee.GetFeePerK())));
strUsage+=HelpMessageOpt("-minrelaytxfee=<amt>",strprintf(_("Fees (in %s/kB) smaller than this are considered zero fee for relaying (default: %s)"),
"\"keypoololdest\": xxxxxx, (numeric) the timestamp (seconds since GMT epoch) of the oldest pre-generated key in the key pool\n"
"\"keypoololdest\": xxxxxx, (numeric) the timestamp (seconds since GMT epoch) of the oldest pre-generated key in the key pool\n"
"\"keypoolsize\": xxxx, (numeric) how many new keys are pre-generated\n"
"\"keypoolsize\": xxxx, (numeric) how many new keys are pre-generated\n"
"\"unlocked_until\": ttt, (numeric) the timestamp in seconds since epoch (midnight Jan 1 1970 GMT) that the wallet is unlocked for transfers, or 0 if the wallet is locked\n"
"\"unlocked_until\": ttt, (numeric) the timestamp in seconds since epoch (midnight Jan 1 1970 GMT) that the wallet is unlocked for transfers, or 0 if the wallet is locked\n"
"\"paytxfee\": x.xxxx, (numeric) the transaction fee set in btc/kb\n"
"\"paytxfee\": x.xxxx, (numeric) the transaction fee set in "+CURRENCY_UNIT+"/kB\n"
"\"relayfee\": x.xxxx, (numeric) minimum relay fee for non-free transactions in btc/kb\n"
"\"relayfee\": x.xxxx, (numeric) minimum relay fee for non-free transactions in "+CURRENCY_UNIT+"/kB\n"
"\"errors\": \"...\" (string) any error messages\n"
"\"errors\": \"...\" (string) any error messages\n"
"\"walletversion\": xxxxx, (numeric) the wallet version\n"
"\"walletversion\": xxxxx, (numeric) the wallet version\n"
"\"balance\": xxxxxxx, (numeric) the total confirmed bitcoin balance of the wallet\n"
"\"balance\": xxxxxxx, (numeric) the total confirmed balance of the wallet in "+CURRENCY_UNIT+"\n"
"\"unconfirmed_balance\": xxx, (numeric) the total unconfirmed bitcoin balance of the wallet\n"
"\"unconfirmed_balance\": xxx, (numeric) the total unconfirmed balance of the wallet in "+CURRENCY_UNIT+"\n"
"\"immature_balance\": xxxxxx, (numeric) the total immature balance of the wallet\n"
"\"immature_balance\": xxxxxx, (numeric) the total immature balance of the wallet in "+CURRENCY_UNIT+"\n"
"\"txcount\": xxxxxxx, (numeric) the total number of transactions in the wallet\n"
"\"txcount\": xxxxxxx, (numeric) the total number of transactions in the wallet\n"
"\"keypoololdest\": xxxxxx, (numeric) the timestamp (seconds since GMT epoch) of the oldest pre-generated key in the key pool\n"
"\"keypoololdest\": xxxxxx, (numeric) the timestamp (seconds since GMT epoch) of the oldest pre-generated key in the key pool\n"
"\"keypoolsize\": xxxx, (numeric) how many new keys are pre-generated\n"
"\"keypoolsize\": xxxx, (numeric) how many new keys are pre-generated\n"
"\"unlocked_until\": ttt, (numeric) the timestamp in seconds since epoch (midnight Jan 1 1970 GMT) that the wallet is unlocked for transfers, or 0 if the wallet is locked\n"
"\"unlocked_until\": ttt, (numeric) the timestamp in seconds since epoch (midnight Jan 1 1970 GMT) that the wallet is unlocked for transfers, or 0 if the wallet is locked\n"
"\"paytxfee\": x.xxxx, (numeric) the transaction fee configuration, set in btc/kb\n"
"\"paytxfee\": x.xxxx, (numeric) the transaction fee configuration, set in "+CURRENCY_UNIT+"/kB\n"