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 groupsPeerId: 32-byte peer identifier derived from ML-DSA public key- Wire format types for network messages
Structs§
- Foaf
Query - FOAF (Friend-of-a-Friend) query message
- Foaf
Response - FOAF query response
- Message
Header - 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]
- Presence
Record - Presence record (MLS-encrypted)
- TopicId
- 32-byte topic identifier, one per MLS group
Enums§
- Message
Kind - Message kind enumeration for wire protocol