Expand description
Collection of objects and functionality allowing building of p2p or stream protocols for the higher business logic layers.
§Contents
Supported protocol configurations:
mixackheartbeat
Re-exports§
pub use counters::PeerProtocolCounterRegistry;pub use counters::PeerProtocolCounters;
Modules§
- codec 🔒
- Coder and decoder for the transport binary protocol layer
- counters
- Per-peer protocol conformance counters.
- errors
- Errors produced by the crate.
- heartbeat
heartbeatp2p protocol- pipeline 🔒
- Packet pipeline for the HOPR protocol.
- stream
- Stream processing utilities
Infrastructure supporting converting a collection of [
PeerId] splitlibp2p_streammanaged individual peer-to-peerlibp2p::swarm::Streams.
Structs§
- Acknowledgement
Pipeline Config - Configuration for the acknowledgement processing pipeline.
- Packet
Pipeline Config - Overall configuration of the input/output packet processing pipeline.
Enums§
Constants§
Functions§
- run_
packet_ pipeline - Run all processes responsible for handling the msg and acknowledgment protocols.