Module libp2p_networking::network

source ·
Expand description

Network logic

Modules§

  • networking behaviours wrapping libp2p’s behaviours
  • Forked cbor codec with altered request/response sizes
  • def 🔒
    defines the swarm and network definition (internal)
  • node 🔒
    functionality of a libp2p network node
  • Alternative Libp2p transport implementations

Structs§

Enums§

Constants§

Functions§

  • Bind all interfaces on port port NOTE we may want something more general in the fture.
  • Generates an authenticated transport checked against the stake table. If the stake table or authentication message is not provided, the transport will not participate in stake table authentication.
  • Spawn a network node task task and return the handle and the receiver for it

Type Aliases§

  • BoxedTransport is a type alias for a boxed tuple containing a PeerId and a StreamMuxerBox.