-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGoodCoin.drawio
More file actions
34 lines (34 loc) · 3.9 KB
/
GoodCoin.drawio
File metadata and controls
34 lines (34 loc) · 3.9 KB
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
<mxfile host="app.diagrams.net" modified="2023-10-15T13:12:54.914Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36" etag="Y_VaKz_yGgDPH-McO3t5" version="22.0.4" type="device">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="1050" dy="534" 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="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="gqJCuq8gOx-s_yP6Kku9-0" value="CBlock" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="520" y="360" width="160" height="260" as="geometry" />
</mxCell>
<mxCell id="gqJCuq8gOx-s_yP6Kku9-1" value="+ data
+ previousBlock
+ previousHash
+ nonce
+ hash
" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="gqJCuq8gOx-s_yP6Kku9-0" vertex="1">
<mxGeometry y="26" width="160" height="104" as="geometry" />
</mxCell>
<mxCell id="gqJCuq8gOx-s_yP6Kku9-2" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="gqJCuq8gOx-s_yP6Kku9-0" vertex="1">
<mxGeometry y="130" width="160" height="8" as="geometry" />
</mxCell>
<mxCell id="gqJCuq8gOx-s_yP6Kku9-3" value="+ computeHash(): bytes
+ is_valid(): bool
+ addTx(Transaction): bool
+ mine(): CBlock" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="gqJCuq8gOx-s_yP6Kku9-0" vertex="1">
<mxGeometry y="138" width="160" height="122" as="geometry" />
</mxCell>
<mxCell id="gW4skHW4YHolpQn_PqeM-0" value="Signature" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="280" y="360" width="160" height="86" as="geometry" />
</mxCell>
<mxCell id="gW4skHW4YHolpQn_PqeM-1" value="+ field: type" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="gW4skHW4YHolpQn_PqeM-0">
<mxGeometry y="26" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="gW4skHW4YHolpQn_PqeM-2" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="gW4skHW4YHolpQn_PqeM-0">
<mxGeometry y="52" width="160" height="8" as="geometry" />
</mxCell>
<mxCell id="gW4skHW4YHolpQn_PqeM-3" value="+ method(type): type" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="gW4skHW4YHolpQn_PqeM-0">
<mxGeometry y="60" width="160" height="26" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>