Type Definition diem_mempool::network::MempoolNetworkEvents
source · pub type MempoolNetworkEvents = NetworkEvents<MempoolSyncMsg>;Expand description
The interface from Network to Mempool layer.
MempoolNetworkEvents is a Stream of PeerManagerNotification where the
raw Bytes direct-send and rpc messages are deserialized into
MempoolMessage types. MempoolNetworkEvents is a thin wrapper around an
channel::Receiver<PeerManagerNotification>.