Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 1,465 Lines • ▼ Show 20 Lines | #endif | ||||
// Fee-per-kilobyte amount considered the same as "free". If you are mining, | // Fee-per-kilobyte amount considered the same as "free". If you are mining, | ||||
// be careful setting this: if you set it to zero then a transaction spammer | // be careful setting this: if you set it to zero then a transaction spammer | ||||
// can cheaply fill blocks using 1-satoshi-fee transactions. It should be | // can cheaply fill blocks using 1-satoshi-fee transactions. It should be | ||||
// set above the real cost to you of processing a transaction. | // set above the real cost to you of processing a transaction. | ||||
if (IsArgSet("-minrelaytxfee")) { | if (IsArgSet("-minrelaytxfee")) { | ||||
Amount n(0); | Amount n(0); | ||||
auto parsed = ParseMoney(GetArg("-minrelaytxfee", ""), n); | auto parsed = ParseMoney(GetArg("-minrelaytxfee", ""), n); | ||||
if (!parsed || Amount(0) == n) | if (!parsed) | ||||
deadalnix: So this parameter sets what is considered to be zero fee. It sounds like this can be a changed… | |||||
sickpigUnsubmitted Not Done Inline ActionsAgreed going to submit on another diff sickpig: Agreed going to submit on another diff | |||||
return InitError( | return InitError( | ||||
AmountErrMsg("minrelaytxfee", GetArg("-minrelaytxfee", ""))); | AmountErrMsg("minrelaytxfee", GetArg("-minrelaytxfee", ""))); | ||||
// High fee check is done afterward in CWallet::ParameterInteraction() | // High fee check is done afterward in CWallet::ParameterInteraction() | ||||
::minRelayTxFee = CFeeRate(n); | ::minRelayTxFee = CFeeRate(n); | ||||
} else if (incrementalRelayFee > ::minRelayTxFee) { | } else if (incrementalRelayFee > ::minRelayTxFee) { | ||||
// Allow only setting incrementalRelayFee to control both | // Allow only setting incrementalRelayFee to control both | ||||
::minRelayTxFee = incrementalRelayFee; | ::minRelayTxFee = incrementalRelayFee; | ||||
LogPrintf( | LogPrintf( | ||||
▲ Show 20 Lines • Show All 745 Lines • Show Last 20 Lines |
So this parameter sets what is considered to be zero fee. It sounds like this can be a changed on its own and is not dependent on the change of other parameters.