Structsยง
Constantsยง
- CALIBNET_
GENESIS_ ๐TIMESTAMP - DIFF_
INTERVAL ๐ - LIST_
BASE ๐ - LITE_
INTERVAL ๐ - MAINNET_
GENESIS_ ๐TIMESTAMP - Well-known genesis timestamps (Unix seconds).
Functionsยง
- compute_
required_ ๐diff - Compute the required diff snapshot epochs for a given range.
- compute_
required_ ๐lite - Compute the required lite snapshot epochs for a given range.
- extract_
height ๐ - Extract height from an archive URL.
Lite:
..._height_30000.forest.car.zstโ 30000 Diff:..._height_0+3000.forest.car.zstโ 0 - fetch_
available_ ๐heights - Fetch the set of available heights for a given network and snapshot type.
- find_
missing ๐ - Return the subset of
requiredepochs not present inavailable. - parse_
listing_ ๐heights - Parse a JSON listing response into a set of available heights.