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-tiles

Crate docs. The module documentation includes a tested example that appends one record to a MemoryStore and checks the inclusion proof.

Stores and the log

ItemRole
TileStoreget, put, create_new, delete, rename, list
PosixStorea directory; writes are temp file, fsync, rename
MemoryStorein-process files; clones share the map
PackStoreone append-only file; open, open_shared, open_read, compact
Writerappends entries and publishes checkpoints
Readerreads entries, proofs and keys at one tree size
TreeStatesize and root written at .state/treeState
Layouttile widths for a tree size
ErrorI/O, corrupt bytes, format, lock, entry length, range, signature

index::no_keys is a key function that returns no extra keys. index::identity is SHA-256(entry).

Checkpoints

ItemRole
Checkpointorigin, size, root, extensions
Notecheckpoint text plus signature lines
SignerEd25519 log key; from_pem reads PKCS#8
Verifierpublic key and the name+id+base64 line
checkpoint::verifychecks log signatures against trusted keys
Cosignerwitness key
verify_cosignatureschecks cosignature/v1 lines

The tiles how-to uses these types. Tiles and checkpoints explain the layout and the note.