Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 763 Lines • ▼ Show 20 Lines | #endif | ||||
strUsage += HelpMessageOpt( | strUsage += HelpMessageOpt( | ||||
"-minrelaytxfee=<amt>", | "-minrelaytxfee=<amt>", | ||||
strprintf( | strprintf( | ||||
_("Fees (in %s/kB) smaller than this are considered zero fee for " | _("Fees (in %s/kB) smaller than this are considered zero fee for " | ||||
"relaying, mining and transaction creation (default: %s)"), | "relaying, mining and transaction creation (default: %s)"), | ||||
CURRENCY_UNIT, FormatMoney(DEFAULT_MIN_RELAY_TX_FEE_PER_KB))); | CURRENCY_UNIT, FormatMoney(DEFAULT_MIN_RELAY_TX_FEE_PER_KB))); | ||||
strUsage += HelpMessageOpt( | strUsage += HelpMessageOpt( | ||||
"-maxtxfee=<amt>", | "-maxtxfee=<amt>", | ||||
strprintf(_("Maximum total fees (in %s) to use in a single wallet " | strprintf(_("Maximum total fees (in %s/kB) to use in a single wallet " | ||||
"transaction or raw transaction; setting this too low may " | "transaction or raw transaction; setting this too low may " | ||||
"abort large transactions (default: %s)"), | "abort large transactions (default: %s)"), | ||||
CURRENCY_UNIT, FormatMoney(DEFAULT_TRANSACTION_MAXFEE))); | CURRENCY_UNIT, | ||||
FormatMoney(DEFAULT_TRANSACTION_MAXFEE_PER_KB))); | |||||
strUsage += HelpMessageOpt( | strUsage += HelpMessageOpt( | ||||
"-printtoconsole", | "-printtoconsole", | ||||
_("Send trace/debug info to console instead of debug.log file")); | _("Send trace/debug info to console instead of debug.log file")); | ||||
if (showDebug) { | if (showDebug) { | ||||
strUsage += HelpMessageOpt( | strUsage += HelpMessageOpt( | ||||
"-printpriority", strprintf("Log transaction priority and fee per " | "-printpriority", strprintf("Log transaction priority and fee per " | ||||
"kB when mining blocks (default: %d)", | "kB when mining blocks (default: %d)", | ||||
DEFAULT_PRINTPRIORITY)); | DEFAULT_PRINTPRIORITY)); | ||||
▲ Show 20 Lines • Show All 863 Lines • ▼ Show 20 Lines | #endif | ||||
if (chainparams.RequireStandard() && !fRequireStandard) { | if (chainparams.RequireStandard() && !fRequireStandard) { | ||||
return InitError( | return InitError( | ||||
strprintf("acceptnonstdtxn is not currently supported for %s chain", | strprintf("acceptnonstdtxn is not currently supported for %s chain", | ||||
chainparams.NetworkIDString())); | chainparams.NetworkIDString())); | ||||
} | } | ||||
nBytesPerSigOp = gArgs.GetArg("-bytespersigop", nBytesPerSigOp); | nBytesPerSigOp = gArgs.GetArg("-bytespersigop", nBytesPerSigOp); | ||||
#ifdef ENABLE_WALLET | #ifdef ENABLE_WALLET | ||||
if (!WalletParameterInteraction()) { | if (!WalletParameterInteraction(config)) { | ||||
return false; | return false; | ||||
} | } | ||||
#endif | #endif | ||||
fIsBareMultisigStd = | fIsBareMultisigStd = | ||||
gArgs.GetBoolArg("-permitbaremultisig", DEFAULT_PERMIT_BAREMULTISIG); | gArgs.GetBoolArg("-permitbaremultisig", DEFAULT_PERMIT_BAREMULTISIG); | ||||
fAcceptDatacarrier = | fAcceptDatacarrier = | ||||
gArgs.GetBoolArg("-datacarrier", DEFAULT_ACCEPT_DATACARRIER); | gArgs.GetBoolArg("-datacarrier", DEFAULT_ACCEPT_DATACARRIER); | ||||
▲ Show 20 Lines • Show All 694 Lines • Show Last 20 Lines |