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 = H(slot, T_s) over the slot's<br/>PUBLIC blinded vector T_s<br/>(bytes in blobs; refresh and overwrite<br/>publish identical records)"]:::ns
8 R --> V["voteID namespace<br/>voteID maps to pkgDigest<br/>(immutable inclusion receipts)"]:::ns
9 C --> C3["0x3: H(wardenSet)<br/>ν, θ, epoch, ML-KEM + SLH-DSA pk hashes<br/>(replaces the election key)"]:::cfg
10 C --> C4["0x4: H(A)<br/>A = sum of current slot vectors<br/>(full A published per batch)"]:::cfg
11 C --> C8["0x8: viewsRoot<br/>per-warden column views (8.7)"]:::cfg
12 C --> C5["0x5: reserved<br/>(nullifier tree in drafts up to v1.3 — removed)"]:::cfg