casper-archive get </ipfs/<hash>/> --validate <trusted-block-hash> --bootstrap-peer <bootstrap-peer>
casper-archive make-archive <storage-db-file> <global-state-db-file> -o <output-directory>
You get the trusted block hash from cspr.live or from a validator such as Joe
The </ipfs/<hash>/>
is a MANIFEST.csv
file that contains hashes of other ipfs files of either monthly or daily archives. The archives are:
Check while streaming:
The MANIFEST.csv
layout is as follows
type | start time | end time | highest block height | lowest block height | filename | ipfs hash |
YYYYMMDDHHSSTMM_TYPE_HIGHEST_LOWEST.archive.zstd
end time
The possible values for type are blocks
, finality signatures
, global state snapshot
, and global state diff
.
The start time and end time entries are u64 milliseconds since epoch, which are exactly the timestamp of the blocks stored in those entries
Manifests obey the following rules:
storage
global state snapshot
must be the first entry
global state snapshot
global state diff
, with the same times and block hashes as the first entrystorage
/global state diff
pairs with the same times and block hashes