Crate hopr_transport_protocol

Crate hopr_transport_protocol 

Source
Expand description

Collection of objects and functionality allowing building of p2p or stream protocols for the higher business logic layers.

§Contents

Supported protocol configurations:

  • mix
  • ack
  • heartbeat

Modules§

errors
Errors produced by the crate.
heartbeat
heartbeat p2p protocol
stream
Stream processing utilities Infrastructure supporting converting a collection of [PeerId] split libp2p_stream managed individual peer-to-peer libp2p::swarm::Streams.

Structs§

AcknowledgementPipelineConfig
Configuration for the acknowledgement processing pipeline.

Enums§

PacketPipelineProcesses
PeerDiscovery
Processed indexer generated events.
TicketEvent
Ticket events emitted from the packet processing pipeline.

Constants§

CURRENT_HOPR_MSG_PROTOCOL

Functions§

run_packet_pipeline
Run all processes responsible for handling the msg and acknowledgment protocols.

Type Aliases§

HoprBinaryCodec