|
1 | | -<mxfile host="drawio-plugin" modified="2026-03-03T12:50:41.108Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36" etag="HPPTipklbq4WSBNd3bmE" version="22.1.22" type="embed"> |
| 1 | +<mxfile host="drawio-plugin" modified="2026-03-04T13:44:54.239Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36" etag="N3SYCEXVYOUo0RP3hA44" version="22.1.22" type="embed"> |
2 | 2 | <diagram name="Page-1" id="4t2JOigZqfDRrmz9JXpL"> |
3 | | - <mxGraphModel dx="1408" dy="1236" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="827" pageHeight="1169" background="#FFFFFF" math="1" shadow="0"> |
| 3 | + <mxGraphModel dx="1560" dy="1241" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="827" pageHeight="1169" background="#FFFFFF" math="1" shadow="0"> |
4 | 4 | <root> |
5 | 5 | <mxCell id="0" /> |
6 | 6 | <mxCell id="1" parent="0" /> |
|
63 | 63 | <mxPoint x="840" y="205" as="targetPoint" /> |
64 | 64 | </mxGeometry> |
65 | 65 | </mxCell> |
66 | | - <mxCell id="40" value="SwapTx" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#d0cee2;strokeColor=#56517e;" parent="1" vertex="1"> |
| 66 | + <mxCell id="40" value="SwapTx" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#e1d5e7;strokeColor=#9673a6;" parent="1" vertex="1"> |
67 | 67 | <mxGeometry x="580" y="480" width="260" height="90" as="geometry" /> |
68 | 68 | </mxCell> |
69 | 69 | <mxCell id="41" value="<b>Output 0:</b><br>key spend to Alice's Wallet" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;" parent="40" vertex="1"> |
|
89 | 89 | <mxCell id="62" value="<b><font style="font-size: 14px;">Output n + 1:</font></b> anchor output<br><b>key spend:</b> Pubkey of Bob / Alice" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;" parent="44" vertex="1"> |
90 | 90 | <mxGeometry y="80" width="180" height="50" as="geometry" /> |
91 | 91 | </mxCell> |
92 | | - <mxCell id="60" value="<h1>Transactions&nbsp;</h1><p><span style="background-color: rgb(255, 230, 204);">Funding transaction. Keys / Signature for spending come from the wallet crate. The signatures for all other transaction are made ny the protocol crate.</span></p><p><span style="background-color: rgb(213, 232, 212);">Only the DepositTx is broadcasted at the time of creation, the transactions right of it will the problem that the necessary fee rate is not known for the time they are broadcasted.</span></p><p></p><p></p><p><span style="background-color: rgb(208, 206, 226);">These transaction are presigned. They are created when the trade starts (and the DepositTx is broadcast). They need to be signed at the time when both traders are online.</span></p><p><span style="background-color: rgb(176, 227, 230);">CustomTx, ClaimTx and PunishTx are transaction created on demand. <span style="font-size: 10px;">The Addresses will be genereated only when needed.</span></span></p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="1" vertex="1"> |
| 92 | + <mxCell id="60" value="<h1>Transactions&nbsp;</h1><p><span style="background-color: rgb(255, 230, 204);">Funding transaction. Keys / Signature for spending come from the wallet crate. The signatures for all other transaction are made ny the protocol crate.</span></p><p><span style="background-color: rgb(213, 232, 212);">Only the DepositTx is broadcasted at the time of creation, the transactions right of it will the problem that the necessary fee rate is not known for the time they are broadcasted.</span></p><p></p><p></p><p><span style="background-color: rgb(225, 213, 231);">These transaction are presigned. They are created when the trade starts (and the DepositTx is broadcast). They need to be signed at the time when both traders are online.</span></p><p><span style="background-color: rgb(176, 227, 230);">CustomTx, ClaimTx and PunishTx are transaction created on demand. <span style="font-size: 10px;">The Addresses will be genereated only when needed.</span></span></p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="1" vertex="1"> |
93 | 93 | <mxGeometry x="30" y="530" width="460" height="260" as="geometry" /> |
94 | 94 | </mxCell> |
95 | 95 | <mxCell id="64" value="Punish Tx<br>Bob / Alice" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#b0e3e6;strokeColor=#0e8088;" parent="1" vertex="1"> |
|
0 commit comments