Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 1,577 Lines • ▼ Show 20 Lines | #endif | ||||
// set above the real cost to you of processing a transaction. | // set above the real cost to you of processing a transaction. | ||||
if (gArgs.IsArgSet("-minrelaytxfee")) { | if (gArgs.IsArgSet("-minrelaytxfee")) { | ||||
Amount n(0); | Amount n(0); | ||||
auto parsed = ParseMoney(gArgs.GetArg("-minrelaytxfee", ""), n); | auto parsed = ParseMoney(gArgs.GetArg("-minrelaytxfee", ""), n); | ||||
if (!parsed || Amount(0) == n) | if (!parsed || Amount(0) == n) | ||||
return InitError(AmountErrMsg("minrelaytxfee", | return InitError(AmountErrMsg("minrelaytxfee", | ||||
gArgs.GetArg("-minrelaytxfee", ""))); | gArgs.GetArg("-minrelaytxfee", ""))); | ||||
// High fee check is done afterward in CWallet::ParameterInteraction() | // High fee check is done afterward in CWallet::ParameterInteraction() | ||||
::minRelayTxFee = CFeeRate(n); | config.SetMinFeePerKB(CFeeRate(n)); | ||||
} else if (incrementalRelayFee > ::minRelayTxFee) { | } else { | ||||
deadalnix: Why is that condition removed ? | |||||
schancelAuthorUnsubmitted Not Done Inline ActionsBecause this is some crap associated with RBF that was never removed. Also, I added D1174 as a dependency. schancel: Because this is some crap associated with RBF that was never removed. Also, I added D1174 as a… | |||||
// Allow only setting incrementalRelayFee to control both | config.SetMinFeePerKB(CFeeRate(DEFAULT_MIN_RELAY_TX_FEE)); | ||||
::minRelayTxFee = incrementalRelayFee; | |||||
LogPrintf( | |||||
"Increasing minrelaytxfee to %s to match incrementalrelayfee\n", | |||||
::minRelayTxFee.ToString()); | |||||
deadalnixUnsubmitted Not Done Inline ActionsWhy is that log removed ? This doesn't seems covered by the test plan nor justified anywhere. deadalnix: Why is that log removed ? This doesn't seems covered by the test plan nor justified anywhere. | |||||
} | } | ||||
// Sanity check argument for min fee for including tx in block | // Sanity check argument for min fee for including tx in block | ||||
// TODO: Harmonize which arguments need sanity checking and where that | // TODO: Harmonize which arguments need sanity checking and where that | ||||
// happens. | // happens. | ||||
if (gArgs.IsArgSet("-blockmintxfee")) { | if (gArgs.IsArgSet("-blockmintxfee")) { | ||||
Amount n(0); | Amount n(0); | ||||
if (!ParseMoney(gArgs.GetArg("-blockmintxfee", ""), n)) | if (!ParseMoney(gArgs.GetArg("-blockmintxfee", ""), n)) | ||||
▲ Show 20 Lines • Show All 726 Lines • Show Last 20 Lines |
Why is that condition removed ?