davinci-paper/v2/figures/key-modes.drawio
v2/figures/key-modes.drawioRaw
1<mxfile host="drawio"><diagram name="key-modes" id="key-modes"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" 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="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="980" height="386" as="geometry"/></mxCell><mxCell id="c4" value="<b>organizer</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="400" y="14" width="180" height="40" as="geometry"/></mxCell><mxCell id="c5" value="<b>process registry</b>: newProcess(..., keyMode)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="300" y="84" width="380" height="44" as="geometry"/></mxCell><mxCell id="c6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;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="c5"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c7" value="<b>DKG automatic</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="20" y="170" width="220" height="34" as="geometry"/></mxCell><mxCell id="c8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.125;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c7"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c9" value="DavinciDKGAdapter &rarr; DKG network" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="20" y="206" width="220" height="30" as="geometry"/></mxCell><mxCell id="c10" value="<div style='text-align:left;line-height:1.45'>&bull; key: pool key P<sub>j</sub> of a live epoch<br>&bull; holders: t-of-n committee drawn by lottery from permissionless operators<br>&bull; decrypt: committee, after the grace window<br>&bull; publish: any sequencer (requestResultsDecryption, finalizeResultsFromDKG)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=6;spacingTop=6;spacingRight=6;" vertex="1" parent="1"><mxGeometry x="20" y="238" width="220" height="132" as="geometry"/></mxCell><mxCell id="c11" value="<b>DKG locked</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="260" y="170" width="220" height="34" 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=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.375;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c11"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c13" value="DavinciDKGAdapter &rarr; DKG network" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="260" y="206" width="220" height="30" as="geometry"/></mxCell><mxCell id="c14" value="<div style='text-align:left;line-height:1.45'>&bull; key: P<sub>j</sub> + pk<sub>org</sub><br>&bull; holders: committee and organizer<br>&bull; decrypt: committee, only after the organizer reveals sk<sub>org</sub><br>&bull; publish: any sequencer, as above</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=6;spacingTop=6;spacingRight=6;" vertex="1" parent="1"><mxGeometry x="260" y="238" width="220" height="132" as="geometry"/></mxCell><mxCell id="c15" value="<b>Council</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="500" y="170" width="220" height="34" as="geometry"/></mxCell><mxCell id="c16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.625;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c15"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c17" value="CouncilAdapter &rarr; CouncilManager" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="500" y="206" width="220" height="30" as="geometry"/></mxCell><mxCell id="c18" value="<div style='text-align:left;line-height:1.45'>&bull; key: ceremony key, shared by the processes bound to the ceremony<br>&bull; holders: t-of-n invited members<br>&bull; decrypt: members, once the ceremony's decryption gate opens<br>&bull; publish: any sequencer, as above</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=6;spacingTop=6;spacingRight=6;" vertex="1" parent="1"><mxGeometry x="500" y="238" width="220" height="132" as="geometry"/></mxCell><mxCell id="c19" value="<b>Sequencer</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="740" y="170" width="220" height="34" 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=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.875;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c19"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c21" value="key requested from a sequencer before creation" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="740" y="206" width="220" height="30" as="geometry"/></mxCell><mxCell id="c22" value="<div style='text-align:left;line-height:1.45'>&bull; key: sk derived from the sequencer's master secret and processID<br>&bull; holder: that sequencer alone<br>&bull; decrypt: the sequencer, after the grace window<br>&bull; publish: the sequencer (results program, setProcessResults)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=6;spacingTop=6;spacingRight=6;" vertex="1" parent="1"><mxGeometry x="740" y="238" width="220" height="132" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>