pub struct StartingSnapshotHashes {
pub full: FullSnapshotHash,
pub incremental: Option<IncrementalSnapshotHash>,
}
Expand description
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.
Fields
full: FullSnapshotHash
incremental: Option<IncrementalSnapshotHash>
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StartingSnapshotHashes
impl Send for StartingSnapshotHashes
impl Sync for StartingSnapshotHashes
impl Unpin for StartingSnapshotHashes
impl UnwindSafe for StartingSnapshotHashes
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more