Module solana_runtime::snapshot_hash

source ·
Expand description

Helper types and functions for handling and dealing with snapshot hashes.

Structs§

  • Used by SnapshotPackagerService and SnapshotGossipManager, this struct adds type safety to ensure a full snapshot hash is pushed to the right CRDS.
  • Used by SnapshotPackagerService and SnapshotGossipManager, this struct adds type safety to ensure an incremental snapshot hash is pushed to the right CRDS.
  • The hash used for snapshot archives
  • At startup, when loading from snapshots, the starting snapshot hashes need to be passed to SnapshotPackagerService, which is in charge of pushing the hashes to CRDS. This struct wraps up those values make it easier to pass from bank_forks_utils, through validator, to SnapshotPackagerService.