Module db_util

Module db_util 

Source

Enumsยง

ImportMode
RangeSpec

Functionsยง

backfill_db
To support the Event RPC API, a new column has been added to parity-db to handle the mapping:
import_chain_as_forest_car
This function validates and stores the CAR binary from from_path(either local path or URL) into the {DB_ROOT}/car_db/ (automatically trans-code into .forest.car.zst format when needed), and returns its final file path and the heaviest tipset.
load_all_forest_cars
Loads all .forest.car.zst snapshots
load_all_forest_cars_internal ๐Ÿ”’
load_all_forest_cars_with_cleanup
Loads all .forest.car.zst snapshots and cleanup stale .forest.car.zst.tmp files.
move_or_copy_file ๐Ÿ”’
process_ts ๐Ÿ”’
transcode_into_forest_car ๐Ÿ”’