Expand description
Helper types and functions for handling and dealing with snapshot hashes.
Structsยง
- Full
Snapshot Hash - Used by SnapshotPackagerService and SnapshotGossipManager, this struct adds type safety to ensure a full snapshot hash is pushed to the right CRDS.
- Incremental
Snapshot Hash - Used by SnapshotPackagerService and SnapshotGossipManager, this struct adds type safety to ensure an incremental snapshot hash is pushed to the right CRDS.
- Snapshot
Hash - The hash used for snapshot archives
- Starting
Snapshot Hashes - 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.