sdk_common/doc/diagrams/PeerSendScore.drawio

216 lines
18 KiB
Plaintext

<mxfile host="Electron" modified="2024-03-19T15:35:56.023Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.0.4 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="Al5fgZMN55a2Y1B9BkoR" version="24.0.4" type="device">
<diagram name="Page-1" id="Otrc6uMBRTxKT1FdTouQ">
<mxGraphModel dx="607" dy="870" 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="6a6loub5tqMvz2bz5KWf-90" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="870" y="97" width="700" height="553" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;labelBackgroundColor=none;fontColor=#000000;" parent="1" source="6a6loub5tqMvz2bz5KWf-55" target="6a6loub5tqMvz2bz5KWf-11" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-58" value="OK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="6a6loub5tqMvz2bz5KWf-1" vertex="1" connectable="0">
<mxGeometry x="-0.344" y="4" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fontColor=#000000;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" target="6a6loub5tqMvz2bz5KWf-51" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1281.125" y="680" as="targetPoint" />
<Array as="points">
<mxPoint x="980" y="589" />
<mxPoint x="979" y="589" />
<mxPoint x="979" y="640" />
<mxPoint x="1560" y="640" />
<mxPoint x="1560" y="611" />
</Array>
<mxPoint x="980" y="609" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-78" value="OK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="6a6loub5tqMvz2bz5KWf-6" vertex="1" connectable="0">
<mxGeometry x="-0.9968" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-7" 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;" parent="1" source="6a6loub5tqMvz2bz5KWf-11" target="6a6loub5tqMvz2bz5KWf-46" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-8" value="KO" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="6a6loub5tqMvz2bz5KWf-7" vertex="1" connectable="0">
<mxGeometry x="-0.7441" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-77" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="6a6loub5tqMvz2bz5KWf-11" target="6a6loub5tqMvz2bz5KWf-53" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-11" value="pow_verify" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="919.5" y="455.38999999999993" width="120" height="51" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;labelBackgroundColor=none;fontColor=#000000;" parent="1" source="6a6loub5tqMvz2bz5KWf-16" target="6a6loub5tqMvz2bz5KWf-55" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="979" y="298.75" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-13" value="OK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=none;fontColor=#000000;" parent="6a6loub5tqMvz2bz5KWf-12" connectable="0" vertex="1">
<mxGeometry x="-0.0896" y="1" relative="1" as="geometry">
<mxPoint x="-1" y="-2" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-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;" parent="1" source="6a6loub5tqMvz2bz5KWf-16" target="6a6loub5tqMvz2bz5KWf-42" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-15" value="KO" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="6a6loub5tqMvz2bz5KWf-14" vertex="1" connectable="0">
<mxGeometry x="-0.7935" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-16" value="data_size_max_verify" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="919" y="303.09999999999997" width="120" height="51" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;labelBackgroundColor=none;fontColor=#000000;" parent="1" source="6a6loub5tqMvz2bz5KWf-29" target="6a6loub5tqMvz2bz5KWf-16" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-26" value="OK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=none;fontColor=#000000;" parent="6a6loub5tqMvz2bz5KWf-25" connectable="0" vertex="1">
<mxGeometry x="-0.34" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="6a6loub5tqMvz2bz5KWf-29" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1200" y="255.42857142857144" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-28" value="KO" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="6a6loub5tqMvz2bz5KWf-27" vertex="1" connectable="0">
<mxGeometry x="-0.7612" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-29" value="pow_timestamp_verify" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="919.5" y="229.99999999999994" width="120" height="51" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-36" 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;" parent="1" source="6a6loub5tqMvz2bz5KWf-82" target="6a6loub5tqMvz2bz5KWf-50" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1361" y="180" />
<mxPoint x="1460" y="180" />
<mxPoint x="1460" y="507" />
<mxPoint x="1459" y="507" />
</Array>
<mxPoint x="1360.75" y="134.44999999999993" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-39" 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;" parent="1" source="6a6loub5tqMvz2bz5KWf-40" target="6a6loub5tqMvz2bz5KWf-50" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-40" value="latency_score" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="1202.25" y="241.05" width="158.5" height="28.9" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-41" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="6a6loub5tqMvz2bz5KWf-42" target="6a6loub5tqMvz2bz5KWf-50" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-42" value="data_score" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="1202.25" y="314.15000000000003" width="158.5" height="28.9" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-45" 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;" parent="1" source="6a6loub5tqMvz2bz5KWf-46" target="6a6loub5tqMvz2bz5KWf-50" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-46" value="pow_score" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="1202" y="466.44" width="158.5" height="28.9" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-79" 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;" parent="1" source="6a6loub5tqMvz2bz5KWf-50" target="6a6loub5tqMvz2bz5KWf-51" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-50" value="peer_score_update" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="1380" y="599" width="157.75" height="23" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-51" value="peer_list" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="1590" y="599" width="157.75" height="23" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-73" 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;" parent="1" source="6a6loub5tqMvz2bz5KWf-53" target="6a6loub5tqMvz2bz5KWf-72" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-74" value="KO" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="6a6loub5tqMvz2bz5KWf-73" vertex="1" connectable="0">
<mxGeometry x="-0.7329" y="1" relative="1" as="geometry">
<mxPoint y="2" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-53" value="sp_tx_faucet &lt;br&gt;received ?" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="919" y="538" width="120" height="51" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-55" value="pow_difficulty_check" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="919.5" y="379.99999999999994" width="120" height="51" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-65" 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;" parent="1" target="6a6loub5tqMvz2bz5KWf-67" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1033" y="405.9" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-66" value="KO" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="6a6loub5tqMvz2bz5KWf-65" vertex="1" connectable="0">
<mxGeometry x="-0.7935" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-68" 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;" parent="1" source="6a6loub5tqMvz2bz5KWf-67" target="6a6loub5tqMvz2bz5KWf-50" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1460" y="510" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-67" value="pow_score" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="1196.25" y="391.05000000000007" width="158.5" height="28.9" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-75" 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;" parent="1" source="6a6loub5tqMvz2bz5KWf-72" target="6a6loub5tqMvz2bz5KWf-50" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-72" value="faucet_score" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="1196.25" y="549" width="158.5" height="28.9" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-76" value="OK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="1" vertex="1" connectable="0">
<mxGeometry x="988.778734352607" y="419.9496714466417" as="geometry">
<mxPoint x="-8" y="103" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-85" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="6a6loub5tqMvz2bz5KWf-80" target="6a6loub5tqMvz2bz5KWf-81" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-80" value="ping" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="900" y="107.00000000000003" width="158" height="28.9" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-86" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="6a6loub5tqMvz2bz5KWf-81" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1200" y="182.16666666666674" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-87" value="KO" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="6a6loub5tqMvz2bz5KWf-86" vertex="1" connectable="0">
<mxGeometry x="-0.7766" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-88" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="6a6loub5tqMvz2bz5KWf-81" target="6a6loub5tqMvz2bz5KWf-29" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-89" value="OK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="6a6loub5tqMvz2bz5KWf-88" vertex="1" connectable="0">
<mxGeometry x="-0.0963" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-81" value="ping_delay_ok" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="919" y="156.99999999999994" width="120" height="51" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-82" value="ping_score" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="1202.25" y="168.05" width="158.5" height="28.9" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-84" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="6a6loub5tqMvz2bz5KWf-83" target="6a6loub5tqMvz2bz5KWf-80" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6a6loub5tqMvz2bz5KWf-83" value="peer_socket" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="900" y="60" width="157.75" height="23" as="geometry" />
</mxCell>
<mxCell id="8eLAWt_BJWfjOTXwqVQD-1" value="PeerSendScore" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="1470" y="97" width="100" height="30" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>