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
This concludes backport of Core PR17477 [6/6]
Depends on D8867
Note: See D6451 for why NotifyEntryRemoved has to be removed twice. It was probably duplicated by mistake.