pub struct Checkpoint {
pub root: String,
pub count: u64,
pub ts_ms: u64,
pub pubkey_hex: String,
pub sig_b64: String,
}Expand description
A signed, externally-anchorable commitment to the ledger’s state at a moment:
the head root over the first count entries, timestamped and signed by the
ledger key. It leaks no entry content — only a hash, a count, and a signature —
so it is safe to publish, hand to a notary, or submit to a SCITT transparency
service. Because the log is append-only, the root over the first count entries
is fixed forever; an external party holding a checkpoint can re-derive that root
from the file and, if it disagrees, prove the operator rewrote history — the
operator-INDEPENDENT verification a log inside the operator’s own stack lacks.
Fields§
§root: String§count: u64§ts_ms: u64§pubkey_hex: StringHex of the Ed25519 ledger key that signed both the entries and this commitment.
sig_b64: StringEd25519 signature over the canonical commitment bytes.
Trait Implementations§
Source§impl Clone for Checkpoint
impl Clone for Checkpoint
Source§fn clone(&self) -> Checkpoint
fn clone(&self) -> Checkpoint
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more