Expand description
Maintain the sequence number of the last checkpoint of each epoch.
Structs§
- Epoch
Boundaries - Stores the epoch boundaries.
Functions§
- finalize_
epoch_ boundaries - Encodes the epoch boundaries with its magic byte and a trailing SHA3-256 checksum.
- read_
epoch_ boundaries - Reads the epoch boundaries from the store.
- read_
epoch_ boundaries_ from_ bytes - Decodes epoch boundaries from the given byte vector and verifies their integrity.
- write_
epoch_ boundaries - Writes the epoch boundaries to the store atomically.