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("-keypool=<n>",strprintf(_("Set key pool size to <n> (default: %u)"),100));
if(showDebug)
strUsage+=HelpMessageOpt("-mintxfee=<amt>",strprintf("Fees (in BTC/Kb) smaller than this are considered zero fee for transaction creation (default: %s)",
FormatMoney(CWallet::minTxFee.GetFeePerK())));
strUsage+=HelpMessageOpt("-paytxfee=<amt>",strprintf(_("Fee (in BTC/kB) to add to transactions you send (default: %s)"),FormatMoney(payTxFee.GetFeePerK())));
strUsage+=HelpMessageOpt("-rescan",_("Rescan the blockchain for missing wallet transactions")+""+_("on startup"));
strUsage+=HelpMessageOpt("-mintxfee=<amt>",strprintf("Fees (in %s/kB) smaller than this are considered zero fee for transaction creation (default: %s)",
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("-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("-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)"),
FormatMoney(maxTxFee)));
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)"),
CURRENCY_UNIT,FormatMoney(maxTxFee)));
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("-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)",0));
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"
"\"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"
"\"paytxfee\": x.xxxx, (numeric) the transaction fee set in btc/kb\n"
"\"relayfee\": x.xxxx, (numeric) minimum relay fee for non-free transactions 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 "+CURRENCY_UNIT+"/kB\n"
"\"errors\": \"...\" (string) any error messages\n"
"1. \"account\" (string, required) MUST be set to the empty string \"\" to represent the default account. Passing any other string will result in an error.\n"
"2. minconf (numeric, optional, default=1) Only include transactions confirmed at least this many times.\n"
"\nResult:\n"
"amount (numeric) The total amount in btc received for this account.\n"
"amount (numeric) The total amount in "+CURRENCY_UNIT+" received for this account.\n"
"\nExamples:\n"
"\nAmount received by the default account with at least 1 confirmation\n"
"1. \"fromaccount\" (string, required) MUST be set to the empty string \"\" to represent the default account. Passing any other string will result in an error.\n"
"2. \"toaccount\" (string, required) MUST be set to the empty string \"\" to represent the default account. Passing any other string will result in an error.\n"
"3. minconf (numeric, optional, default=1) Only use funds with at least this many confirmations.\n"
"4. \"comment\" (string, optional) An optional comment, stored in the wallet only.\n"
"3. amount (numeric) Quantity of "+CURRENCY_UNIT+" to move between accounts.\n"
"4. minconf (numeric, optional, default=1) Only use funds with at least this many confirmations.\n"
"5. \"comment\" (string, optional) An optional comment, stored in the wallet only.\n"
"\nResult:\n"
"true|false (boolean) true if successful.\n"
"\nExamples:\n"
"\nMove 0.01 btc from the default account to the account named tabby\n"
"\nMove 0.01 "+CURRENCY_UNIT+" from the default account to the account named tabby\n"
+HelpExampleCli("move","\"\"\"tabby\" 0.01")+
"\nMove 0.01 btc timotei to akiko with a comment and funds have 6 confirmations\n"
"\nMove 0.01 "+CURRENCY_UNIT+" timotei to akiko with a comment and funds have 6 confirmations\n"
"1. \"fromaccount\" (string, required) MUST be set to the empty string \"\" to represent the default account. Passing any other string will result in an error.\n"
"2. \"tozcashaddress\" (string, required) The zcash address to send funds to.\n"
"3. amount (numeric, required) The amount in btc. (transaction fee is added on top).\n"
"3. amount (numeric, required) The amount in "+CURRENCY_UNIT+" (transaction fee is added on top).\n"
"4. minconf (numeric, optional, default=1) Only use funds with at least this many confirmations.\n"
"5. \"comment\" (string, optional) A comment used to store what the transaction is for. \n"
" This is not part of the transaction, just kept in your wallet.\n"
"1. \"fromaccount\" (string, required) MUST be set to the empty string \"\" to represent the default account. Passing any other string will result in an error.\n"
"2. \"amounts\" (string, required) A json object with addresses and amounts\n"
" {\n"
"\"address\":amount (numeric) The zcash address is the key, the numeric amount in btc is the value\n"
"\"address\":amount (numeric) The zcash address is the key, the numeric amount in "+CURRENCY_UNIT+" is the value\n"
" ,...\n"
" }\n"
"3. minconf (numeric, optional, default=1) Only use the balance confirmed at least this many times.\n"
"\"walletversion\": xxxxx, (numeric) the wallet version\n"
"\"balance\": xxxxxxx, (numeric) the total confirmed zcash balance of the wallet\n"
"\"unconfirmed_balance\": xxx, (numeric) the total unconfirmed zcash balance of the wallet\n"
"\"immature_balance\": xxxxxx, (numeric) the total immature 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 balance of the wallet in "+CURRENCY_UNIT+"\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"
"\"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"
"\"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 ZEC/KB\n"
"\"paytxfee\": x.xxxx, (numeric) the transaction fee configuration, set in "+CURRENCY_UNIT+"/kB\n"