Module snapshot

Module snapshot 

Source

Modules§

parse 🔒
Vendors publish filenames with two formats: filecoin_snapshot_calibnet_2023-06-13_height_643680.car.zst “full” and 632400_2023_06_09T08_13_00Z.car.zst “short”.

Macros§

define_urls 🔒
Also defines an ALL_URLS constant for test purposes

Enums§

TrustedVendor
Who hosts the snapshot on the web? See stable_url.

Constants§

FOREST_CALIBNET_COMPRESSED 🔒
FOREST_MAINNET_COMPRESSED 🔒

Functions§

fetch
Returns the path to the downloaded file.
filename
Create a filename in the “full” format. See parse.
parse_content_disposition 🔒
peek
Returns
stable_url