pub use FaultyPeer;
pub use PeerId;
pub use ProtocolInfo;
pub use SessionId;
/// Arbitrary numerical identifier for peers running a circuit. Chosen by the circuit
/// constructor. Allows assymetric behaviour in protocols / circuits.
///
/// WARNING: This does not (necessarily) match the `PeerId` ordering!
pub type PeerNumber = u16;
/// Local numerical identifier for other peers in my cluster. Stems from the lexicographic
/// ordering of all the peer ids in the network. Used to index arrays containing elements
/// (e.g., keys) for all other peer numbers in order.
pub type PeerIndex = usize;