Crate ant_bootstrap

Source
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§

Modules§

Structs§

Constants§

  • The name of the environment variable that can be used to pass peers to the node.

Functions§