Expand description
Bootstrap coordinator for systematic peer discovery
This module provides production-grade peer discovery beyond the initial bootstrap list, featuring:
- Priority-based bootstrap peer selection
- Exponential backoff on failures with configurable caps
- Random walk and closest-peer query coordination
- Discovery record tracking with ping-based ranking
- Atomic statistics for lock-free monitoring
Structsยง
- Bootstrap
Coordinator - Coordinates systematic peer discovery for production IPFRS nodes.
- Bootstrap
Peer - A single bootstrap peer with priority, backoff state, and attempt history.
- Bootstrap
Stats - Atomic counters for bootstrap coordinator activity.
- Bootstrap
Stats Snapshot - Owned, copyable snapshot of
BootstrapStats. - Discovery
Record - A record for a peer discovered through any mechanism.