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
| Item | Role |
|---|---|
Store | open, open_split, open_trusting |
AuthenticatedLog | append, find, range, seal, compact, recover |
RunManifest | entry range, key bounds, run hash, manifest index |
Located | inclusion path of the entry and, when sealed, of the run manifest |
Inclusion | index, tree size, sibling hashes |
Compaction | manifest indexes replaced, and the one written |
Recovery | checkpoint size, replayed entries, quarantined paths, consistency path |
Error | tampered bytes, store I/O, tree, or a tile-store error |
store::MANIFEST_MAGIC | rfc9162-log/manifest/v2\n |
store::RUN_MAGIC_V3 | rfc9162-log/run/v3\n, the bytes the writer produces |
The sidecar
| Item | Role |
|---|---|
Sidecar | put, delete, history, under, diff, tree_at, sync_dir, snapshot, include_checkpoint, compact |
Change | the JSON entry: sidecar, op, path, and the fields the operation uses |
Op | put, delete, checkpoint |
Found | a change, its index, and the Located proof |
Synced | paths 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.