pub struct TreeHead {
pub merkle_root: String,
pub tree_size: u64,
pub ts_ms: u64,
pub pubkey_hex: String,
pub sig_b64: String,
}Expand description
A signed, externally-anchorable commitment to the ledger’s MERKLE state: the RFC 9162
tree root over the first tree_size record hashes, timestamped and signed by the ledger
key. Parallel to Checkpoint (the linear-chain head): a TreeHead enables COMPACT
third-party proofs — an inclusion proof shows one record is in the log without shipping
the whole tail, and a consistency proof between an anchored earlier TreeHead and a
later one proves nothing below the earlier size was rewritten or dropped (closing
equivocation). Leaks no entry content — only a root, a size, and a signature.
Fields§
§merkle_root: StringHex of the RFC 9162 Merkle Tree Hash over the first tree_size record hashes.
tree_size: u64§ts_ms: u64§pubkey_hex: StringHex of the Ed25519 ledger key that signed this commitment.
sig_b64: StringEd25519 signature over the decern-ledger-tree-head domain-separated bytes.