Seeding nodes for Mempool selection using Gossip Protocols
Background and Requirements
In a large peer-to-peer network (100k+ nodes) with mixed honest and malicious participants (≥51% honest), gossip protocols can spread trust information in an epidemic fashion. Each node maintains a personal list of trusted peers (e.g., their certificates/IDs). When a node decides a once-trusted peer is malicious or untrustworthy, it removes that peer and gossips this change to others.
Over time, the network should eventually converge on a common set of trustworthy nodes (a “certificate list”) that honest nodes use as a baseline.
Key Requirements:
- Scalability: Efficient communication across ≥100,000 nodes
- Eventual Consistency: Probabilistic or eventual convergence of trust state
- Cryptographic Verification: Signed messages and authenticated updates
- Adversarial Resilience: Resistance to Sybil and Eclipse attacks
- Dynamic Trust Propagation: Ongoing updates, removals, and consensus
Survey of Gossip Protocols
1. Epidemic Gossip (Push/Pull, Anti-Entropy)
Summary: Classic protocol where nodes periodically exchange data with random peers.
Scalable: O(n log n) messages; each node talks to a few peers per cycle
Convergence: High probability of full dissemination in O(log n) rounds
Crypto: Not built-in; needs digital signatures for authenticity
Resilience: Basic model is vulnerable to Sybil/Eclipse without overlay hardening
Dynamic: Great for continuous updates (e.g., trust adds/removals with versioning)
2. BRAHMS (Byzantine-Resilient Random Peer Sampling)
Summary: Nodes maintain a “view” of random peers and exchange lists; designed to resist malicious influence.
Scalable: Sublinear message exchange per node
Convergence: Views converge to near-uniform random samples
Crypto: Requires public key infrastructure (PKI) to validate peer identities
Resilience: Sybil/Eclipse resistant through controlled randomization
Dynamic: Suitable for maintaining evolving membership lists
3. HealGossip (Secure Gossip with Blacklisting)
Summary: Nodes score peers based on observed behavior and spread blacklist alerts to neighbors.
Scalable: Similar to epidemic gossip with minimal alert overhead
Convergence: Malicious actors are rapidly identified and excluded
Crypto: Add signed alerts to validate accusations
Resilience: High; isolates malicious hubs quickly
Dynamic: Excellent for frequent trust state updates
4. GossipSub (Ethereum 2.0 / Filecoin)
Summary: Controlled mesh topology + gossip + scoring system for pub-sub message propagation.
Scalable: O(n) message spread with efficient fanout
Convergence: Fast message delivery and strong liveness
Crypto: Supports optional signing and verification
Resilience: High; includes protections against Sybil and Eclipse
Dynamic: Ideal for live, on-chain trust and reputational data
5. Secure Scuttlebutt (SSB)
Summary: Decentralized, append-only log where each peer signs their own update chain.
Scalable: Works best in small-world/social graphs
Convergence: Eventual replication of user feeds
Crypto: All updates are signed and hash-chained
Resilience: Sybil resistant via social connectivity; no global reliance
Dynamic: Suitable for subjective or social trust (not global consensus)
6. Avalanche (Metastable Gossip-Based Consensus)
Summary: Repeated random sampling and voting across small peer sets until metastable consensus emerges.
Scalable: O(n log n) messages total for high-confidence agreement
Convergence: Probabilistic finality with high confidence
Crypto: Signed votes and quorum-based final certificates
Resilience: Robust up to 30–40% Byzantine nodes if sampling is fair
Dynamic: Great for confirming global trust list updates
7. ABGP (Authenticated Byzantine Gossip Protocol)
Summary: Gossip integrated with Byzantine Fault Tolerance using quorum signatures on all updates.
Scalable: More overhead; each update requires multi-party signatures
Convergence: Strong consistency (not just eventual)
Crypto: Built-in signed updates and quorum authentication
Resilience: Byzantine fault tolerant; resilient to false updates
Dynamic: High consistency at the cost of agility and speed
Comparison Table
| Protocol | Scalability | Convergence | Crypto Verification | Resilience | Dynamic Trust Updates |
|---|---|---|---|---|---|
| Epidemic Gossip | High (O(n log n)) | Eventual (probabilistic) | Needs extensions | Low (needs support) | |
| BRAHMS | High (sublinear peer views) | Eventual uniformity | Via PKI | ||
| HealGossip | High (small alert overhead) | Fast convergence | Supports signed alerts | ||
| GossipSub | High (O(n) message spread) | Fast & Reliable | Optional message signing | ||
| Secure Scuttlebutt | Medium (based on social graph) | Feed-local convergence | |||
| Avalanche | High (O(n log n)) | Probabilistic consensus | |||
| ABGP | Medium (quorum signatures) | Strong (Byzantine-safe) |
Recommended Hybrid Design
To solve the problem of decentralized trust initialization in a large adversarial network:
- Use Epidemic Gossip for efficient, continuous propagation of trust list changes
- Overlay with BRAHMS or GossipSub to ensure resilient peer sampling and guard against Sybil/Eclipse attacks
- Sign all updates (e.g., “Node X is no longer trusted”) with each node’s private key
- Optionally use HealGossip to rapidly propagate negative trust reports
- For critical consensus on trust list snapshots, layer Avalanche to probabilistically converge on a common list
- If stronger consistency is needed (e.g., for protocol upgrades), apply ABGP to finalize trust list certificates
Conclusion
By combining efficient gossip dissemination with authenticated updates and resilient overlays, it is possible to build a decentralized, self-healing certificate authority at Internet scale. Honest nodes can collaboratively evolve a shared view of trusted peers, removing malicious actors over time and ensuring robust network initialization paths for new nodes—without relying on hardcoded seeds or central trust.