davinci-paper/v3-pq/figures/src/vote-journey.drawio
v3-pq/figures/src/vote-journey.drawioRaw
1<mxfile host="Electron">
2 <diagram id="VyGoQBp5vA4Sdv12RkqX" 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="YOU (browser)
split ballot into ν pieces,
mask each, lock mask keys
into warden lockboxes,
prove it all correct" mermaidId="n:Y" 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="YOU (browser)
split ballot into ν pieces,
mask each, lock mask keys
into warden lockboxes,
prove it all correct" id="2">
8 <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">
9 <mxGeometry height="131" width="255" x="8" y="8" as="geometry" />
10 </mxCell>
11 </UserObject>
12 <UserObject label="A SEQUENCER
checks the proof, bundles
many packages into a batch,
adds its own blinding,
proves the whole batch" mermaidId="n:S" 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="A SEQUENCER
checks the proof, bundles
many packages into a batch,
adds its own blinding,
proves the whole batch" 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="131" width="264" x="432" y="8" as="geometry" />
15 </mxCell>
16 </UserObject>
17 <UserObject label="ETHEREUM
contract verifies the proof,
blobs store your package,
your slot's blinded vector,
and the running total" mermaidId="n:E" 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="ETHEREUM
contract verifies the proof,
blobs store your package,
your slot's blinded vector,
and the running total" id="4">
18 <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">
19 <mxGeometry height="131" width="244" x="850" y="8" as="geometry" />
20 </mxCell>
21 </UserObject>
22 <UserObject label="ANY θ WARDENS
open their lockboxes,
recover + sum their column
of counted shares,
publish proven partial sums" mermaidId="n:W" 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="ANY θ WARDENS
open their lockboxes,
recover + sum their column
of counted shares,
publish proven partial sums" 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="131" width="255" x="1262" y="8" as="geometry" />
25 </mxCell>
26 </UserObject>
27 <UserObject label="THE CONTRACT
draws the one curve through
the θ points, reads it at zero:
that number IS the result" mermaidId="n:R" 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="THE CONTRACT
draws the one curve through
the θ points, reads it at zero:
that number IS the result" id="6">
28 <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">
29 <mxGeometry height="112" width="263" x="1667" y="18" as="geometry" />
30 </mxCell>
31 </UserObject>
32 <UserObject label="package + proof
(private channel)" mermaidId="e:Y->S#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" mermaidBaseValue="package + proof
(private channel)" id="7">
33 <mxCell edge="1" parent="1" source="2" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" target="3">
34 <mxGeometry relative="1" as="geometry">
35 <Array as="points" />
36 </mxGeometry>
37 </mxCell>
38 </UserObject>
39 <UserObject label="batch proof +
published data" mermaidId="e:S->E#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" mermaidBaseValue="batch proof +
published data" id="8">
40 <mxCell edge="1" parent="1" source="3" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" target="4">
41 <mxGeometry relative="1" as="geometry">
42 <Array as="points" />
43 </mxGeometry>
44 </mxCell>
45 </UserObject>
46 <UserObject label="after the election" mermaidId="e:E->W#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" mermaidBaseValue="after the election" id="9">
47 <mxCell edge="1" parent="1" source="4" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" target="5">
48 <mxGeometry relative="1" as="geometry">
49 <Array as="points" />
50 </mxGeometry>
51 </mxCell>
52 </UserObject>
53 <UserObject label="θ partial sums" mermaidId="e:W->R#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" mermaidBaseValue="θ partial sums" id="10">
54 <mxCell edge="1" parent="1" source="5" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" target="6">
55 <mxGeometry relative="1" as="geometry">
56 <Array as="points" />
57 </mxGeometry>
58 </mxCell>
59 </UserObject>
60 </root>
61 </mxGraphModel>
62 </diagram>
63</mxfile>