aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/node.cpp
diff options
context:
space:
mode:
authorJohn Newbery <[email protected]>2019-11-11 10:53:03 -0500
committerJohn Newbery <[email protected]>2020-03-11 18:38:33 -0400
commite57980b4738c10344baf136de3e050a3cb958ca5 (patch)
tree82c05099fba7de2fb55d62147612b2ca6ddcb3c1 /src/interfaces/node.cpp
parent[validation] Remove pool member from ConnectTrace (diff)
downloaddiscoin-e57980b4738c10344baf136de3e050a3cb958ca5.tar.xz
discoin-e57980b4738c10344baf136de3e050a3cb958ca5.zip
[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/node.cpp')
-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 8a64a9d26..b720a6301 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();