assets/nakamoto/nakamoto-architecture.svg 29.7 KiB raw
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="935px" height="738px" viewBox="-0.5 -0.5 935 738" style="background-color: rgb(0, 0, 0);">
4
    <defs>
5
      <style type="text/css">
6
        * {
7
          font-family: Helvetica, Arial, sans-serif;
8
        }
9
      </style>
10
    </defs>
11
    <g>
12
      <rect x="0" y="0" width="924" height="727" fill="none" stroke="#7fffd4" pointer-events="all"/>
13
      <rect x="769" y="372" width="120" height="60" fill="none" stroke="#7fffd4" stroke-width="2" pointer-events="all"/>
14
      <g transform="translate(-0.5 -0.5)">
15
        <switch>
16
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
17
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 402px; margin-left: 770px;">
18
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
19
                <div style="display: inline-block; font-size: 12px; color: #0000FF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
20
                  <font color="#7fffd4">
21
                    BlockTree
22
                  </font>
23
                </div>
24
              </div>
25
            </div>
26
          </foreignObject>
27
          <text x="829" y="406" fill="#0000FF" font-size="12px" text-anchor="middle">
28
            BlockTree
29
          </text>
30
        </switch>
31
      </g>
32
      <rect x="265" y="148" width="120" height="60" fill="none" stroke="#7fffd4" stroke-width="2" pointer-events="all"/>
33
      <g transform="translate(-0.5 -0.5)">
34
        <switch>
35
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
36
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 178px; margin-left: 266px;">
37
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
38
                <div style="display: inline-block; font-size: 12px; color: #0000FF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
39
                  <font color="#7fffd4">
40
                    Filters
41
                  </font>
42
                </div>
43
              </div>
44
            </div>
45
          </foreignObject>
46
          <text x="325" y="182" fill="#0000FF" font-size="12px" text-anchor="middle">
47
            Filters
48
          </text>
49
        </switch>
50
      </g>
51
      <path d="M 610 533 L 610 438.37" fill="none" stroke="#ffffff" stroke-miterlimit="10" pointer-events="stroke"/>
52
      <path d="M 610 433.12 L 613.5 440.12 L 610 438.37 L 606.5 440.12 Z" fill="#ffffff" stroke="#ffffff" stroke-miterlimit="10" pointer-events="all"/>
53
      <rect x="550" y="533" width="120" height="60" fill="none" stroke="#ffffff" stroke-width="2" pointer-events="all"/>
54
      <g transform="translate(-0.5 -0.5)">
55
        <switch>
56
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
57
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 563px; margin-left: 551px;">
58
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
59
                <div style="display: inline-block; font-size: 12px; color: #FFFFFF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
60
                  Client
61
                </div>
62
              </div>
63
            </div>
64
          </foreignObject>
65
          <text x="610" y="567" fill="#FFFFFF" font-size="12px" text-anchor="middle">
66
            Client
67
          </text>
68
        </switch>
69
      </g>
70
      <path d="M 829 304 L 829 364.29" fill="none" stroke="#7fffd4" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/>
71
      <path d="M 829 371.29 L 825.5 367.79 L 829 364.29 L 832.5 367.79 Z" fill="#7fffd4" stroke="#7fffd4" stroke-miterlimit="10" pointer-events="all"/>
72
      <path d="M 829 244 L 829 196.37" fill="none" stroke="#ffffff" stroke-miterlimit="10" pointer-events="stroke"/>
73
      <path d="M 829 191.12 L 832.5 198.12 L 829 196.37 L 825.5 198.12 Z" fill="#ffffff" stroke="#ffffff" stroke-miterlimit="10" pointer-events="all"/>
74
      <rect x="769" y="244" width="120" height="60" fill="none" stroke="#ffffff" stroke-width="2" pointer-events="all"/>
75
      <g transform="translate(-0.5 -0.5)">
76
        <switch>
77
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
78
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 274px; margin-left: 770px;">
79
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
80
                <div style="display: inline-block; font-size: 12px; color: #FFFFFF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
81
                  BlockCache
82
                </div>
83
              </div>
84
            </div>
85
          </foreignObject>
86
          <text x="829" y="278" fill="#FFFFFF" font-size="12px" text-anchor="middle">
87
            BlockCache
88
          </text>
89
        </switch>
90
      </g>
91
      <rect x="769" y="130" width="120" height="60" fill="none" stroke="#7fffd4" stroke-width="2" pointer-events="all"/>
92
      <g transform="translate(-0.5 -0.5)">
93
        <switch>
94
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
95
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 160px; margin-left: 770px;">
96
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
97
                <div style="display: inline-block; font-size: 12px; color: #0000FF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
98
                  <font color="#7fffd4">
99
                    Store
100
                  </font>
101
                </div>
102
              </div>
103
            </div>
104
          </foreignObject>
105
          <text x="829" y="164" fill="#0000FF" font-size="12px" text-anchor="middle">
106
            Store
107
          </text>
108
        </switch>
109
      </g>
110
      <path d="M 746 160 L 766 160 L 749 160 L 761.29 160" fill="none" stroke="#7fffd4" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/>
111
      <path d="M 768.29 160 L 764.79 163.5 L 761.29 160 L 764.79 156.5 Z" fill="#7fffd4" stroke="#7fffd4" stroke-miterlimit="10" pointer-events="all"/>
112
      <rect x="550" y="130" width="196" height="60" fill="none" stroke="#ffffff" stroke-width="2" pointer-events="all"/>
113
      <g transform="translate(-0.5 -0.5)">
114
        <switch>
115
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
116
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 194px; height: 1px; padding-top: 160px; margin-left: 551px;">
117
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
118
                <div style="display: inline-block; font-size: 12px; color: #FFFFFF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
119
                  store::File&lt;BlockHeader&gt;
120
                </div>
121
              </div>
122
            </div>
123
          </foreignObject>
124
          <text x="648" y="164" fill="#FFFFFF" font-size="12px" text-anchor="middle">
125
            store::File&lt;BlockHeader&gt;
126
          </text>
127
        </switch>
128
      </g>
129
      <path d="M 748 75 L 829 75 L 829 122.29" fill="none" stroke="#7fffd4" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/>
130
      <path d="M 829 129.29 L 825.5 125.79 L 829 122.29 L 832.5 125.79 Z" fill="#7fffd4" stroke="#7fffd4" stroke-miterlimit="10" pointer-events="all"/>
131
      <rect x="550" y="45" width="198" height="60" fill="none" stroke="#ffffff" stroke-width="2" pointer-events="all"/>
132
      <g transform="translate(-0.5 -0.5)">
133
        <switch>
134
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
135
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 196px; height: 1px; padding-top: 75px; margin-left: 551px;">
136
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
137
                <div style="display: inline-block; font-size: 12px; color: #FFFFFF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
138
                  store::Memory&lt;BlockHeader&gt;
139
                </div>
140
              </div>
141
            </div>
142
          </foreignObject>
143
          <text x="649" y="79" fill="#FFFFFF" font-size="12px" text-anchor="middle">
144
            store::Memory&lt;BlockHeader&gt;
145
          </text>
146
        </switch>
147
      </g>
148
      <path d="M 237 178 L 257 178 L 245 178 L 257.29 178" fill="none" stroke="#7fffd4" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/>
149
      <path d="M 264.29 178 L 260.79 181.5 L 257.29 178 L 260.79 174.5 Z" fill="#7fffd4" stroke="#7fffd4" stroke-miterlimit="10" pointer-events="all"/>
150
      <rect x="48" y="148" width="189" height="60" fill="none" stroke="#ffffff" stroke-width="2" pointer-events="all"/>
151
      <g transform="translate(-0.5 -0.5)">
152
        <switch>
153
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
154
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 187px; height: 1px; padding-top: 178px; margin-left: 49px;">
155
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
156
                <div style="display: inline-block; font-size: 12px; color: #FFFFFF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
157
                  store::File&lt;FilterHeader&gt;
158
                </div>
159
              </div>
160
            </div>
161
          </foreignObject>
162
          <text x="143" y="182" fill="#FFFFFF" font-size="12px" text-anchor="middle">
163
            store::File&lt;FilterHeader&gt;
164
          </text>
165
        </switch>
166
      </g>
167
      <path d="M 238 100 L 325 100 L 325 140.29" fill="none" stroke="#7fffd4" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/>
168
      <path d="M 325 147.29 L 321.5 143.79 L 325 140.29 L 328.5 143.79 Z" fill="#7fffd4" stroke="#7fffd4" stroke-miterlimit="10" pointer-events="all"/>
169
      <rect x="48" y="70" width="190" height="60" fill="none" stroke="#ffffff" stroke-width="2" pointer-events="all"/>
170
      <g transform="translate(-0.5 -0.5)">
171
        <switch>
172
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
173
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 188px; height: 1px; padding-top: 100px; margin-left: 49px;">
174
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
175
                <div style="display: inline-block; font-size: 12px; color: #FFFFFF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
176
                  store::Memory&lt;FilterHeader&gt;
177
                </div>
178
              </div>
179
            </div>
180
          </foreignObject>
181
          <text x="143" y="104" fill="#FFFFFF" font-size="12px" text-anchor="middle">
182
            store::Memory&lt;FilterHeader&gt;
183
          </text>
184
        </switch>
185
      </g>
186
      <path d="M 670 402 L 762.63 402" fill="none" stroke="#ffffff" stroke-miterlimit="10" pointer-events="stroke"/>
187
      <path d="M 767.88 402 L 760.88 405.5 L 762.63 402 L 760.88 398.5 Z" fill="#ffffff" stroke="#ffffff" stroke-miterlimit="10" pointer-events="all"/>
188
      <path d="M 610 372 L 610 290 L 355 290 L 355 214.37" fill="none" stroke="#ffffff" stroke-miterlimit="10" pointer-events="stroke"/>
189
      <path d="M 355 209.12 L 358.5 216.12 L 355 214.37 L 351.5 216.12 Z" fill="#ffffff" stroke="#ffffff" stroke-miterlimit="10" pointer-events="all"/>
190
      <path d="M 580 432 L 580 487 L 457.37 487" fill="none" stroke="#ffffff" stroke-miterlimit="10" pointer-events="stroke"/>
191
      <path d="M 452.12 487 L 459.12 483.5 L 457.37 487 L 459.12 490.5 Z" fill="#ffffff" stroke="#ffffff" stroke-miterlimit="10" pointer-events="all"/>
192
      <rect x="550" y="372" width="120" height="60" fill="none" stroke="#7fffd4" stroke-width="2" pointer-events="all"/>
193
      <g transform="translate(-0.5 -0.5)">
194
        <switch>
195
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
196
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 402px; margin-left: 551px;">
197
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
198
                <div style="display: inline-block; font-size: 12px; color: #0000FF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
199
                  <font color="#7fffd4">
200
                    Reactor
201
                  </font>
202
                </div>
203
              </div>
204
            </div>
205
          </foreignObject>
206
          <text x="610" y="406" fill="#0000FF" font-size="12px" text-anchor="middle">
207
            Reactor
208
          </text>
209
        </switch>
210
      </g>
211
      <path d="M 451 402 L 542.29 402" fill="none" stroke="#7fffd4" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/>
212
      <path d="M 549.29 402 L 545.79 405.5 L 542.29 402 L 545.79 398.5 Z" fill="#7fffd4" stroke="#7fffd4" stroke-miterlimit="10" pointer-events="all"/>
213
      <rect x="331" y="372" width="120" height="60" fill="none" stroke="#ffffff" stroke-width="2" pointer-events="all"/>
214
      <g transform="translate(-0.5 -0.5)">
215
        <switch>
216
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
217
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 402px; margin-left: 332px;">
218
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
219
                <div style="display: inline-block; font-size: 12px; color: #FFFFFF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
220
                  poll::Reactor
221
                </div>
222
              </div>
223
            </div>
224
          </foreignObject>
225
          <text x="391" y="406" fill="#FFFFFF" font-size="12px" text-anchor="middle">
226
            poll::Reactor
227
          </text>
228
        </switch>
229
      </g>
230
      <path d="M 391 517 L 391 630 L 836.2 630 L 836.2 439.75" fill="none" stroke="#ffffff" stroke-miterlimit="10" pointer-events="stroke"/>
231
      <path d="M 836.2 434.5 L 839.7 441.5 L 836.2 439.75 L 832.7 441.5 Z" fill="#ffffff" stroke="#ffffff" stroke-miterlimit="10" pointer-events="all"/>
232
      <path d="M 331 487 L 267 487 L 267 295 L 209.37 295" fill="none" stroke="#ffffff" stroke-miterlimit="10" pointer-events="stroke"/>
233
      <path d="M 204.12 295 L 211.12 291.5 L 209.37 295 L 211.12 298.5 Z" fill="#ffffff" stroke="#ffffff" stroke-miterlimit="10" pointer-events="all"/>
234
      <path d="M 331 487 L 267 487 L 267 365 L 209.37 365" fill="none" stroke="#ffffff" stroke-miterlimit="10" pointer-events="stroke"/>
235
      <path d="M 204.12 365 L 211.12 361.5 L 209.37 365 L 211.12 368.5 Z" fill="#ffffff" stroke="#ffffff" stroke-miterlimit="10" pointer-events="all"/>
236
      <path d="M 331 487 L 267 487 L 267 435 L 209.37 435" fill="none" stroke="#ffffff" stroke-miterlimit="10" pointer-events="stroke"/>
237
      <path d="M 204.12 435 L 211.12 431.5 L 209.37 435 L 211.12 438.5 Z" fill="#ffffff" stroke="#ffffff" stroke-miterlimit="10" pointer-events="all"/>
238
      <path d="M 331 487 L 267 487 L 267 505 L 209.37 505" fill="none" stroke="#ffffff" stroke-miterlimit="10" pointer-events="stroke"/>
239
      <path d="M 204.12 505 L 211.12 501.5 L 209.37 505 L 211.12 508.5 Z" fill="#ffffff" stroke="#ffffff" stroke-miterlimit="10" pointer-events="all"/>
240
      <path d="M 331 487 L 267 487 L 267 575 L 209.37 575" fill="none" stroke="#ffffff" stroke-miterlimit="10" pointer-events="stroke"/>
241
      <path d="M 204.12 575 L 211.12 571.5 L 209.37 575 L 211.12 578.5 Z" fill="#ffffff" stroke="#ffffff" stroke-miterlimit="10" pointer-events="all"/>
242
      <path d="M 331 472 L 295 472 L 295 214.37" fill="none" stroke="#ffffff" stroke-miterlimit="10" pointer-events="stroke"/>
243
      <path d="M 295 209.12 L 298.5 216.12 L 295 214.37 L 291.5 216.12 Z" fill="#ffffff" stroke="#ffffff" stroke-miterlimit="10" pointer-events="all"/>
244
      <path d="M 331 487 L 267 487 L 267 645 L 209.37 645" fill="none" stroke="#ffffff" stroke-miterlimit="10" pointer-events="stroke"/>
245
      <path d="M 204.12 645 L 211.12 641.5 L 209.37 645 L 211.12 648.5 Z" fill="#ffffff" stroke="#ffffff" stroke-miterlimit="10" pointer-events="all"/>
246
      <rect x="331" y="457" width="120" height="60" fill="none" stroke="#ffffff" stroke-width="2" pointer-events="all"/>
247
      <g transform="translate(-0.5 -0.5)">
248
        <switch>
249
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
250
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 487px; margin-left: 332px;">
251
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
252
                <div style="display: inline-block; font-size: 12px; color: #FFFFFF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
253
                  Protocol
254
                </div>
255
              </div>
256
            </div>
257
          </foreignObject>
258
          <text x="391" y="491" fill="#FFFFFF" font-size="12px" text-anchor="middle">
259
            Protocol
260
          </text>
261
        </switch>
262
      </g>
263
      <rect x="67" y="335" width="136" height="60" fill="none" stroke="#ffffff" stroke-width="2" pointer-events="all"/>
264
      <g transform="translate(-0.5 -0.5)">
265
        <switch>
266
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
267
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 134px; height: 1px; padding-top: 365px; margin-left: 68px;">
268
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
269
                <div style="display: inline-block; font-size: 12px; color: #FFFFFF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
270
                  PingManager
271
                </div>
272
              </div>
273
            </div>
274
          </foreignObject>
275
          <text x="135" y="369" fill="#FFFFFF" font-size="12px" text-anchor="middle">
276
            PingManager
277
          </text>
278
        </switch>
279
      </g>
280
      <rect x="68" y="405" width="135" height="60" fill="none" stroke="#ffffff" stroke-width="2" pointer-events="all"/>
281
      <g transform="translate(-0.5 -0.5)">
282
        <switch>
283
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
284
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 133px; height: 1px; padding-top: 435px; margin-left: 69px;">
285
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
286
                <div style="display: inline-block; font-size: 12px; color: #FFFFFF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
287
                  PeerManager
288
                </div>
289
              </div>
290
            </div>
291
          </foreignObject>
292
          <text x="136" y="439" fill="#FFFFFF" font-size="12px" text-anchor="middle">
293
            PeerManager
294
          </text>
295
        </switch>
296
      </g>
297
      <rect x="69" y="475" width="134" height="60" fill="none" stroke="#ffffff" stroke-width="2" pointer-events="all"/>
298
      <g transform="translate(-0.5 -0.5)">
299
        <switch>
300
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
301
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 132px; height: 1px; padding-top: 505px; margin-left: 70px;">
302
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
303
                <div style="display: inline-block; font-size: 12px; color: #FFFFFF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
304
                  SyncManager
305
                </div>
306
              </div>
307
            </div>
308
          </foreignObject>
309
          <text x="136" y="509" fill="#FFFFFF" font-size="12px" text-anchor="middle">
310
            SyncManager
311
          </text>
312
        </switch>
313
      </g>
314
      <rect x="66" y="265" width="137" height="60" fill="none" stroke="#ffffff" stroke-width="2" pointer-events="all"/>
315
      <g transform="translate(-0.5 -0.5)">
316
        <switch>
317
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
318
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 135px; height: 1px; padding-top: 295px; margin-left: 67px;">
319
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
320
                <div style="display: inline-block; font-size: 12px; color: #FFFFFF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
321
                  ConnectionManager
322
                </div>
323
              </div>
324
            </div>
325
          </foreignObject>
326
          <text x="135" y="299" fill="#FFFFFF" font-size="12px" text-anchor="middle">
327
            ConnectionManager
328
          </text>
329
        </switch>
330
      </g>
331
      <rect x="70" y="545" width="133" height="60" fill="none" stroke="#ffffff" stroke-width="2" pointer-events="all"/>
332
      <g transform="translate(-0.5 -0.5)">
333
        <switch>
334
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
335
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 131px; height: 1px; padding-top: 575px; margin-left: 71px;">
336
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
337
                <div style="display: inline-block; font-size: 12px; color: #FFFFFF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
338
                  SpvManager
339
                </div>
340
              </div>
341
            </div>
342
          </foreignObject>
343
          <text x="137" y="579" fill="#FFFFFF" font-size="12px" text-anchor="middle">
344
            SpvManager
345
          </text>
346
        </switch>
347
      </g>
348
      <rect x="367" y="657" width="202" height="64" fill="none" stroke="none" pointer-events="all"/>
349
      <g transform="translate(-0.5 -0.5)">
350
        <switch>
351
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
352
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 200px; height: 1px; padding-top: 689px; margin-left: 368px;">
353
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
354
                <div style="display: inline-block; font-size: 16px; color: #FFFFFF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
355
                  Nakamoto Architecture
356
                <br />
357
                Diagram</div>
358
              </div>
359
            </div>
360
          </foreignObject>
361
          <text x="468" y="694" fill="#FFFFFF" font-size="16px" text-anchor="middle">
362
            Nakamoto Architecture...
363
          </text>
364
        </switch>
365
      </g>
366
      <rect x="70" y="615" width="133" height="60" fill="none" stroke="#ffffff" stroke-width="2" pointer-events="all"/>
367
      <g transform="translate(-0.5 -0.5)">
368
        <switch>
369
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
370
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 131px; height: 1px; padding-top: 645px; margin-left: 71px;">
371
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
372
                <div style="display: inline-block; font-size: 12px; color: #FFFFFF; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
373
                  AddressManager
374
                </div>
375
              </div>
376
            </div>
377
          </foreignObject>
378
          <text x="137" y="649" fill="#FFFFFF" font-size="12px" text-anchor="middle">
379
            AddressManager
380
          </text>
381
        </switch>
382
      </g>
383
      <path d="M 670 695.37 L 761.29 695.37" fill="none" stroke="#7fffd4" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/>
384
      <path d="M 768.29 695.37 L 764.79 698.87 L 761.29 695.37 L 764.79 691.87 Z" fill="#7fffd4" stroke="#7fffd4" stroke-miterlimit="10" pointer-events="all"/>
385
      <g transform="translate(-0.5 -0.5)">
386
        <switch>
387
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
388
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 682px; margin-left: 719px;">
389
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
390
                <div style="display: inline-block; font-size: 11px; color: #7fffd4; line-height: 1.2; pointer-events: all; white-space: nowrap; ">
391
                  Implements
392
                </div>
393
              </div>
394
            </div>
395
          </foreignObject>
396
          <text x="719" y="686" fill="#7fffd4" font-size="11px" text-anchor="middle">
397
            Implements
398
          </text>
399
        </switch>
400
      </g>
401
      <path d="M 797 695.37 L 889.63 695.37" fill="none" stroke="#ffffff" stroke-miterlimit="10" pointer-events="stroke"/>
402
      <path d="M 894.88 695.37 L 887.88 698.87 L 889.63 695.37 L 887.88 691.87 Z" fill="#ffffff" stroke="#ffffff" stroke-miterlimit="10" pointer-events="all"/>
403
      <g transform="translate(-0.5 -0.5)">
404
        <switch>
405
          <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
406
            <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 682px; margin-left: 846px;">
407
              <div style="box-sizing: border-box; font-size: 0; text-align: center; ">
408
                <div style="display: inline-block; font-size: 11px; color: #FFFFFF; line-height: 1.2; pointer-events: all; white-space: nowrap; ">
409
                  Depends on
410
                </div>
411
              </div>
412
            </div>
413
          </foreignObject>
414
          <text x="846" y="686" fill="#FFFFFF" font-size="11px" text-anchor="middle">
415
            Depends on
416
          </text>
417
        </switch>
418
      </g>
419
    </g>
420
    <switch>
421
      <g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
422
      <a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
423
        <text text-anchor="middle" font-size="10px" x="50%" y="100%">
424
          Viewer does not support full SVG 1.1
425
        </text>
426
      </a>
427
    </switch>
428
  </svg>