Expand description
Wire protocol for room discovery and message broadcast.
Two gossipsub topics:
ROOMS_TOPIC— global, every node subscribes. Used for room advertisements (so all peers see “rooms in this network”).format!("{ROOM_TOPIC_PREFIX}{room_id}")— per-room. Only members of a room subscribe. All room messages flow here.
Structs§
- Room
Announcement - Broadcast on the global ROOMS_TOPIC. Each peer republishes the rooms they’re currently in, periodically. Listeners maintain a cache with TTL.
Enums§
- Room
Message - All messages on a room’s per-room topic.