arnaucube
arnaucube/davinci-paperPublic Self-hosted repository
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="E1SXA2W_QXeXYNNiDxB8" 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 — SHA-256 SMT, depth 64 (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 — SHA-256 SMT, depth 64 (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="414" x="669" 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="280" x="193" y="141" as="geometry" />
 15          </mxCell>
 16        </UserObject>
 17        <UserObject label="ballot slot namespace&#xa;opaque chained leaves:&#xa;vote/overwrite: H(pkgDigest, s_batch)&#xa;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&#xa;opaque chained leaves:&#xa;vote/overwrite: H(pkgDigest, s_batch)&#xa;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="364" x="523" y="112" as="geometry" />
 20          </mxCell>
 21        </UserObject>
 22        <UserObject label="voteID namespace&#xa;voteID maps to pkgDigest&#xa;(v2 stored 0 — v3 authenticates&#xa;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&#xa;voteID maps to pkgDigest&#xa;(v2 stored 0 — v3 authenticates&#xa;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="318" x="937" y="112" as="geometry" />
 25          </mxCell>
 26        </UserObject>
 27        <UserObject label="0x3: H(wardenSet)&#xa;ν, θ, epoch, ML-KEM pk hashes&#xa;(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)&#xa;ν, θ, epoch, ML-KEM pk hashes&#xa;(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="307" x="8" y="274" as="geometry" />
 30          </mxCell>
 31        </UserObject>
 32        <UserObject label="0x4: H(A)&#xa;accumulator digest&#xa;(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)&#xa;accumulator digest&#xa;(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="278" x="365" 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="235" x="693" y="294" as="geometry" />
 40          </mxCell>
 41        </UserObject>
 42        <UserObject label="nullifier SMT — SHA-256, depth 256&#xa;key = PRF(sk_voter, pkgDigest)&#xa;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 — SHA-256, depth 256&#xa;key = PRF(sk_voter, pkgDigest)&#xa;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="347" x="637" y="417" as="geometry" />
 45          </mxCell>
 46        </UserObject>
 47        <UserObject label="" mermaidId="e:R-&gt;C#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0;exitY=0.87;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.87;entryX=0.5;entryY=0;" target="3">
 49            <mxGeometry relative="1" as="geometry">
 50              <Array as="points">
 51                <mxPoint x="333" y="87" />
 52              </Array>
 53            </mxGeometry>
 54          </mxCell>
 55        </UserObject>
 56        <UserObject label="" mermaidId="e:R-&gt;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="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.29;exitY=1;entryX=0.5;entryY=0;" target="4">
 58            <mxGeometry relative="1" as="geometry">
 59              <Array as="points">
 60                <mxPoint x="705" y="87" />
 61              </Array>
 62            </mxGeometry>
 63          </mxCell>
 64        </UserObject>
 65        <UserObject label="" mermaidId="e:R-&gt;V#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.78;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.78;exitY=1;entryX=0.5;entryY=0;" target="5">
 67            <mxGeometry relative="1" as="geometry">
 68              <Array as="points">
 69                <mxPoint x="1096" y="87" />
 70              </Array>
 71            </mxGeometry>
 72          </mxCell>
 73        </UserObject>
 74        <UserObject label="" mermaidId="e:C-&gt;C3#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.3;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.3;exitY=1;entryX=0.5;entryY=0;" target="6">
 76            <mxGeometry relative="1" as="geometry">
 77              <Array as="points">
 78                <mxPoint x="162" y="249" />
 79              </Array>
 80            </mxGeometry>
 81          </mxCell>
 82        </UserObject>
 83        <UserObject label="" mermaidId="e:C-&gt;C4#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.7;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.7;exitY=1;entryX=0.5;entryY=0;" target="7">
 85            <mxGeometry relative="1" as="geometry">
 86              <Array as="points">
 87                <mxPoint x="504" y="249" />
 88              </Array>
 89            </mxGeometry>
 90          </mxCell>
 91        </UserObject>
 92        <UserObject label="" mermaidId="e:C-&gt;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="811" y="249" />
 97              </Array>
 98            </mxGeometry>
 99          </mxCell>
100        </UserObject>
101        <UserObject label="" mermaidId="e:C5-&gt;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>