-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAleo矿池.drawio
94 lines (94 loc) · 8.06 KB
/
Aleo矿池.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36" version="24.7.17">
<diagram name="Page-1" id="4ba9AhxMKBvxTWhoMoW5">
<mxGraphModel dx="1145" dy="543" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="RuqaMxYV2GJsFRN-mBYs-4" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="RuqaMxYV2GJsFRN-mBYs-1" target="RuqaMxYV2GJsFRN-mBYs-3">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-5" value="Websocket(TLS)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="RuqaMxYV2GJsFRN-mBYs-4">
<mxGeometry x="0.2485" y="-2" relative="1" as="geometry">
<mxPoint x="-19" y="-2" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-1" value="Client" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="90" y="200" width="100" height="90" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="RuqaMxYV2GJsFRN-mBYs-3" target="RuqaMxYV2GJsFRN-mBYs-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-9" value="根据Epoch进行<div>1.Nonce去重<div>2.Share累加</div></div>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="RuqaMxYV2GJsFRN-mBYs-8">
<mxGeometry x="0.1018" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-3" value="Server" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="420" y="200" width="100" height="90" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="RuqaMxYV2GJsFRN-mBYs-7" target="RuqaMxYV2GJsFRN-mBYs-11">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-13" value="Persister持久化" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="RuqaMxYV2GJsFRN-mBYs-12">
<mxGeometry x="-0.0895" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-7" value="Redis" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="670" y="200" width="100" height="90" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-11" value="PG" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="910" y="200" width="100" height="90" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="RuqaMxYV2GJsFRN-mBYs-16" target="RuqaMxYV2GJsFRN-mBYs-17">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-15" value="Websocket(TLS)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="RuqaMxYV2GJsFRN-mBYs-14">
<mxGeometry x="0.2485" y="-2" relative="1" as="geometry">
<mxPoint x="-19" y="-2" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-16" value="Client" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="90" y="450" width="100" height="90" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="RuqaMxYV2GJsFRN-mBYs-17" target="RuqaMxYV2GJsFRN-mBYs-20">
<mxGeometry relative="1" as="geometry">
<mxPoint x="640" y="495" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-22" value="1.限流(单个连接一分钟6个)<div>2.初步校验过滤不满足条件的</div><div>- address</div><div>- target</div><div>- epoch</div><div>- nonce</div><div>3.添加一个UUID作为请求唯一ID</div>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="RuqaMxYV2GJsFRN-mBYs-18">
<mxGeometry x="-0.19" y="2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-17" value="Server" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="420" y="450" width="100" height="90" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="RuqaMxYV2GJsFRN-mBYs-20" target="RuqaMxYV2GJsFRN-mBYs-26">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="RuqaMxYV2GJsFRN-mBYs-20" target="RuqaMxYV2GJsFRN-mBYs-24">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-20" value="Kafka" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="800" y="450" width="100" height="90" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="RuqaMxYV2GJsFRN-mBYs-24" target="RuqaMxYV2GJsFRN-mBYs-29">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-24" value="Verifier" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="1120" y="350" width="100" height="90" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-31" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="RuqaMxYV2GJsFRN-mBYs-26" target="RuqaMxYV2GJsFRN-mBYs-29">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-26" value="Verifier" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="1120" y="570" width="100" height="90" as="geometry" />
</mxCell>
<mxCell id="RuqaMxYV2GJsFRN-mBYs-29" value="PG" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="1410" y="450" width="100" height="90" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>