davinci-paper/v3-pq/figures/src/state-tree-v3.drawio
v3-pq/figures/src/state-tree-v3.drawioRaw
1<mxfile host="Electron">
2 <diagram id="F8k4Yv5dHFxnxUGg2Yw3" name="pageWithNumber">
3 <mxGraphModel grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="0" page="0" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
4 <root>
5 <mxCell id="0" />
6 <mxCell id="1" parent="0" />
7 <UserObject label="stateRoot — Blake3 SMT, depth 64 (structure as v2)" mermaidId="n:R" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="stateRoot — Blake3 SMT, depth 64 (structure as v2)" id="2">
8 <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
9 <mxGeometry height="54" width="430" x="596" y="8" as="geometry" />
10 </mxCell>
11 </UserObject>
12 <UserObject label="config namespace 0x0..0xF" mermaidId="n:C" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="config namespace 0x0..0xF" id="3">
13 <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
14 <mxGeometry height="54" width="256" x="183" y="141" as="geometry" />
15 </mxCell>
16 </UserObject>
17 <UserObject label="ballot slot namespace
opaque chained leaves:
vote/overwrite: H(pkgDigest, s_batch)
refresh: H(previous leaf, s_batch)" mermaidId="n:SL" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="ballot slot namespace
opaque chained leaves:
vote/overwrite: H(pkgDigest, s_batch)
refresh: H(previous leaf, s_batch)" id="4">
18 <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
19 <mxGeometry height="112" width="327" x="489" y="112" as="geometry" />
20 </mxCell>
21 </UserObject>
22 <UserObject label="voteID namespace
voteID maps to pkgDigest
(v2 stored 0 — v3 authenticates
the full admitted package)" mermaidId="n:V" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="voteID namespace
voteID maps to pkgDigest
(v2 stored 0 — v3 authenticates
the full admitted package)" id="5">
23 <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
24 <mxGeometry height="112" width="286" x="866" y="112" as="geometry" />
25 </mxCell>
26 </UserObject>
27 <UserObject label="0x3: H(wardenSet)
ν, θ, epoch, ML-KEM pk hashes
(replaces the election key)" mermaidId="n:C3" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="0x3: H(wardenSet)
ν, θ, epoch, ML-KEM pk hashes
(replaces the election key)" id="6">
28 <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
29 <mxGeometry height="93" width="287" x="8" y="274" as="geometry" />
30 </mxCell>
31 </UserObject>
32 <UserObject label="0x4: H(A)
accumulator digest
(full A published per batch)" mermaidId="n:C4" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="0x4: H(A)
accumulator digest
(full A published per batch)" id="7">
33 <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
34 <mxGeometry height="93" width="249" x="345" y="274" as="geometry" />
35 </mxCell>
36 </UserObject>
37 <UserObject label="0x5: nullifier tree root" mermaidId="n:C5" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="0x5: nullifier tree root" id="8">
38 <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
39 <mxGeometry height="54" width="209" x="644" y="294" as="geometry" />
40 </mxCell>
41 </UserObject>
42 <UserObject label="nullifier SMT — Blake3, depth 256
key = PRF(sk_voter, pkgDigest)
insert-once = one-live-chain" mermaidId="n:N" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="nullifier SMT — Blake3, depth 256
key = PRF(sk_voter, pkgDigest)
insert-once = one-live-chain" id="9">
43 <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
44 <mxGeometry height="93" width="303" x="597" y="417" as="geometry" />
45 </mxCell>
46 </UserObject>
47 <UserObject label="" mermaidId="e:R->C#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0;exitY=0.91;entryX=0.5;entryY=0;" mermaidBaseValue="" id="10">
48 <mxCell edge="1" parent="1" source="2" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0;exitY=0.91;entryX=0.5;entryY=0;" target="3">
49 <mxGeometry relative="1" as="geometry">
50 <Array as="points">
51 <mxPoint x="311" y="87" />
52 </Array>
53 </mxGeometry>
54 </mxCell>
55 </UserObject>
56 <UserObject label="" mermaidId="e:R->SL#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.31;exitY=1;entryX=0.5;entryY=0;" mermaidBaseValue="" id="11">
57 <mxCell edge="1" parent="1" source="2" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.31;exitY=1;entryX=0.5;entryY=0;" target="4">
58 <mxGeometry relative="1" as="geometry">
59 <Array as="points">
60 <mxPoint x="652" y="87" />
61 </Array>
62 </mxGeometry>
63 </mxCell>
64 </UserObject>
65 <UserObject label="" mermaidId="e:R->V#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.74;exitY=1;entryX=0.5;entryY=0;" mermaidBaseValue="" id="12">
66 <mxCell edge="1" parent="1" source="2" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.74;exitY=1;entryX=0.5;entryY=0;" target="5">
67 <mxGeometry relative="1" as="geometry">
68 <Array as="points">
69 <mxPoint x="1009" y="87" />
70 </Array>
71 </mxGeometry>
72 </mxCell>
73 </UserObject>
74 <UserObject label="" mermaidId="e:C->C3#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.29;exitY=1;entryX=0.5;entryY=0;" mermaidBaseValue="" id="13">
75 <mxCell edge="1" parent="1" source="3" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.29;exitY=1;entryX=0.5;entryY=0;" target="6">
76 <mxGeometry relative="1" as="geometry">
77 <Array as="points">
78 <mxPoint x="152" y="249" />
79 </Array>
80 </mxGeometry>
81 </mxCell>
82 </UserObject>
83 <UserObject label="" mermaidId="e:C->C4#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.71;exitY=1;entryX=0.5;entryY=0;" mermaidBaseValue="" id="14">
84 <mxCell edge="1" parent="1" source="3" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.71;exitY=1;entryX=0.5;entryY=0;" target="7">
85 <mxGeometry relative="1" as="geometry">
86 <Array as="points">
87 <mxPoint x="470" y="249" />
88 </Array>
89 </mxGeometry>
90 </mxCell>
91 </UserObject>
92 <UserObject label="" mermaidId="e:C->C5#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.94;entryX=0.5;entryY=0;" mermaidBaseValue="" id="15">
93 <mxCell edge="1" parent="1" source="3" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.94;entryX=0.5;entryY=0;" target="8">
94 <mxGeometry relative="1" as="geometry">
95 <Array as="points">
96 <mxPoint x="749" y="249" />
97 </Array>
98 </mxGeometry>
99 </mxCell>
100 </UserObject>
101 <UserObject label="" mermaidId="e:C5->N#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.5;exitY=1;entryX=0.5;entryY=0;" mermaidBaseValue="" id="16">
102 <mxCell edge="1" parent="1" source="8" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.5;exitY=1;entryX=0.5;entryY=0;" target="9">
103 <mxGeometry relative="1" as="geometry">
104 <Array as="points" />
105 </mxGeometry>
106 </mxCell>
107 </UserObject>
108 </root>
109 </mxGraphModel>
110 </diagram>
111</mxfile>