aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2019-11-11 10:53:03 -0500
committerJohn Newbery <john@johnnewbery.com>2020-03-11 18:38:33 -0400
commite57980b4738c10344baf136de3e050a3cb958ca5 (patch)
tree82c05099fba7de2fb55d62147612b2ca6ddcb3c1 /src/interfaces
parent2dd561f36124972d2364f941de9c3417c65f05b6 (diff)
downloadbitcoin-e57980b4738c10344baf136de3e050a3cb958ca5.tar.xz
[mempool] Remove NotifyEntryAdded and NotifyEntryRemoved callbacks
NotifyEntryAdded never had any subscribers so can be removed. Since ConnectTrace no longer subscribes to NotifyEntryRemoved, there are now no subscribers. The CValidationInterface TransactionAddedToMempool and TransactionRemovedFromMempool methods can now provide this functionality. There's no need for a special notifications framework for the mempool.
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/node.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interfaces/node.cpp b/src/interfaces/node.cpp
index 8a64a9d26a..b720a63017 100644
--- a/src/interfaces/node.cpp
+++ b/src/interfaces/node.cpp
@@ -37,6 +37,8 @@
#include <univalue.h>
+#include <boost/signals2/signal.hpp>
+
class CWallet;
fs::path GetWalletDir();
std::vector<fs::path> ListWalletDir();