Module behaviour

Module behaviour 

Source
Expand description

Combined libp2p NetworkBehaviour for BillPouch.

Stack: • Gossipsub — flooding broadcast for NodeInfo announcements • Kademlia — DHT for peer discovery and content addressing • Identify — exchange protocol version and listen addresses • mDNS — local-network peer discovery (zero-config) • RequestResponse — direct fragment fetch/push between Pouches • AutoNAT — detect public reachability from the internet • RelayClient — dial peers through a relay when behind NAT

Structs§

BillPouchBehaviour
Single combined behaviour injected into the libp2p Swarm.

Enums§

BillPouchBehaviourEvent
NetworkBehaviour::ToSwarm produced by BillPouchBehaviour.
FragmentRequest
Request sent between Pouch nodes for fragment operations.
FragmentResponse
Response to a fragment request.