koinos / koinos-p2p

The p2p microservice orchestrates the distribution of blocks and transactions between peers.
MIT License
6 stars 4 forks source link

Gossip Threshold #164

Closed mvandeberg closed 3 years ago

mvandeberg commented 3 years ago

Each peer connection tracks whether it believes gossip should be enabled or not. A reasonable threshold is 50% between peer's reported LIB and head block. When a majority of peer connections report gossip should be enabled, then actually enable gossip.