arnaucube
arnaucube/davinci-paperPublic Self-hosted repository
davinci-paper/v3-pq/figures/src/batch-flow.drawio
v3-pq/figures/src/batch-flow.drawioRaw
  1<mxfile host="Electron">
  2  <diagram id="hcGx8wlAMvwiPEnMBVpE" 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="n packages&#xa;+ ballot STARKs" mermaidId="n:I1" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="n packages&#xa;+ ballot STARKs" id="2">
  8          <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
  9            <mxGeometry height="73" width="177" x="13" y="132" as="geometry" />
 10          </mxCell>
 11        </UserObject>
 12        <UserObject label="verify n ballot STARKs in-guest&#xa;(Poseidon2 precompile,&#xa;~1M steps each)" mermaidId="n:V" 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="verify n ballot STARKs in-guest&#xa;(Poseidon2 precompile,&#xa;~1M steps each)" 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="93" width="280" x="260" y="122" as="geometry" />
 15          </mxCell>
 16        </UserObject>
 17        <UserObject label="census proofs" mermaidId="n:I2" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="census proofs" id="4">
 18          <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
 19            <mxGeometry height="54" width="160" x="320" y="18" as="geometry" />
 20          </mxCell>
 21        </UserObject>
 22        <UserObject label="eligibility + binding checks&#xa;(hybrid: + ECDSA over pkgDigest)" mermaidId="n:CE" 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="eligibility + binding checks&#xa;(hybrid: + ECDSA over pkgDigest)" id="5">
 23          <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">
 24            <mxGeometry height="73" width="302" x="605" y="8" as="geometry" />
 25          </mxCell>
 26        </UserObject>
 27        <UserObject label="state witnesses" mermaidId="n:I3" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="state witnesses" id="6">
 28          <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
 29            <mxGeometry height="54" width="169" x="17" y="294" as="geometry" />
 30          </mxCell>
 31        </UserObject>
 32        <UserObject label="state transitions:&#xa;insert voteID→pkgDigest ·&#xa;insert nullifiers (one-live-chain) ·&#xa;slot writes + refresh re-chaining" mermaidId="n:ST" 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="state transitions:&#xa;insert voteID→pkgDigest ·&#xa;insert nullifiers (one-live-chain) ·&#xa;slot writes + refresh re-chaining" 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="112" width="287" x="256" y="265" as="geometry" />
 35          </mxCell>
 36        </UserObject>
 37        <UserObject label="secret batch seed" mermaidId="n:I4" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="secret batch seed" id="8">
 38          <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
 39            <mxGeometry height="54" width="186" x="8" y="522" as="geometry" />
 40          </mxCell>
 41        </UserObject>
 42        <UserObject label="accumulator update:&#xa;A&#39; = A + ΣE_new − ΣE_revoked + B&#xa;(B = fresh uniform batch pad)" mermaidId="n:ACC" 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="accumulator update:&#xa;A&#39; = A + ΣE_new − ΣE_revoked + B&#xa;(B = fresh uniform batch pad)" id="9">
 43          <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">
 44            <mxGeometry height="93" width="311" x="244" y="427" as="geometry" />
 45          </mxCell>
 46        </UserObject>
 47        <UserObject label="warden payload:&#xa;AEAD(B, revoked list) — key&#xa;θ-shared via ν in-guest encaps" mermaidId="n:WP" 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="warden payload:&#xa;AEAD(B, revoked list) — key&#xa;θ-shared via ν in-guest encaps" id="10">
 48          <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">
 49            <mxGeometry height="93" width="278" x="261" y="570" as="geometry" />
 50          </mxCell>
 51        </UserObject>
 52        <UserObject label="blob layout v3&#xa;(packages, leaves, nullifiers,&#xa;A&#39;, payload)" mermaidId="n:BL" 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="blob layout v3&#xa;(packages, leaves, nullifiers,&#xa;A&#39;, payload)" id="11">
 53          <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">
 54            <mxGeometry height="93" width="261" x="626" y="350" as="geometry" />
 55          </mxCell>
 56        </UserObject>
 57        <UserObject label="public outputs:&#xa;ok, failMask, roots,&#xa;counters, censusRoot, blobsDigest" mermaidId="n:OUT" 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="public outputs:&#xa;ok, failMask, roots,&#xa;counters, censusRoot, blobsDigest" id="12">
 58          <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">
 59            <mxGeometry height="93" width="307" x="957" y="212" as="geometry" />
 60          </mxCell>
 61        </UserObject>
 62        <UserObject label="" mermaidId="e:I1-&gt;V#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.49;entryX=0;entryY=0.49;" mermaidBaseValue="" id="13">
 63          <mxCell edge="1" parent="1" source="2" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.49;entryX=0;entryY=0.49;" target="3">
 64            <mxGeometry relative="1" as="geometry">
 65              <Array as="points" />
 66            </mxGeometry>
 67          </mxCell>
 68        </UserObject>
 69        <UserObject label="" mermaidId="e:I2-&gt;CE#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.51;" mermaidBaseValue="" id="14">
 70          <mxCell edge="1" parent="1" source="4" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.51;" target="5">
 71            <mxGeometry relative="1" as="geometry">
 72              <Array as="points" />
 73            </mxGeometry>
 74          </mxCell>
 75        </UserObject>
 76        <UserObject label="" mermaidId="e:I3-&gt;ST#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" mermaidBaseValue="" id="15">
 77          <mxCell edge="1" parent="1" source="6" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" target="7">
 78            <mxGeometry relative="1" as="geometry">
 79              <Array as="points" />
 80            </mxGeometry>
 81          </mxCell>
 82        </UserObject>
 83        <UserObject label="" mermaidId="e:I4-&gt;ACC#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.73;exitY=0;entryX=0;entryY=0.49;" mermaidBaseValue="" id="16">
 84          <mxCell edge="1" parent="1" source="8" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.73;exitY=0;entryX=0;entryY=0.49;" target="9">
 85            <mxGeometry relative="1" as="geometry">
 86              <Array as="points">
 87                <mxPoint x="219" y="473" />
 88              </Array>
 89            </mxGeometry>
 90          </mxCell>
 91        </UserObject>
 92        <UserObject label="" mermaidId="e:I4-&gt;WP#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.76;exitY=1;entryX=0;entryY=0.49;" mermaidBaseValue="" id="17">
 93          <mxCell edge="1" parent="1" source="8" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.76;exitY=1;entryX=0;entryY=0.49;" target="10">
 94            <mxGeometry relative="1" as="geometry">
 95              <Array as="points">
 96                <mxPoint x="219" y="616" />
 97              </Array>
 98            </mxGeometry>
 99          </mxCell>
100        </UserObject>
101        <UserObject label="" mermaidId="e:V-&gt;BL#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.49;entryX=0.36;entryY=0;" mermaidBaseValue="" id="18">
102          <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.49;entryX=0.36;entryY=0;" target="11">
103            <mxGeometry relative="1" as="geometry">
104              <Array as="points">
105                <mxPoint x="580" y="168" />
106              </Array>
107            </mxGeometry>
108          </mxCell>
109        </UserObject>
110        <UserObject label="" mermaidId="e:ST-&gt;BL#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0.09;entryY=0;" mermaidBaseValue="" id="19">
111          <mxCell edge="1" parent="1" source="7" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0.09;entryY=0;" target="11">
112            <mxGeometry relative="1" as="geometry">
113              <Array as="points">
114                <mxPoint x="580" y="321" />
115              </Array>
116            </mxGeometry>
117          </mxCell>
118        </UserObject>
119        <UserObject label="" mermaidId="e:ACC-&gt;BL#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.49;entryX=0.09;entryY=1;" mermaidBaseValue="" id="20">
120          <mxCell edge="1" parent="1" source="9" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.49;entryX=0.09;entryY=1;" target="11">
121            <mxGeometry relative="1" as="geometry">
122              <Array as="points">
123                <mxPoint x="580" y="473" />
124              </Array>
125            </mxGeometry>
126          </mxCell>
127        </UserObject>
128        <UserObject label="" mermaidId="e:WP-&gt;BL#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.49;entryX=0.36;entryY=1;" mermaidBaseValue="" id="21">
129          <mxCell edge="1" parent="1" source="10" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.49;entryX=0.36;entryY=1;" target="11">
130            <mxGeometry relative="1" as="geometry">
131              <Array as="points">
132                <mxPoint x="580" y="616" />
133              </Array>
134            </mxGeometry>
135          </mxCell>
136        </UserObject>
137        <UserObject label="" mermaidId="e:CE-&gt;OUT#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.51;entryX=0.37;entryY=0;" mermaidBaseValue="" id="22">
138          <mxCell edge="1" parent="1" source="5" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.51;entryX=0.37;entryY=0;" target="12">
139            <mxGeometry relative="1" as="geometry">
140              <Array as="points">
141                <mxPoint x="932" y="45" />
142              </Array>
143            </mxGeometry>
144          </mxCell>
145        </UserObject>
146        <UserObject label="" mermaidId="e:BL-&gt;OUT#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.51;entryX=0.3;entryY=1;" mermaidBaseValue="" id="23">
147          <mxCell edge="1" parent="1" source="11" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.51;entryX=0.3;entryY=1;" target="12">
148            <mxGeometry relative="1" as="geometry">
149              <Array as="points">
150                <mxPoint x="932" y="397" />
151              </Array>
152            </mxGeometry>
153          </mxCell>
154        </UserObject>
155      </root>
156    </mxGraphModel>
157  </diagram>
158</mxfile>