Crate commonware_p2p

Source
Expand description

Communicate with authenticated peers over encrypted connections.

§Status

commonware-p2p is ALPHA software and is not yet recommended for production use. Developers should expect breaking changes and occasional instability.

Modules§

  • Communicate with a fixed set of authenticated peers over encrypted connections.
  • Simulate networking between peers with configurable link behavior (i.e. drops, latency, corruption, etc.).

Enums§

  • Enum indicating the set of recipients to send a message to.

Traits§

  • Interface for receiving messages from arbitrary recipients.
  • Interface for sending messages to a set of recipients.

Type Aliases§

  • Alias for identifying communication channels.
  • Tuple representing a message received from a given public key.