Module hotshot::traits::networking::libp2p_network
source · Expand description
Libp2p based/production networking implementation This module provides a libp2p based networking implementation where each node in the network forms a tcp or udp connection to a subset of other nodes in the network
Structs§
- Stubbed out Ack
- Configuration for Libp2p’s Gossipsub
- Libp2p-specific metrics
- Networking implementation that uses libp2p generic over
M
which is the message type - The underlying state of the libp2p network
Constants§
- hardcoded topic of QC used
Functions§
- Derive a Libp2p keypair from a given private key
- Derive a Libp2p Peer ID from a given private key
Type Aliases§
- convenience alias for the type for bootstrap addresses concurrency primitives are needed for having tests
- Type alias for a shared collection of peerid, multiaddrs