arnaucube
arnaucube/davinci-paperPublic Self-hosted repository
davinci-paper/v2/figures/smt-chain.drawio
v2/figures/smt-chain.drawioRaw
1<mxfile host="drawio"><diagram name="smt-chain" id="smt-chain"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="4" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value='&lt;b&gt;read under &lt;font face="Courier New"&gt;stateRoot&lt;/font&gt;&lt;sup style="line-height:0"&gt;old&lt;/sup&gt;&lt;/b&gt;&lt;br&gt;&lt;font face="Courier New"&gt;processID&lt;/font&gt; (0x0), &lt;font face="Courier New"&gt;ballotMode&lt;/font&gt; (0x2),&lt;br&gt;&lt;font face="Courier New"&gt;encryptionKey&lt;/font&gt; (0x3),&lt;br&gt;&lt;font face="Courier New"&gt;censusOrigin&lt;/font&gt; (0x6), &lt;font face="Courier New"&gt;ballotVKHash&lt;/font&gt; (0x7)' style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f5f5f5;strokeColor=#666666;strokeWidth=1;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=6;spacingRight=6;spacingTop=2;spacingBottom=2;" vertex="1" parent="1"><mxGeometry x="324" y="0" width="261" height="68" as="geometry"/></mxCell><mxCell id="c4" value='&lt;font face="Courier New"&gt;stateRoot&lt;/font&gt;&lt;sup style="line-height:0"&gt;old&lt;/sup&gt;' style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;strokeWidth=1;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=6;spacingRight=6;spacingTop=2;spacingBottom=2;arcSize=40;" vertex="1" parent="1"><mxGeometry x="80.0" y="20" width="140" height="28" as="geometry"/></mxCell><mxCell id="c5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Helvetica;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c3"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c6" value='&lt;b&gt;vote identifiers&lt;/b&gt;&lt;br&gt;&lt;i&gt;n&lt;/i&gt; &amp;times; Insert(&lt;font face="Courier New"&gt;voteID&lt;/font&gt;&lt;sub style="line-height:0"&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt;, 0)' style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;strokeWidth=1;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=6;spacingRight=6;spacingTop=2;spacingBottom=2;" vertex="1" parent="1"><mxGeometry x="0" y="68" width="300" height="44" as="geometry"/></mxCell><mxCell id="c7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Helvetica;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c6"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c8" value="insert-only: a used identifier fails" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Helvetica;align=left;verticalAlign=middle;fontColor=#333333;spacing=0;" vertex="1" parent="1"><mxGeometry x="324" y="68" width="261" height="44" as="geometry"/></mxCell><mxCell id="c9" value='r&lt;sub style="line-height:0"&gt;1&lt;/sub&gt;' style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#666666;strokeWidth=1;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=6;spacingRight=6;spacingTop=2;spacingBottom=2;ellipse;" vertex="1" parent="1"><mxGeometry x="138.0" y="128" width="24" height="24" as="geometry"/></mxCell><mxCell id="c10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Helvetica;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c9"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c11" value="&lt;b&gt;ballots&lt;/b&gt;&lt;br&gt;&lt;i&gt;n&lt;/i&gt; &amp;times; Insert or Update(&lt;font face=&quot;Courier New&quot;&gt;slot&lt;/font&gt;&lt;sub style=&quot;line-height:0&quot;&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt;, H(B'&lt;sub style=&quot;line-height:0&quot;&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt;))" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;strokeWidth=1;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=6;spacingRight=6;spacingTop=2;spacingBottom=2;" vertex="1" parent="1"><mxGeometry x="0" y="168" width="300" height="44" as="geometry"/></mxCell><mxCell id="c12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Helvetica;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c9" target="c11"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c13" value="exactly &lt;i&gt;w&lt;/i&gt; updates; slots pairwise distinct" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Helvetica;align=left;verticalAlign=middle;fontColor=#333333;spacing=0;" vertex="1" parent="1"><mxGeometry x="324" y="168" width="261" height="44" as="geometry"/></mxCell><mxCell id="c14" value='r&lt;sub style="line-height:0"&gt;2&lt;/sub&gt;' style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#666666;strokeWidth=1;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=6;spacingRight=6;spacingTop=2;spacingBottom=2;ellipse;" vertex="1" parent="1"><mxGeometry x="138.0" y="228" width="24" height="24" as="geometry"/></mxCell><mxCell id="c15" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Helvetica;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c16" value="&lt;b&gt;silent refresh&lt;/b&gt;&lt;br&gt;|R| &amp;times; Update(&lt;font face=&quot;Courier New&quot;&gt;slot&lt;/font&gt;&lt;sub style=&quot;line-height:0&quot;&gt;&lt;i&gt;j&lt;/i&gt;&lt;/sub&gt;, H(R'&lt;sub style=&quot;line-height:0&quot;&gt;&lt;i&gt;j&lt;/i&gt;&lt;/sub&gt;))" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;strokeWidth=1;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=6;spacingRight=6;spacingTop=2;spacingBottom=2;" vertex="1" parent="1"><mxGeometry x="0" y="268" width="300" height="44" as="geometry"/></mxCell><mxCell id="c17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Helvetica;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c14" target="c16"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c18" value="occupied, not written by the batch,&lt;br&gt;strictly increasing slots" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Helvetica;align=left;verticalAlign=middle;fontColor=#333333;spacing=0;" vertex="1" parent="1"><mxGeometry x="324" y="268" width="261" height="44" as="geometry"/></mxCell><mxCell id="c19" value='r&lt;sub style="line-height:0"&gt;3&lt;/sub&gt;' style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#666666;strokeWidth=1;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=6;spacingRight=6;spacingTop=2;spacingBottom=2;ellipse;" vertex="1" parent="1"><mxGeometry x="138.0" y="328" width="24" height="24" as="geometry"/></mxCell><mxCell id="c20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Helvetica;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c16" target="c19"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c21" value='&lt;b&gt;results accumulator&lt;/b&gt;&lt;br&gt;1 &amp;times; Update(0x4, H(A&lt;sup style="line-height:0"&gt;new&lt;/sup&gt;))' style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f5f5f5;strokeColor=#666666;strokeWidth=1;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=6;spacingRight=6;spacingTop=2;spacingBottom=2;" vertex="1" parent="1"><mxGeometry x="0" y="368" width="300" height="44" as="geometry"/></mxCell><mxCell id="c22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Helvetica;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c19" target="c21"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c23" value="present iff some ballot is written&lt;br&gt;or refreshed" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Helvetica;align=left;verticalAlign=middle;fontColor=#333333;spacing=0;" vertex="1" parent="1"><mxGeometry x="324" y="368" width="261" height="44" as="geometry"/></mxCell><mxCell id="c24" value='&lt;font face="Courier New"&gt;stateRoot&lt;/font&gt;&lt;sup style="line-height:0"&gt;new&lt;/sup&gt;' style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;strokeWidth=1;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=6;spacingRight=6;spacingTop=2;spacingBottom=2;arcSize=40;" vertex="1" parent="1"><mxGeometry x="80.0" y="428" width="140" height="28" as="geometry"/></mxCell><mxCell id="c25" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Helvetica;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c21" target="c24"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell></root></mxGraphModel></diagram></mxfile>