Module types

Source
Expand description

Mixnet types used by both host and runtime.

Structs§

Mixnode
Information published on-chain for each mixnode every session.
SessionStatus
The index and phase of the current session.

Enums§

MixnodesErr
Error querying the runtime for a session’s mixnode set.
SessionPhase
Each session should progress through these phases in order.

Constants§

KX_PUBLIC_SIZE
Size in bytes of a KxPublic.

Type Aliases§

AuthorityId
Authority public session key, used to verify registration signatures.
AuthoritySignature
Authority signature, attached to mixnode registrations.
KxPublic
X25519 public key, used in key exchange between message senders and mixnodes. Mixnode public keys are published on-chain and change every session. Message senders generate a new key for every message they send.
PeerId
Ed25519 public key of a libp2p peer.
SessionIndex
Absolute session index.