Type Alias SessionId

Source
pub type SessionId = PubKey;
Expand description

Overlay session ID

It is a pubkey used for signing all OverlayMessage sent by the peer. Each peer generates it randomly when (re)joining the overlay network.

Aliased Type§

pub enum SessionId {
    Ed25519PubKey([u8; 32]),
    X25519PubKey([u8; 32]),
}

Variants§

§

Ed25519PubKey([u8; 32])

§

X25519PubKey([u8; 32])