This commit adds a mempool notifier which notifies the subscriber the spending event found in the mempool for a given input.