Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 649 Lines • ▼ Show 20 Lines | gArgs.AddArg("-whitelist=<IP address or network>", | ||||
"1.2.3.4) or CIDR notated network (e.g. 1.2.3.0/24). Can be " | "1.2.3.4) or CIDR notated network (e.g. 1.2.3.0/24). Can be " | ||||
"specified multiple times.") + | "specified multiple times.") + | ||||
" " + | " " + | ||||
_("Whitelisted peers cannot be DoS banned and their " | _("Whitelisted peers cannot be DoS banned and their " | ||||
"transactions are always relayed, even if they are " | "transactions are always relayed, even if they are " | ||||
"already in the mempool, useful e.g. for a gateway"), | "already in the mempool, useful e.g. for a gateway"), | ||||
false, OptionsCategory::CONNECTION); | false, OptionsCategory::CONNECTION); | ||||
gArgs.AddArg( | 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=<n>", | "-maxuploadtarget=<n>", | ||||
strprintf(_("Tries to keep outbound traffic under the given target (in " | strprintf(_("Tries to keep outbound traffic under the given target (in " | ||||
"MiB per 24h), 0 = no limit (default: %d)"), | "MiB per 24h), 0 = no limit (default: %d)"), | ||||
DEFAULT_MAX_UPLOAD_TARGET), | DEFAULT_MAX_UPLOAD_TARGET), | ||||
false, OptionsCategory::CONNECTION); | false, OptionsCategory::CONNECTION); | ||||
g_wallet_init_interface.AddWalletOptions(); | g_wallet_init_interface.AddWalletOptions(); | ||||
▲ Show 20 Lines • Show All 201 Lines • ▼ Show 20 Lines | gArgs.AddArg("-datacarriersize", | ||||
false, OptionsCategory::NODE_RELAY); | false, OptionsCategory::NODE_RELAY); | ||||
gArgs.AddArg( | gArgs.AddArg( | ||||
"-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)), | ||||
false, OptionsCategory::NODE_RELAY); | 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. | // Not sure this really belongs here, but it will do for now. | ||||
// FIXME: This doesn't work anyways. | // FIXME: This doesn't work anyways. | ||||
gArgs.AddArg("-excessutxocharge=<amt>", | gArgs.AddArg("-excessutxocharge=<amt>", | ||||
strprintf(_("Fees (in %s/kB) to charge per utxo created for " | strprintf(_("Fees (in %s/kB) to charge per utxo created for " | ||||
"relaying, and mining (default: %s)"), | "relaying, and mining (default: %s)"), | ||||
CURRENCY_UNIT, FormatMoney(DEFAULT_UTXO_FEE)), | CURRENCY_UNIT, FormatMoney(DEFAULT_UTXO_FEE)), | ||||
true, OptionsCategory::NODE_RELAY); | true, OptionsCategory::NODE_RELAY); | ||||
▲ Show 20 Lines • Show All 1,570 Lines • Show Last 20 Lines |