Merge #7431: Rename permitrbf to mempoolreplacement and provide minimal string-list forward compatibility (needs 0.12 backport)
b922fbeRename replacebyfee=opt-in to mempoolreplacement=fee (Luke Dashjr)3b66e54Simplify check for replacebyfee=opt-in (Luke Dashjr)d65dee9Accept replacebyfee=opt-in for turning on opt-in RBF (Luke Dashjr)77b55a0Rename permitrbf to replacebyfee (Luke Dashjr)
This commit is contained in:
@@ -115,8 +115,8 @@ static const bool DEFAULT_TXINDEX = false;
|
||||
static const unsigned int DEFAULT_BANSCORE_THRESHOLD = 100;
|
||||
|
||||
static const bool DEFAULT_TESTSAFEMODE = false;
|
||||
/** Default for -permitrbf */
|
||||
static const bool DEFAULT_PERMIT_REPLACEMENT = true;
|
||||
/** Default for -mempoolreplacement */
|
||||
static const bool DEFAULT_ENABLE_REPLACEMENT = true;
|
||||
|
||||
/** Maximum number of headers to announce when relaying blocks with headers message.*/
|
||||
static const unsigned int MAX_BLOCKS_TO_ANNOUNCE = 8;
|
||||
@@ -153,7 +153,7 @@ extern CAmount maxTxFee;
|
||||
extern bool fAlerts;
|
||||
/** If the tip is older than this (in seconds), the node is considered to be in initial block download. */
|
||||
extern int64_t nMaxTipAge;
|
||||
extern bool fPermitReplacement;
|
||||
extern bool fEnableReplacement;
|
||||
|
||||
/** Best header we've seen so far (used for getheaders queries' starting points). */
|
||||
extern CBlockIndex *pindexBestHeader;
|
||||
|
||||
Reference in New Issue
Block a user