Skip to main content

Module archive_missing_cmd

Module archive_missing_cmd 

Source

Structsยง

ArchiveMissingCommand
ListingItem ๐Ÿ”’
ListingResponse ๐Ÿ”’

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 required epochs not present in available.
parse_listing_heights ๐Ÿ”’
Parse a JSON listing response into a set of available heights.