Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

rfc9162-log

Crate docs. The module documentation includes a tested example that appends alpha, seals a run, finds the entry by its identity hash and checks the inclusion proof.

The log

ItemRole
Storeopen, open_split, open_trusting
AuthenticatedLogappend, find, range, seal, compact, recover
RunManifestentry range, key bounds, run hash, manifest index
Locatedinclusion path of the entry and, when sealed, of the run manifest
Inclusionindex, tree size, sibling hashes
Compactionmanifest indexes replaced, and the one written
Recoverycheckpoint size, replayed entries, quarantined paths, consistency path
Errortampered bytes, store I/O, tree, or a tile-store error
store::MANIFEST_MAGICrfc9162-log/manifest/v2\n
store::RUN_MAGIC_V3rfc9162-log/run/v3\n, the bytes the writer produces

The sidecar

ItemRole
Sidecarput, delete, history, under, diff, tree_at, sync_dir, snapshot, include_checkpoint, compact
Changethe JSON entry: sidecar, op, path, and the fields the operation uses
Opput, delete, checkpoint
Founda change, its index, and the Located proof
Syncedpaths added, changed, deleted, and left unchanged by sync_dir

The binary is rfc9162-sidecar. The log how-to runs the library and the binary. Runs and recovery describes the index.