arnaucube
arnaucube/davinci-paperPublic Self-hosted repository
davinci-paper/v3-pq/figures/src/state-tree-v3.mmd
v3-pq/figures/src/state-tree-v3.mmdRaw
 1flowchart TD
 2  classDef root fill:#fff2cc,stroke:#d6b656;
 3  classDef cfg fill:#dae8fc,stroke:#6c8ebf;
 4  classDef ns fill:#d5e8d4,stroke:#82b366;
 5  R["stateRoot — Blake3 SMT, depth 64 (structure as v2)"]:::root
 6  R --> C["config namespace 0x0..0xF"]:::cfg
 7  R --> SL["ballot slot namespace<br/>leaf = constant OCCUPIED marker<br/>inserted at the slot's first write,<br/>never changed, never package-derived"]:::ns
 8  R --> V["voteID namespace<br/>voteID maps to pkgDigest<br/>(immutable inclusion receipts)"]:::ns
 9  C --> C3["0x3: H(wardenSet)<br/>ν, θ, epoch, key hashes + accounts<br/>(replaces the election key)"]:::cfg
10  C --> C8["0x8: viewsRoot<br/>per-warden column views (8.7)"]:::cfg
11  C --> C5["0x4, 0x5: reserved<br/>(accumulator and nullifier tree<br/>of earlier drafts, removed)"]:::cfg