-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtss-process.drawio
573 lines (573 loc) · 45.2 KB
/
tss-process.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
<mxfile host="app.diagrams.net" modified="2022-04-19T03:19:31.905Z" agent="5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.83 Safari/537.36" etag="lnowCnKuoWvh2N6i70os" version="17.4.3" type="github" pages="2">
<diagram id="DXfV26Vn87x0zs_EIKbh" name="Page-1">
<mxGraphModel dx="2013" dy="614" 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="1">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="CVYdMX1Olc9wnZOOx5qh-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-1" target="CVYdMX1Olc9wnZOOx5qh-5" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-9" value="packet" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-6" vertex="1" connectable="0">
<mxGeometry x="0.275" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-1" target="CVYdMX1Olc9wnZOOx5qh-7" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-10" value="ack" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-8" vertex="1" connectable="0">
<mxGeometry y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-1" value="check type" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="196" y="220" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-3" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.55;exitY=0.95;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-114" target="CVYdMX1Olc9wnZOOx5qh-1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="260" y="150" as="sourcePoint" />
<mxPoint x="260" y="210" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-4" value="1. event" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-3" vertex="1" connectable="0">
<mxGeometry x="-0.2571" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-14" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-5" target="CVYdMX1Olc9wnZOOx5qh-13" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-279.5" y="359" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-16" value="no" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-14" vertex="1" connectable="0">
<mxGeometry x="-0.0118" y="-2" relative="1" as="geometry">
<mxPoint y="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-50" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-5" target="CVYdMX1Olc9wnZOOx5qh-11" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-51" value="yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-50" vertex="1" connectable="0">
<mxGeometry x="-0.1833" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-5" value="if relay-chain mode?" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="-230" y="330" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-55" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-7" target="CVYdMX1Olc9wnZOOx5qh-54" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-58" value="no" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-55" vertex="1" connectable="0">
<mxGeometry x="0.2063" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-57" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-7" target="CVYdMX1Olc9wnZOOx5qh-56" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-59" value="yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-57" vertex="1" connectable="0">
<mxGeometry x="0.0462" y="2" relative="1" as="geometry">
<mxPoint y="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-7" value="if relay-chain mode?" style="whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="544" y="330" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-41" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-11" target="CVYdMX1Olc9wnZOOx5qh-40" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-42" value="no<br>(2nd relay)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-41" vertex="1" connectable="0">
<mxGeometry x="-0.225" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-137" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-11" target="CVYdMX1Olc9wnZOOx5qh-136" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-148" y="475" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-141" value="yes<br>(1st relay)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-137" vertex="1" connectable="0">
<mxGeometry x="-0.312" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-11" value="if relay to relay-chain(teleport)?" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="-60" y="445" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-34" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-13" target="CVYdMX1Olc9wnZOOx5qh-33" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-35" value="yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-34" vertex="1" connectable="0">
<mxGeometry x="0.1929" y="1" relative="1" as="geometry">
<mxPoint x="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-49" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-13" target="CVYdMX1Olc9wnZOOx5qh-19" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-53" value="no" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-49" vertex="1" connectable="0">
<mxGeometry x="0.2212" y="3" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-13" value="if free to relay?" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="-480" y="445" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-19" target="CVYdMX1Olc9wnZOOx5qh-27" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-31" value="yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-28" vertex="1" connectable="0">
<mxGeometry x="0.0083" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-30" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-19" target="CVYdMX1Olc9wnZOOx5qh-29" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-32" value="no" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-30" vertex="1" connectable="0">
<mxGeometry x="0.125" y="-4" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-19" value="if user's fee is enough to cover" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="-560.5" y="585" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-27" value="relay" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-480" y="701.1" width="89.5" height="50" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-134" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-29" target="CVYdMX1Olc9wnZOOx5qh-19" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-660" y="726" />
<mxPoint x="-660" y="615" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-135" value="retry" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-134" vertex="1" connectable="0">
<mxGeometry x="-0.2511" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-29" value="reject and retry next time" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-650" y="701.1" width="100.5" height="50" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-33" value="relay" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-380" y="585" width="70" height="50" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-44" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-40" target="CVYdMX1Olc9wnZOOx5qh-43" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-45" value="no" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-44" vertex="1" connectable="0">
<mxGeometry x="-0.325" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-47" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-40" target="CVYdMX1Olc9wnZOOx5qh-46" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-48" value="yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-47" vertex="1" connectable="0">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-40" value="if first packet relayer is from our group?" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="90" y="570.1" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-43" value="reject and delete" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="110" y="680" width="80" height="50" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-46" value="relay" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-10" y="680" width="80" height="50" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-152" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-54" target="CVYdMX1Olc9wnZOOx5qh-151" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-153" value="no" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-152" vertex="1" connectable="0">
<mxGeometry x="0.0637" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-54" value="if the packet relayer is from our group?" style="whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="390" y="430" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-96" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-56" target="CVYdMX1Olc9wnZOOx5qh-95" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-97" value="yes<br>(1st&nbsp;ack)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-96" vertex="1" connectable="0">
<mxGeometry x="-0.3375" y="-3" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-104" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-56" target="CVYdMX1Olc9wnZOOx5qh-103" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-105" value="no<br>(2nd ack)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-104" vertex="1" connectable="0">
<mxGeometry x="-0.2563" relative="1" as="geometry">
<mxPoint y="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-56" value="if relay to relay-chain(teleport)?" style="whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="704" y="430" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-66" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-60" target="CVYdMX1Olc9wnZOOx5qh-65" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-67" value="no" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-66" vertex="1" connectable="0">
<mxGeometry x="0.05" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-69" value="" 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="CVYdMX1Olc9wnZOOx5qh-60" target="CVYdMX1Olc9wnZOOx5qh-76" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="350" y="720" as="sourcePoint" />
<mxPoint x="290" y="828.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-70" value="yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-69" vertex="1" connectable="0">
<mxGeometry x="-0.0809" y="1" relative="1" as="geometry">
<mxPoint x="-50" y="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-60" value="if ack error?" style="whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="250" y="680" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-65" value="reject and delete" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="324" y="828.5" width="80" height="50" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-80" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-76" target="CVYdMX1Olc9wnZOOx5qh-79" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-81" value="no" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-80" vertex="1" connectable="0">
<mxGeometry x="-0.2759" y="3" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-83" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-76" target="CVYdMX1Olc9wnZOOx5qh-82" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-84" value="yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-83" vertex="1" connectable="0">
<mxGeometry x="-0.016" y="1" relative="1" as="geometry">
<mxPoint y="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-76" value="if user's fee is enough to relay ack" style="whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="180" y="828.5" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-132" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-79" target="CVYdMX1Olc9wnZOOx5qh-76" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="110" y="963.4000000000001" />
<mxPoint x="110" y="858.4" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-133" value="retry" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-132" vertex="1" connectable="0">
<mxGeometry x="-0.1454" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-79" value="reject and retry next time" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="140" y="933.5" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-82" value="relay" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="260" y="933.5" width="70" height="51" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-99" value="yes" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-95" target="CVYdMX1Olc9wnZOOx5qh-98" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-101" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-95" target="CVYdMX1Olc9wnZOOx5qh-100" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-102" value="no" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-101" vertex="1" connectable="0">
<mxGeometry x="-0.0444" y="1" relative="1" as="geometry">
<mxPoint y="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-95" value="if the related packet relayer is from our group?" style="whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="704" y="550" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-98" value="relay" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="774" y="663" width="70" height="41" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-100" value="reject and delete" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="674" y="663" width="80" height="46" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-109" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-103" target="CVYdMX1Olc9wnZOOx5qh-108" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-112" value="no" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-109" vertex="1" connectable="0">
<mxGeometry x="0.0267" y="-3" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-111" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-103" target="CVYdMX1Olc9wnZOOx5qh-110" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-113" value="yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-111" vertex="1" connectable="0">
<mxGeometry x="0.12" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-103" value="if the 1st ack relayer is from our group?" style="whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="904" y="549.6" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-108" value="reject and delete" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="854" y="689.6" width="90" height="50" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-110" value="relay" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="984" y="689.6" width="100" height="50" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-114" value="Block Chain" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="190" y="90" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-143" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-136" target="CVYdMX1Olc9wnZOOx5qh-142" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-144" value="yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-143" vertex="1" connectable="0">
<mxGeometry x="-0.1176" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-147" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-136" target="CVYdMX1Olc9wnZOOx5qh-146" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-148" value="no" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-147" vertex="1" connectable="0">
<mxGeometry x="0.2007" y="2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-136" value="if user's fee is enough to cover all paths" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="-208" y="579.6" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-142" value="relay" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-98" y="699.2" width="70" height="40" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-149" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-146" target="CVYdMX1Olc9wnZOOx5qh-136" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-150" value="retry" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-149" vertex="1" connectable="0">
<mxGeometry x="-0.026" y="2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-146" value="reject and retry next time" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-258" y="699.2" width="80" height="40.4" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-151" value="reject and delete" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="500" y="570.1" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-161" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-158" target="CVYdMX1Olc9wnZOOx5qh-60" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-162" value="no" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-161" vertex="1" connectable="0">
<mxGeometry x="-0.1151" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-163" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-158" target="CVYdMX1Olc9wnZOOx5qh-166" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="478" y="680" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-165" value="yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-163" vertex="1" connectable="0">
<mxGeometry x="0.1712" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-158" value="if the packet has fee paid" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="250" y="570.1" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-159" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-54" target="CVYdMX1Olc9wnZOOx5qh-158" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="390" y="460" as="sourcePoint" />
<mxPoint x="350" y="620" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-160" value="yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-159" vertex="1" connectable="0">
<mxGeometry x="-0.1342" y="2" relative="1" as="geometry">
<mxPoint x="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-168" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-166" target="CVYdMX1Olc9wnZOOx5qh-167" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-169" value="yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-168" vertex="1" connectable="0">
<mxGeometry x="-0.1675" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-171" 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="CVYdMX1Olc9wnZOOx5qh-166" target="CVYdMX1Olc9wnZOOx5qh-173" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="570" y="828.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-172" value="no" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-171" vertex="1" connectable="0">
<mxGeometry x="0.0786" y="2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-166" value="if user's fee is enough to relay ack?" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="420" y="679.2" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-167" value="relay" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="414" y="833.1" width="70" height="40.8" as="geometry" />
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-174" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="CVYdMX1Olc9wnZOOx5qh-173" target="CVYdMX1Olc9wnZOOx5qh-166" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="630" y="855" />
<mxPoint x="630" y="709" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-175" value="retry" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="CVYdMX1Olc9wnZOOx5qh-174" vertex="1" connectable="0">
<mxGeometry x="-0.2325" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="CVYdMX1Olc9wnZOOx5qh-173" value="reject and retry next time" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="520" y="831.5" width="80" height="47" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="FLtivUJ3q1mBT9lOyCyS" name="Page-2">
<mxGraphModel dx="1186" dy="614" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-63" value="" style="rounded=1;whiteSpace=wrap;html=1;dashed=1;" parent="1" vertex="1">
<mxGeometry x="690" y="448.75" width="190" height="460" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-52" value="" style="rounded=1;whiteSpace=wrap;html=1;dashed=1;" parent="1" vertex="1">
<mxGeometry x="230" y="458.75" width="380" height="422.5" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-35" value="" style="rounded=1;whiteSpace=wrap;html=1;dashed=1;" parent="1" vertex="1">
<mxGeometry x="290" y="588.75" width="250" height="250" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="ElTv4H9y9XHrSnAEY-Ta-14" target="ElTv4H9y9XHrSnAEY-Ta-20" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="220" y="340" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-17" value="触发tssnode run book" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="ElTv4H9y9XHrSnAEY-Ta-16" vertex="1" connectable="0">
<mxGeometry x="-0.2" y="-4" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-14" value="Actor" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" parent="1" vertex="1">
<mxGeometry x="10" y="310" width="30" height="60" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="ElTv4H9y9XHrSnAEY-Ta-20" target="ElTv4H9y9XHrSnAEY-Ta-26" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-20" value="获取config.toml中的密文" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="180" y="310" width="110" height="60" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-24" value="<b><span>config.toml:</span><br></b><span>kms_aksk:</span><br><span>s3_aksk:</span><br><span>sm_aksk:</span><br><span>xor_key:<br><br>private_key:<br>......<br></span>" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="182.5" y="110" width="105" height="120" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-46" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="ElTv4H9y9XHrSnAEY-Ta-26" target="ElTv4H9y9XHrSnAEY-Ta-45" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-26" value="调用tool,恢复明文" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="355" y="310" width="110" height="60" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-28" value="" style="shape=flexArrow;endArrow=classic;startArrow=classic;html=1;rounded=0;" parent="1" edge="1">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="234.5" y="240" as="sourcePoint" />
<mxPoint x="234.5" y="300" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-31" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="ElTv4H9y9XHrSnAEY-Ta-29" target="ElTv4H9y9XHrSnAEY-Ta-30" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-49" value="传入密文,以及AES key的密文" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="ElTv4H9y9XHrSnAEY-Ta-31" vertex="1" connectable="0">
<mxGeometry x="-0.35" y="2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-29" value="调用SO中的恢复明文的方法" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="355" y="468.75" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-33" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="ElTv4H9y9XHrSnAEY-Ta-30" target="ElTv4H9y9XHrSnAEY-Ta-32" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-30" value="访问KMS,恢复AES key" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="355" y="648.75" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-32" value="AES decrypt data, 恢复明文" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="355" y="758.75" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-36" value="<b>SO File</b><br>(写死访问kms2的aksk)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="290" y="598.75" width="90" height="35" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-41" value="KMS2" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="20" y="638.75" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-43" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="340" y="678.75" as="sourcePoint" />
<mxPoint x="150" y="678.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-44" value="aksk" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="ElTv4H9y9XHrSnAEY-Ta-43" vertex="1" connectable="0">
<mxGeometry x="-0.2133" y="2" relative="1" as="geometry">
<mxPoint y="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-48" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="ElTv4H9y9XHrSnAEY-Ta-45" target="ElTv4H9y9XHrSnAEY-Ta-47" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-45" value="得到明文,写进环境变量,TSS_***" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="530" y="310" width="110" height="60" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-47" value="启动tss node" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="730" y="310" width="110" height="60" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-51" value="" style="shape=flexArrow;endArrow=classic;startArrow=classic;html=1;rounded=0;" parent="1" edge="1">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="414.5" y="450" as="sourcePoint" />
<mxPoint x="414.5" y="380" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-53" value="<b>Tool</b><br>(写死AES key的密文)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;dashed=1;" parent="1" vertex="1">
<mxGeometry x="250" y="478.75" width="80" height="30" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-55" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="790" y="381.25" as="sourcePoint" />
<mxPoint x="790.5" y="442.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-58" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="ElTv4H9y9XHrSnAEY-Ta-56" target="ElTv4H9y9XHrSnAEY-Ta-57" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-56" value="通过明文aksk访问s3, sm获取私钥分片密文" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="722" y="460" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-60" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="ElTv4H9y9XHrSnAEY-Ta-57" target="ElTv4H9y9XHrSnAEY-Ta-59" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-57" value="访问kms1恢复分片明文" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="722" y="571.25" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-62" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="ElTv4H9y9XHrSnAEY-Ta-59" target="ElTv4H9y9XHrSnAEY-Ta-61" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-59" value="通过异或恢复实际分片" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="722" y="685" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-61" value="通过shamir算法恢复私钥" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="722" y="801.25" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ElTv4H9y9XHrSnAEY-Ta-64" value="<h1>备注</h1><p>1)改过程用于恢复local_state文件内容<br><br>2)local_state的文件内容在首次签名使用时恢复,后存放在内存中<br><br>3)private key, 使用so加密,在run book中恢复,并注入到环境变量中使用即可,无需分片异或混淆计算<br><br>4)生成新的私钥文件时,使用相反过程加密<br><br>5)tool工具需要另外有调用SO的加密方法,用来线下操作,生成各项密文</p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;dashed=1;" parent="1" vertex="1">
<mxGeometry x="910" y="529" width="309" height="229" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>