Expand description
Domain newtypes for the audit crate.
These types wrap the same-typed primitives that recur across the hash-chain,
the spool, and the verifier. A transposed call site, for example
set_depth(bytes, count), is then a compile error and not a silent
corruption. See the newtype guidance in the style guide.
Structs§
- Checkpoint
Count - Count of signed checkpoints.
- EpochMs
- Epoch-millisecond timestamp for the checkpoint
timeand the OCSFtime. - MaxSpool
Bytes - Configured upper bound on spool size in bytes.
- Record
Count - Count of chained data records.
- Seq
- Per-broker hash-chain sequence number in each record’s
seqheader. - Spool
Bytes - Number of bytes currently held in the spool.