aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
author251 <13120787+l2a5b1@users.noreply.github.com>2019-07-23 23:47:17 +0200
committer251 <13120787+l2a5b1@users.noreply.github.com>2019-11-21 21:05:38 +0100
commite20c72f9f076681def325b5b5fa53bccda2b0eab (patch)
treef88c796738d7379600782ac143e24a0f922fca45 /src/init.cpp
parent69a6f1ad1f7ca52b2524ab8322bfa89a9b0ee61b (diff)
downloadbitcoin-e20c72f9f076681def325b5b5fa53bccda2b0eab.tar.xz
Fire TransactionRemovedFromMempool from mempool
This commit fires TransactionRemovedFromMempool callbacks from the mempool and cleans up a bunch of code.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 60209eb60a..e7dda59590 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -281,7 +281,6 @@ void Shutdown(NodeContext& node)
node.chain_clients.clear();
UnregisterAllValidationInterfaces();
GetMainSignals().UnregisterBackgroundSignalScheduler();
- GetMainSignals().UnregisterWithMempoolSignals(mempool);
globalVerifyHandle.reset();
ECC_Stop();
if (node.mempool) node.mempool = nullptr;
@@ -1263,7 +1262,6 @@ bool AppInitMain(NodeContext& node)
}, 60000);
GetMainSignals().RegisterBackgroundSignalScheduler(scheduler);
- GetMainSignals().RegisterWithMempoolSignals(mempool);
// Create client interfaces for wallets that are supposed to be loaded
// according to -wallet and -disablewallet options. This only constructs