Crate saorsa_gossip_types

Crate saorsa_gossip_types 

Source
Expand description

Core types for Saorsa Gossip overlay network

This crate provides the fundamental types used throughout the gossip overlay:

  • TopicId: 32-byte topic identifier for MLS groups
  • PeerId: 32-byte peer identifier derived from ML-DSA public key
  • Wire format types for network messages

Structs§

FoafQuery
FOAF (Friend-of-a-Friend) query message
FoafResponse
FOAF query response
MessageHeader
Wire format header for control frames (ML-DSA signed) Format: ver:u8, topic:[u8;32], msg_id:[u8;32], kind:u8, hop:u8, ttl:u8
PeerId
32-byte peer identifier: BLAKE3(ML-DSA pubkey)[:32]
PresenceRecord
Presence record (MLS-encrypted)
TopicId
32-byte topic identifier, one per MLS group

Enums§

MessageKind
Message kind enumeration for wire protocol