Module diem_mempool::network
source · Expand description
Interface between Mempool and Network layers.
Structs
- The interface from Mempool to Networking layer.
Enums
- Container for exchanging transactions with other Mempools.
Constants
- Protocol id for mempool direct-send calls.
Functions
- Create a new Sender that only sends for the
MEMPOOL_DIRECT_SEND_PROTOCOL
ProtocolId and a Receiver (Events) that explicitly returns only said ProtocolId..
Type Definitions
- The interface from Network to Mempool layer.