Expand description
Bootstrap Cache for the Autonomous Network
This crate provides a decentralized peer discovery and caching system for the Autonomi Network. It implements a robust peer management system with the following features:
- Decentralized Design: No dedicated bootstrap nodes required
- Cross-Platform Support: Works on Linux, macOS, and Windows
- Shared Cache: System-wide cache file accessible by both nodes and clients
- Concurrent Access: File locking for safe multi-process access
- Atomic Operations: Safe cache updates using atomic file operations
- Initial Peer Discovery: Fallback web endpoints for new/stale cache scenarios
Re-exports§
pub use config::BootstrapCacheConfig;
pub use contacts::ContactsFetcher;
pub use error::Error;
pub use error::Result;
Modules§
Structs§
- A addr that can be used for bootstrapping into the network
- Set of addresses for a particular PeerId
- Command line arguments for peer configuration
Constants§
- The name of the environment variable that can be used to pass peers to the node.
Functions§
- Craft a proper address to avoid any ill formed addresses
- ignore_peer_id is only used for nat-detection contact list