Open
Description
✨ Feature
Support agents downloading and untarring large ledger files from CDNs or the controlplane
Motivation
- Allows nodes to start at arbitrary heights, rather than syncing from genesis
- Ergonomic way of defining where nodes start syncing from (
height: https://foo/bar/baz
) - Ties into ✅ Backup Action API #165 to allow agents to restore from eachother (potentially)
Implementation
- Hook into the ledger reconciler to report status
- Use the tar crate, or this (https://rust-lang-nursery.github.io/rust-cookbook/compression/tar.html)
- Support redirects from (text file with a link to a tar file), maybe via
height: aleo-snapshot
(with the network derived from the storage'sNetworkId
)
https://ledger.aleo.network/mainnet/snapshot/latest.txt
https://ledger.aleo.network/testnet/snapshot/latest.txt
https://ledger.aleo.network/canarynet/snapshot/latest.txt