sdk_common/doc/diagrams/RelayEnvelopeReceived.drawio

179 lines
15 KiB
Plaintext

<mxfile host="Electron" modified="2024-04-12T09:22:06.638Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.1.0 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="iOt5_EuXMAbX9im4eQLX" version="24.1.0" type="device">
<diagram name="Page-1" id="wKya6_9cVaX_OwqrHy0P">
<mxGraphModel dx="989" dy="600" 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="lUtrUhSS5DsyC9wEvYwb-7" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="820" y="91" width="360" height="589" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-1" value="EnvelopeReceived" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=1;fontStyle=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="827" y="91" width="158" height="30" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-2" 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="OJyx8rHUgYEJOKxLf1JB-4" target="OJyx8rHUgYEJOKxLf1JB-6" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-3" value="OK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=none;fontColor=#000000;" parent="OJyx8rHUgYEJOKxLf1JB-2" connectable="0" vertex="1">
<mxGeometry x="-0.3576" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-4" value="pow_hash_verify (without peer_list &amp;amp; process_list)" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="919" y="371.74999999999994" width="120" height="51" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-5" 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="OJyx8rHUgYEJOKxLf1JB-6" target="OJyx8rHUgYEJOKxLf1JB-11" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-6" value="pow_verify" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="919" y="451.38999999999993" width="120" height="51" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-7" 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="OJyx8rHUgYEJOKxLf1JB-9" target="OJyx8rHUgYEJOKxLf1JB-4" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-8" value="OK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=none;fontColor=#000000;" parent="OJyx8rHUgYEJOKxLf1JB-7" 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="OJyx8rHUgYEJOKxLf1JB-9" value="data_size_max_verify" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="919" y="293.09999999999997" width="120" height="51" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=none;fontColor=#000000;" parent="1" source="OJyx8rHUgYEJOKxLf1JB-11" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="978" y="560.0999999999999" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-11" value="peer_list_merge" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="918" y="519.0999999999999" width="120" height="23" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-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="OJyx8rHUgYEJOKxLf1JB-13" target="OJyx8rHUgYEJOKxLf1JB-14" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="OJyx8rHUgYEJOKxLf1JB-6" target="OJyx8rHUgYEJOKxLf1JB-31" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="978" y="502" />
<mxPoint x="978" y="508" />
<mxPoint x="1250" y="508" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-13" value="process_list_merge" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="918" y="600.2100000000002" width="120" height="23" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.529;entryY=0.004;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="OJyx8rHUgYEJOKxLf1JB-14" target="lUtrUhSS5DsyC9wEvYwb-5" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="976" y="663" />
<mxPoint x="976" y="698" />
</Array>
<mxPoint x="975.24" y="764.44" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.484;exitY=1.026;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="OJyx8rHUgYEJOKxLf1JB-14" target="lUtrUhSS5DsyC9wEvYwb-6" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="976" y="668" />
<mxPoint x="1110" y="668" />
</Array>
<mxPoint x="1116" y="763" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-14" value="sp_tx_faucet_send" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="918" y="640.2400000000001" width="120" height="23" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-15" 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="OJyx8rHUgYEJOKxLf1JB-16" target="OJyx8rHUgYEJOKxLf1JB-13" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-16" value="new_peer_connect" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="918" y="557.3899999999999" width="120" height="23" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-17" 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="OJyx8rHUgYEJOKxLf1JB-19" target="OJyx8rHUgYEJOKxLf1JB-9" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-18" value="OK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=none;fontColor=#000000;" parent="OJyx8rHUgYEJOKxLf1JB-17" connectable="0" vertex="1">
<mxGeometry x="-0.34" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-19" value="pow_timestamp_verify" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="919.5" y="217.99999999999994" width="120" height="51" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-21" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="OJyx8rHUgYEJOKxLf1JB-20" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="976.76" y="190" as="sourcePoint" />
<mxPoint x="979" y="220" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="adsNonSIZcPyo-MSOUWx-1" value="OK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="OJyx8rHUgYEJOKxLf1JB-21">
<mxGeometry x="-0.0873" y="3" relative="1" as="geometry">
<mxPoint x="-2" y="-8" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-20" value="Envelope hash&lt;div&gt;exist in memory ?&lt;/div&gt;" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="919" y="127.99999999999994" width="120" height="51" as="geometry" />
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-30" 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" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="840" y="712" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="OJyx8rHUgYEJOKxLf1JB-31" value="Envelope hash saved in memery" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="1189" y="519.1" width="120" height="28.9" as="geometry" />
</mxCell>
<mxCell id="lUtrUhSS5DsyC9wEvYwb-3" 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="lUtrUhSS5DsyC9wEvYwb-12" target="OJyx8rHUgYEJOKxLf1JB-20" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="lUtrUhSS5DsyC9wEvYwb-1" value="socketConnect" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="919.5" y="10" width="120" height="28.9" as="geometry" />
</mxCell>
<mxCell id="lUtrUhSS5DsyC9wEvYwb-4" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="lUtrUhSS5DsyC9wEvYwb-14" target="OJyx8rHUgYEJOKxLf1JB-20" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="980" y="111" as="targetPoint" />
<mxPoint x="1142" y="80" as="sourcePoint" />
<Array as="points">
<mxPoint x="1142" y="101" />
<mxPoint x="979" y="101" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="lUtrUhSS5DsyC9wEvYwb-2" value="socketEnvelope" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="1081.5" y="10" width="120" height="28.9" as="geometry" />
</mxCell>
<mxCell id="lUtrUhSS5DsyC9wEvYwb-5" value="Envelope process_list update" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="912" y="698" width="120" height="33" as="geometry" />
</mxCell>
<mxCell id="lUtrUhSS5DsyC9wEvYwb-6" value="Envelope peer_list update" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="1050" y="698" width="120" height="33" as="geometry" />
</mxCell>
<mxCell id="lUtrUhSS5DsyC9wEvYwb-9" 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="lUtrUhSS5DsyC9wEvYwb-8" target="OJyx8rHUgYEJOKxLf1JB-20" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1280" y="111" />
<mxPoint x="979" y="111" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="lUtrUhSS5DsyC9wEvYwb-8" value="Envelope hash saved in memery" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="1221.5" y="10.000000000000007" width="120" height="28.9" as="geometry" />
</mxCell>
<mxCell id="lUtrUhSS5DsyC9wEvYwb-13" value="" 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="lUtrUhSS5DsyC9wEvYwb-1" target="lUtrUhSS5DsyC9wEvYwb-12" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="980" y="39" as="sourcePoint" />
<mxPoint x="979" y="121" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="lUtrUhSS5DsyC9wEvYwb-12" value="EnvelopeConnect" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="919.5" y="50" width="120" height="28.9" as="geometry" />
</mxCell>
<mxCell id="lUtrUhSS5DsyC9wEvYwb-14" value="Envelope" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="1082" y="50" width="120" height="28.9" as="geometry" />
</mxCell>
<mxCell id="lUtrUhSS5DsyC9wEvYwb-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.486;entryY=0.05;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="lUtrUhSS5DsyC9wEvYwb-2" target="lUtrUhSS5DsyC9wEvYwb-14" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>