Module Snapshots.Header

type t =
  1. | V0_legacy of {
    1. rollup_address : Octez_smart_rollup.Address.t;
    2. current_level : Evm_node_lib_dev_encoding.Ethereum_types.quantity;
    }
    (*

    Snapshots with legacy block storage

    *)
  2. | V1 of {
    1. rollup_address : Octez_smart_rollup.Address.t;
    2. current_level : Evm_node_lib_dev_encoding.Ethereum_types.quantity;
    3. history_mode : Evm_node_config.Configuration.history_mode;
    4. first_level : Evm_node_lib_dev_encoding.Ethereum_types.quantity;
    }
    (*

    Snapshots with Sqlite3 block storage

    *)

Snapshot metadata. This information is written as a header of the archive snapshot file.

Fixed size metadata encoding.