mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-28 04:52:36 +02:00
Advertise temporary REPLACE_BY_FEE service bit (when appropriate)
This commit is contained in:
parent
a7594a61e4
commit
430f823a64
@ -1505,6 +1505,10 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
|
||||
LogPrintf("* Flushing caches if available system memory drops below %s MiB\n", util::g_low_memory_threshold / 1024 / 1024);
|
||||
}
|
||||
|
||||
if (mempool_opts.full_rbf) {
|
||||
nLocalServices = ServiceFlags(nLocalServices | NODE_REPLACE_BY_FEE);
|
||||
}
|
||||
|
||||
for (bool fLoaded = false; !fLoaded && !ShutdownRequested();) {
|
||||
node.mempool = std::make_unique<CTxMemPool>(mempool_opts);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user