From segment bytes to an optional signed root
This figure documents the historical i386 source baseline. Current native x86-64/AArch64 qualification is recorded separately; this is not an ELF64 or native SMP implementation diagram.
Checksums, canonical event hashes, Merkle roots and signatures protect different layers.
Text equivalent and source references
- A segment contains its header, compact events and a footer with sizes, checksum, prior checksum and flags. Compact events retain a payload digest rather than full payload bytes.
- Versioned BLAKE2s hashes feed a Merkle epoch root; explicit signing adds an Ed25519 signature. Segment writing precedes hash/root sidecars, with removal on sidecar failure. A signature is not automatic or a claim of overall correctness.
Record / dependency map. Source paths refer to the atlas baseline; the kernel checkout is private.
kernel/graph/cjournal.c · write_segment, write_segment_hashes, cjournal_sign_segmentinclude/cjournal.h · cjournal_event_tkernel/graph/causal.c · causal_event_hash_with_payload_hash