Module sp_mixnet::types

source ·
Expand description

Mixnet types used by both host and runtime.

Structs§

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

Enums§

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

Constants§

Type Aliases§

  • Authority public session key, used to verify registration signatures.
  • Authority signature, attached to mixnode registrations.
  • 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.
  • Ed25519 public key of a libp2p peer.
  • Absolute session index.