Merge #7440: [0.12] Rename permitrbf to mempoolreplacement and provide minimal string-list forward compatibility
af9f564release-notes: Update for replacebyfee->mempoolreplacement rename (Luke Dashjr)4ad418bRename replacebyfee=opt-in to mempoolreplacement=fee (Luke Dashjr)b2287a7release-notes: Update for permitrbf->replacebyfee rename (Luke Dashjr)5f456a6Simplify check for replacebyfee=opt-in (Luke Dashjr)e8d19abAccept replacebyfee=opt-in for turning on opt-in RBF (Luke Dashjr)1205f87Rename permitrbf to replacebyfee (Luke Dashjr)
This commit is contained in:
@@ -75,7 +75,7 @@ bool fCheckpointsEnabled = DEFAULT_CHECKPOINTS_ENABLED;
|
||||
size_t nCoinCacheUsage = 5000 * 300;
|
||||
uint64_t nPruneTarget = 0;
|
||||
bool fAlerts = DEFAULT_ALERTS;
|
||||
bool fPermitReplacement = DEFAULT_PERMIT_REPLACEMENT;
|
||||
bool fEnableReplacement = DEFAULT_ENABLE_REPLACEMENT;
|
||||
|
||||
/** Fees smaller than this (in satoshi) are considered zero fee (for relaying, mining and transaction creation) */
|
||||
CFeeRate minRelayTxFee = CFeeRate(DEFAULT_MIN_RELAY_TX_FEE);
|
||||
@@ -866,7 +866,7 @@ bool AcceptToMemoryPoolWorker(CTxMemPool& pool, CValidationState &state, const C
|
||||
// unconfirmed ancestors anyway; doing otherwise is hopelessly
|
||||
// insecure.
|
||||
bool fReplacementOptOut = true;
|
||||
if (fPermitReplacement)
|
||||
if (fEnableReplacement)
|
||||
{
|
||||
BOOST_FOREACH(const CTxIn &txin, ptxConflicting->vin)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user