pub fn new_mempool_notifier_listener_pair(
) -> (MempoolNotifier, MempoolNotificationListener)
Expand description

This method returns a (MempoolNotifier, MempoolNotificationListener) pair that can be used to allow state sync and mempool to communicate.

Note: state sync should take the notifier and mempool should take the listener.