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="wQinlPPZjKWTabgGCPLd" 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="640" 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="207" y="141" as="geometry" />
15 </mxCell>
16 </UserObject>
17 <UserObject label="ballot slot namespace
leaf = constant OCCUPIED marker
inserted at the slot's first write,
never changed, never package-derived" 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
leaf = constant OCCUPIED marker
inserted at the slot's first write,
never changed, never package-derived" 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="338" x="513" y="112" as="geometry" />
20 </mxCell>
21 </UserObject>
22 <UserObject label="voteID namespace
voteID maps to pkgDigest
(immutable inclusion receipts)" 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
(immutable inclusion receipts)" 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="93" width="272" x="901" y="122" as="geometry" />
25 </mxCell>
26 </UserObject>
27 <UserObject label="0x3: H(wardenSet)
ν, θ, epoch, key hashes + accounts
(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, key hashes + accounts
(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="310" x="8" y="274" as="geometry" />
30 </mxCell>
31 </UserObject>
32 <UserObject label="0x8: viewsRoot
per-warden column views (8.7)" mermaidId="n:C8" 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="0x8: viewsRoot
per-warden column views (8.7)" 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="73" width="279" x="368" y="284" as="geometry" />
35 </mxCell>
36 </UserObject>
37 <UserObject label="0x4, 0x5: reserved
(accumulator and nullifier tree
of earlier drafts, removed)" 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="0x4, 0x5: reserved
(accumulator and nullifier tree
of earlier drafts, removed)" 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="93" width="271" x="697" y="274" as="geometry" />
40 </mxCell>
41 </UserObject>
42 <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="9">
43 <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">
44 <mxGeometry relative="1" as="geometry">
45 <Array as="points">
46 <mxPoint x="335" y="87" />
47 </Array>
48 </mxGeometry>
49 </mxCell>
50 </UserObject>
51 <UserObject label="" mermaidId="e:R->SL#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="10">
52 <mxCell edge="1" parent="1" source="2" 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="4">
53 <mxGeometry relative="1" as="geometry">
54 <Array as="points">
55 <mxPoint x="682" y="87" />
56 </Array>
57 </mxGeometry>
58 </mxCell>
59 </UserObject>
60 <UserObject label="" mermaidId="e:R->V#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.72;exitY=1;entryX=0.5;entryY=0;" mermaidBaseValue="" id="11">
61 <mxCell edge="1" parent="1" source="2" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.72;exitY=1;entryX=0.5;entryY=0;" target="5">
62 <mxGeometry relative="1" as="geometry">
63 <Array as="points">
64 <mxPoint x="1037" y="87" />
65 </Array>
66 </mxGeometry>
67 </mxCell>
68 </UserObject>
69 <UserObject label="" mermaidId="e:C->C3#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.28;exitY=1;entryX=0.5;entryY=0;" mermaidBaseValue="" id="12">
70 <mxCell edge="1" parent="1" source="3" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.28;exitY=1;entryX=0.5;entryY=0;" target="6">
71 <mxGeometry relative="1" as="geometry">
72 <Array as="points">
73 <mxPoint x="163" y="249" />
74 </Array>
75 </mxGeometry>
76 </mxCell>
77 </UserObject>
78 <UserObject label="" mermaidId="e:C->C8#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.73;exitY=1;entryX=0.5;entryY=0;" mermaidBaseValue="" id="13">
79 <mxCell edge="1" parent="1" source="3" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.73;exitY=1;entryX=0.5;entryY=0;" target="7">
80 <mxGeometry relative="1" as="geometry">
81 <Array as="points">
82 <mxPoint x="508" y="249" />
83 </Array>
84 </mxGeometry>
85 </mxCell>
86 </UserObject>
87 <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.89;entryX=0.5;entryY=0;" mermaidBaseValue="" id="14">
88 <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.89;entryX=0.5;entryY=0;" target="8">
89 <mxGeometry relative="1" as="geometry">
90 <Array as="points">
91 <mxPoint x="833" y="249" />
92 </Array>
93 </mxGeometry>
94 </mxCell>
95 </UserObject>
96 </root>
97 </mxGraphModel>
98 </diagram>
99</mxfile>