gossip sync: sync with random 20 peers per cycle instead of all peers

This commit is contained in:
lichenblankie 2026-06-05 01:58:32 +00:00
parent 38d594ac50
commit 4b98779122
3 changed files with 15 additions and 2 deletions

View file

@ -47,6 +47,8 @@ All moderation is local — you control your view:
- Forum instances auto-discover each other via RNS announces
- Content is exchanged as JSON over RNS links every 5 minutes
- Peer discovery propagates through gossip — each instance shares its known peers
- At scale (>20 peers), sync uses random gossip: each cycle picks 20 random peers instead of all peers
- This ensures content converges epidemically regardless of network size (content reaches all nodes within ~O(log N) cycles)
- Block lists and retractions are gossiped alongside content
- Only new/updated content is transferred (timestamp-based)
- Auto-discovery can be disabled in the moderation page