Expand description
Mixnet types used by both host and runtime.
Structs§
- Mixnode
- Information published on-chain for each mixnode every session.
- Session
Status - The index and phase of the current session.
Enums§
- Mixnodes
Err - Error querying the runtime for a session’s mixnode set.
- Session
Phase - Each session should progress through these phases in order.
Constants§
- KX_
PUBLIC_ SIZE - Size in bytes of a
KxPublic
.
Type Aliases§
- Authority
Id - Authority public session key, used to verify registration signatures.
- Authority
Signature - 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.
- Session
Index - Absolute session index.