21 releases
Uses new Rust 2024
| 0.2.13 | Dec 11, 2025 |
|---|---|
| 0.2.12 | Nov 27, 2025 |
| 0.2.10 | Oct 15, 2025 |
| 0.2.6 | Jul 31, 2025 |
| 0.1.1 | Dec 21, 2024 |
#17 in #file-access
672 downloads per month
Used in 23 crates
(6 directly)
340KB
6.5K
SLoC
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
Bootstrap Cache
A simple peer caching system for the Autonomi Network that provides persistent storage and management of network peer addresses. This crate handles peer discovery and FIFO caching with support for concurrent access across multiple processes.
Features
Storage and Accessibility
- System-wide accessible cache location
- Configurable primary cache location
- Cross-process safe with file locking
- Atomic write operations to prevent cache corruption
Data Management
- Automatic cleanup of stale and unreliable peers
- Configurable maximum peer limit
- Atomic file operations for data integrity
License
This Autonomi Network software is licensed under the General Public License (GPL), version 3 (LICENSE).
Dependencies
~71–94MB
~1.5M SLoC