[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.
This commit is contained in:
John Newbery
2019-11-11 10:53:03 -05:00
parent 2dd561f361
commit e57980b473
4 changed files with 4 additions and 8 deletions

View File

@@ -37,6 +37,8 @@
#include <univalue.h>
#include <boost/signals2/signal.hpp>
class CWallet;
fs::path GetWalletDir();
std::vector<fs::path> ListWalletDir();