Permalink
Browse files

Policy: Adjust default transaction replacement mode to full RBF

  • Loading branch information...
luke-jr committed Mar 22, 2018
1 parent 706edc4 commit 61fae13df16b84f691d06abb3cdfdc0c1f6e34a0
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/init.cpp
  2. +1 −1 src/validation.h
@@ -1098,7 +1098,7 @@ bool AppInitParameterInteraction()
boost::split(vstrReplacementModes, strReplacementModeList, boost::is_any_of(",+"));
fEnableReplacement = (std::find(vstrReplacementModes.begin(), vstrReplacementModes.end(), "fee") != vstrReplacementModes.end());
if (fEnableReplacement) {
fReplacementHonourOptOut = (std::find(vstrReplacementModes.begin(), vstrReplacementModes.end(), "-optin") == vstrReplacementModes.end());
fReplacementHonourOptOut = (std::find(vstrReplacementModes.begin(), vstrReplacementModes.end(), "optin") != vstrReplacementModes.end());
if (!fReplacementHonourOptOut) {
nLocalServices = ServiceFlags(nLocalServices | NODE_REPLACE_BY_FEE);
}
@@ -135,7 +135,7 @@ static const unsigned int DEFAULT_BANSCORE_THRESHOLD = 100;
static const bool DEFAULT_PERSIST_MEMPOOL = true;
/** Default for -mempoolreplacement */
static const bool DEFAULT_ENABLE_REPLACEMENT = true;
static const bool DEFAULT_REPLACEMENT_HONOUR_OPTOUT = true;
static const bool DEFAULT_REPLACEMENT_HONOUR_OPTOUT = false;
/** Default for using fee filter */
static const bool DEFAULT_FEEFILTER = true;

0 comments on commit 61fae13

Please sign in to comment.