Branch data Line data Source code
1 : : // Generated by Cap'n Proto compiler, DO NOT EDIT
2 : : // source: mining.capnp
3 : :
4 : : #pragma once
5 : :
6 : : #include <capnp/generated-header-support.h>
7 : : #include <kj/windows-sanity.h>
8 : : #if !CAPNP_LITE
9 : : #include <capnp/capability.h>
10 : : #endif // !CAPNP_LITE
11 : :
12 : : #ifndef CAPNP_VERSION
13 : : #error "CAPNP_VERSION is not defined, is capnp/generated-header-support.h missing?"
14 : : #elif CAPNP_VERSION != 1001000
15 : : #error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
16 : : #endif
17 : :
18 : : #include <mp/proxy.capnp.h>
19 : : #include "common.capnp.h"
20 : :
21 : : CAPNP_BEGIN_HEADER
22 : :
23 : : namespace capnp {
24 : : namespace schemas {
25 : :
26 : : CAPNP_DECLARE_SCHEMA(f9c68436df3af39e);
27 : : CAPNP_DECLARE_SCHEMA(d62a851f0a406fba);
28 : : CAPNP_DECLARE_SCHEMA(d26da946a6fc07cb);
29 : : CAPNP_DECLARE_SCHEMA(c086cb7153ed88c8);
30 : : CAPNP_DECLARE_SCHEMA(8aaddcee1cb5abe0);
31 : : CAPNP_DECLARE_SCHEMA(a6680fe2b3201a1e);
32 : : CAPNP_DECLARE_SCHEMA(cdbd83d7b2442034);
33 : : CAPNP_DECLARE_SCHEMA(e2dfd3582b92b229);
34 : : CAPNP_DECLARE_SCHEMA(8f132f96e3f130ea);
35 : : CAPNP_DECLARE_SCHEMA(f23d59d452aea8de);
36 : : CAPNP_DECLARE_SCHEMA(a0b06cebf3da9e15);
37 : : CAPNP_DECLARE_SCHEMA(93a3f56b84a97b70);
38 : : CAPNP_DECLARE_SCHEMA(a6eb9eb6f5c4e0d0);
39 : : CAPNP_DECLARE_SCHEMA(f9671ad841b2f622);
40 : : CAPNP_DECLARE_SCHEMA(898c75958f8eab40);
41 : : CAPNP_DECLARE_SCHEMA(b277e9484368f871);
42 : : CAPNP_DECLARE_SCHEMA(bc6e961d0c9fabcb);
43 : : CAPNP_DECLARE_SCHEMA(be44866bf53ba50f);
44 : : CAPNP_DECLARE_SCHEMA(b57adc0c09d3d8b9);
45 : : CAPNP_DECLARE_SCHEMA(da570962f86bbd3b);
46 : : CAPNP_DECLARE_SCHEMA(fc48c88871b654d6);
47 : : CAPNP_DECLARE_SCHEMA(ce9419e947d3af78);
48 : : CAPNP_DECLARE_SCHEMA(8f4dadf0be3aee81);
49 : : CAPNP_DECLARE_SCHEMA(cf916f95f6f774fb);
50 : : CAPNP_DECLARE_SCHEMA(fd4337e403fdc1b8);
51 : : CAPNP_DECLARE_SCHEMA(e194427de3eafd96);
52 : : CAPNP_DECLARE_SCHEMA(a12657e0ad662f4b);
53 : : CAPNP_DECLARE_SCHEMA(da952a06f76488ff);
54 : : CAPNP_DECLARE_SCHEMA(f6e81eb0866e3b87);
55 : : CAPNP_DECLARE_SCHEMA(97f6899fb5e3c15f);
56 : : CAPNP_DECLARE_SCHEMA(b726a965fac04db3);
57 : : CAPNP_DECLARE_SCHEMA(dafdbfbfce655b00);
58 : : CAPNP_DECLARE_SCHEMA(b889895bf2d4ecb1);
59 : : CAPNP_DECLARE_SCHEMA(fe3cdff3007f0bc2);
60 : : CAPNP_DECLARE_SCHEMA(ad59a21b4fc45f4c);
61 : : CAPNP_DECLARE_SCHEMA(ce754302fc8eec5c);
62 : : CAPNP_DECLARE_SCHEMA(906b8ff9a674f7b5);
63 : : CAPNP_DECLARE_SCHEMA(90b22c39837a2b24);
64 : : CAPNP_DECLARE_SCHEMA(80fca083ef81a559);
65 : : CAPNP_DECLARE_SCHEMA(9ba437d9de0c452e);
66 : : CAPNP_DECLARE_SCHEMA(89f3f39b6c9dd162);
67 : :
68 : : } // namespace schemas
69 : : } // namespace capnp
70 : :
71 : : namespace ipc {
72 : : namespace capnp {
73 : : namespace messages {
74 : :
75 : : struct Mining {
76 : : Mining() = delete;
77 : :
78 : : #if !CAPNP_LITE
79 : : class Client;
80 : : class Server;
81 : : #endif // !CAPNP_LITE
82 : :
83 : : struct IsTestChainParams;
84 : : struct IsTestChainResults;
85 : : struct IsInitialBlockDownloadParams;
86 : : struct IsInitialBlockDownloadResults;
87 : : struct GetTipParams;
88 : : struct GetTipResults;
89 : : struct WaitTipChangedParams;
90 : : struct WaitTipChangedResults;
91 : : struct CreateNewBlockParams;
92 : : struct CreateNewBlockResults;
93 : : struct CheckBlockParams;
94 : : struct CheckBlockResults;
95 : :
96 : : #if !CAPNP_LITE
97 : : struct _capnpPrivate {
98 : : CAPNP_DECLARE_INTERFACE_HEADER(f9c68436df3af39e)
99 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
100 : : };
101 : : #endif // !CAPNP_LITE
102 : : };
103 : :
104 : : struct Mining::IsTestChainParams {
105 : : IsTestChainParams() = delete;
106 : :
107 : : class Reader;
108 : : class Builder;
109 : : class Pipeline;
110 : :
111 : : struct _capnpPrivate {
112 : : CAPNP_DECLARE_STRUCT_HEADER(d62a851f0a406fba, 0, 1)
113 : : #if !CAPNP_LITE
114 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
115 : : #endif // !CAPNP_LITE
116 : : };
117 : : };
118 : :
119 : : struct Mining::IsTestChainResults {
120 : : IsTestChainResults() = delete;
121 : :
122 : : class Reader;
123 : : class Builder;
124 : : class Pipeline;
125 : :
126 : : struct _capnpPrivate {
127 : : CAPNP_DECLARE_STRUCT_HEADER(d26da946a6fc07cb, 1, 0)
128 : : #if !CAPNP_LITE
129 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
130 : : #endif // !CAPNP_LITE
131 : : };
132 : : };
133 : :
134 : : struct Mining::IsInitialBlockDownloadParams {
135 : : IsInitialBlockDownloadParams() = delete;
136 : :
137 : : class Reader;
138 : : class Builder;
139 : : class Pipeline;
140 : :
141 : : struct _capnpPrivate {
142 : : CAPNP_DECLARE_STRUCT_HEADER(c086cb7153ed88c8, 0, 1)
143 : : #if !CAPNP_LITE
144 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
145 : : #endif // !CAPNP_LITE
146 : : };
147 : : };
148 : :
149 : : struct Mining::IsInitialBlockDownloadResults {
150 : : IsInitialBlockDownloadResults() = delete;
151 : :
152 : : class Reader;
153 : : class Builder;
154 : : class Pipeline;
155 : :
156 : : struct _capnpPrivate {
157 : : CAPNP_DECLARE_STRUCT_HEADER(8aaddcee1cb5abe0, 1, 0)
158 : : #if !CAPNP_LITE
159 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
160 : : #endif // !CAPNP_LITE
161 : : };
162 : : };
163 : :
164 : : struct Mining::GetTipParams {
165 : : GetTipParams() = delete;
166 : :
167 : : class Reader;
168 : : class Builder;
169 : : class Pipeline;
170 : :
171 : : struct _capnpPrivate {
172 : : CAPNP_DECLARE_STRUCT_HEADER(a6680fe2b3201a1e, 0, 1)
173 : : #if !CAPNP_LITE
174 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
175 : : #endif // !CAPNP_LITE
176 : : };
177 : : };
178 : :
179 : : struct Mining::GetTipResults {
180 : : GetTipResults() = delete;
181 : :
182 : : class Reader;
183 : : class Builder;
184 : : class Pipeline;
185 : :
186 : : struct _capnpPrivate {
187 : : CAPNP_DECLARE_STRUCT_HEADER(cdbd83d7b2442034, 1, 1)
188 : : #if !CAPNP_LITE
189 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
190 : : #endif // !CAPNP_LITE
191 : : };
192 : : };
193 : :
194 : : struct Mining::WaitTipChangedParams {
195 : : WaitTipChangedParams() = delete;
196 : :
197 : : class Reader;
198 : : class Builder;
199 : : class Pipeline;
200 : :
201 : : struct _capnpPrivate {
202 : : CAPNP_DECLARE_STRUCT_HEADER(e2dfd3582b92b229, 1, 2)
203 : : #if !CAPNP_LITE
204 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
205 : : #endif // !CAPNP_LITE
206 : : };
207 : : };
208 : :
209 : : struct Mining::WaitTipChangedResults {
210 : : WaitTipChangedResults() = delete;
211 : :
212 : : class Reader;
213 : : class Builder;
214 : : class Pipeline;
215 : :
216 : : struct _capnpPrivate {
217 : : CAPNP_DECLARE_STRUCT_HEADER(8f132f96e3f130ea, 0, 1)
218 : : #if !CAPNP_LITE
219 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
220 : : #endif // !CAPNP_LITE
221 : : };
222 : : };
223 : :
224 : : struct Mining::CreateNewBlockParams {
225 : : CreateNewBlockParams() = delete;
226 : :
227 : : class Reader;
228 : : class Builder;
229 : : class Pipeline;
230 : :
231 : : struct _capnpPrivate {
232 : : CAPNP_DECLARE_STRUCT_HEADER(f23d59d452aea8de, 0, 1)
233 : : #if !CAPNP_LITE
234 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
235 : : #endif // !CAPNP_LITE
236 : : };
237 : : };
238 : :
239 : : struct Mining::CreateNewBlockResults {
240 : : CreateNewBlockResults() = delete;
241 : :
242 : : class Reader;
243 : : class Builder;
244 : : class Pipeline;
245 : :
246 : : struct _capnpPrivate {
247 : : CAPNP_DECLARE_STRUCT_HEADER(a0b06cebf3da9e15, 0, 1)
248 : : #if !CAPNP_LITE
249 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
250 : : #endif // !CAPNP_LITE
251 : : };
252 : : };
253 : :
254 : : struct Mining::CheckBlockParams {
255 : : CheckBlockParams() = delete;
256 : :
257 : : class Reader;
258 : : class Builder;
259 : : class Pipeline;
260 : :
261 : : struct _capnpPrivate {
262 : : CAPNP_DECLARE_STRUCT_HEADER(93a3f56b84a97b70, 0, 2)
263 : : #if !CAPNP_LITE
264 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
265 : : #endif // !CAPNP_LITE
266 : : };
267 : : };
268 : :
269 : : struct Mining::CheckBlockResults {
270 : : CheckBlockResults() = delete;
271 : :
272 : : class Reader;
273 : : class Builder;
274 : : class Pipeline;
275 : :
276 : : struct _capnpPrivate {
277 : : CAPNP_DECLARE_STRUCT_HEADER(a6eb9eb6f5c4e0d0, 1, 2)
278 : : #if !CAPNP_LITE
279 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
280 : : #endif // !CAPNP_LITE
281 : : };
282 : : };
283 : :
284 : : struct BlockTemplate {
285 : : BlockTemplate() = delete;
286 : :
287 : : #if !CAPNP_LITE
288 : : class Client;
289 : : class Server;
290 : : #endif // !CAPNP_LITE
291 : :
292 : : struct DestroyParams;
293 : : struct DestroyResults;
294 : : struct GetBlockHeaderParams;
295 : : struct GetBlockHeaderResults;
296 : : struct GetBlockParams;
297 : : struct GetBlockResults;
298 : : struct GetTxFeesParams;
299 : : struct GetTxFeesResults;
300 : : struct GetTxSigopsParams;
301 : : struct GetTxSigopsResults;
302 : : struct GetCoinbaseTxParams;
303 : : struct GetCoinbaseTxResults;
304 : : struct GetCoinbaseCommitmentParams;
305 : : struct GetCoinbaseCommitmentResults;
306 : : struct GetWitnessCommitmentIndexParams;
307 : : struct GetWitnessCommitmentIndexResults;
308 : : struct GetCoinbaseMerklePathParams;
309 : : struct GetCoinbaseMerklePathResults;
310 : : struct SubmitSolutionParams;
311 : : struct SubmitSolutionResults;
312 : : struct WaitNextParams;
313 : : struct WaitNextResults;
314 : : struct InterruptWaitParams;
315 : : struct InterruptWaitResults;
316 : :
317 : : #if !CAPNP_LITE
318 : : struct _capnpPrivate {
319 : : CAPNP_DECLARE_INTERFACE_HEADER(f9671ad841b2f622)
320 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
321 : : };
322 : : #endif // !CAPNP_LITE
323 : : };
324 : :
325 : : struct BlockTemplate::DestroyParams {
326 : : DestroyParams() = delete;
327 : :
328 : : class Reader;
329 : : class Builder;
330 : : class Pipeline;
331 : :
332 : : struct _capnpPrivate {
333 : : CAPNP_DECLARE_STRUCT_HEADER(898c75958f8eab40, 0, 1)
334 : : #if !CAPNP_LITE
335 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
336 : : #endif // !CAPNP_LITE
337 : : };
338 : : };
339 : :
340 : : struct BlockTemplate::DestroyResults {
341 : : DestroyResults() = delete;
342 : :
343 : : class Reader;
344 : : class Builder;
345 : : class Pipeline;
346 : :
347 : : struct _capnpPrivate {
348 : : CAPNP_DECLARE_STRUCT_HEADER(b277e9484368f871, 0, 0)
349 : : #if !CAPNP_LITE
350 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
351 : : #endif // !CAPNP_LITE
352 : : };
353 : : };
354 : :
355 : : struct BlockTemplate::GetBlockHeaderParams {
356 : : GetBlockHeaderParams() = delete;
357 : :
358 : : class Reader;
359 : : class Builder;
360 : : class Pipeline;
361 : :
362 : : struct _capnpPrivate {
363 : : CAPNP_DECLARE_STRUCT_HEADER(bc6e961d0c9fabcb, 0, 1)
364 : : #if !CAPNP_LITE
365 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
366 : : #endif // !CAPNP_LITE
367 : : };
368 : : };
369 : :
370 : : struct BlockTemplate::GetBlockHeaderResults {
371 : : GetBlockHeaderResults() = delete;
372 : :
373 : : class Reader;
374 : : class Builder;
375 : : class Pipeline;
376 : :
377 : : struct _capnpPrivate {
378 : : CAPNP_DECLARE_STRUCT_HEADER(be44866bf53ba50f, 0, 1)
379 : : #if !CAPNP_LITE
380 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
381 : : #endif // !CAPNP_LITE
382 : : };
383 : : };
384 : :
385 : : struct BlockTemplate::GetBlockParams {
386 : : GetBlockParams() = delete;
387 : :
388 : : class Reader;
389 : : class Builder;
390 : : class Pipeline;
391 : :
392 : : struct _capnpPrivate {
393 : : CAPNP_DECLARE_STRUCT_HEADER(b57adc0c09d3d8b9, 0, 1)
394 : : #if !CAPNP_LITE
395 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
396 : : #endif // !CAPNP_LITE
397 : : };
398 : : };
399 : :
400 : : struct BlockTemplate::GetBlockResults {
401 : : GetBlockResults() = delete;
402 : :
403 : : class Reader;
404 : : class Builder;
405 : : class Pipeline;
406 : :
407 : : struct _capnpPrivate {
408 : : CAPNP_DECLARE_STRUCT_HEADER(da570962f86bbd3b, 0, 1)
409 : : #if !CAPNP_LITE
410 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
411 : : #endif // !CAPNP_LITE
412 : : };
413 : : };
414 : :
415 : : struct BlockTemplate::GetTxFeesParams {
416 : : GetTxFeesParams() = delete;
417 : :
418 : : class Reader;
419 : : class Builder;
420 : : class Pipeline;
421 : :
422 : : struct _capnpPrivate {
423 : : CAPNP_DECLARE_STRUCT_HEADER(fc48c88871b654d6, 0, 1)
424 : : #if !CAPNP_LITE
425 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
426 : : #endif // !CAPNP_LITE
427 : : };
428 : : };
429 : :
430 : : struct BlockTemplate::GetTxFeesResults {
431 : : GetTxFeesResults() = delete;
432 : :
433 : : class Reader;
434 : : class Builder;
435 : : class Pipeline;
436 : :
437 : : struct _capnpPrivate {
438 : : CAPNP_DECLARE_STRUCT_HEADER(ce9419e947d3af78, 0, 1)
439 : : #if !CAPNP_LITE
440 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
441 : : #endif // !CAPNP_LITE
442 : : };
443 : : };
444 : :
445 : : struct BlockTemplate::GetTxSigopsParams {
446 : : GetTxSigopsParams() = delete;
447 : :
448 : : class Reader;
449 : : class Builder;
450 : : class Pipeline;
451 : :
452 : : struct _capnpPrivate {
453 : : CAPNP_DECLARE_STRUCT_HEADER(8f4dadf0be3aee81, 0, 1)
454 : : #if !CAPNP_LITE
455 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
456 : : #endif // !CAPNP_LITE
457 : : };
458 : : };
459 : :
460 : : struct BlockTemplate::GetTxSigopsResults {
461 : : GetTxSigopsResults() = delete;
462 : :
463 : : class Reader;
464 : : class Builder;
465 : : class Pipeline;
466 : :
467 : : struct _capnpPrivate {
468 : : CAPNP_DECLARE_STRUCT_HEADER(cf916f95f6f774fb, 0, 1)
469 : : #if !CAPNP_LITE
470 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
471 : : #endif // !CAPNP_LITE
472 : : };
473 : : };
474 : :
475 : : struct BlockTemplate::GetCoinbaseTxParams {
476 : : GetCoinbaseTxParams() = delete;
477 : :
478 : : class Reader;
479 : : class Builder;
480 : : class Pipeline;
481 : :
482 : : struct _capnpPrivate {
483 : : CAPNP_DECLARE_STRUCT_HEADER(fd4337e403fdc1b8, 0, 1)
484 : : #if !CAPNP_LITE
485 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
486 : : #endif // !CAPNP_LITE
487 : : };
488 : : };
489 : :
490 : : struct BlockTemplate::GetCoinbaseTxResults {
491 : : GetCoinbaseTxResults() = delete;
492 : :
493 : : class Reader;
494 : : class Builder;
495 : : class Pipeline;
496 : :
497 : : struct _capnpPrivate {
498 : : CAPNP_DECLARE_STRUCT_HEADER(e194427de3eafd96, 0, 1)
499 : : #if !CAPNP_LITE
500 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
501 : : #endif // !CAPNP_LITE
502 : : };
503 : : };
504 : :
505 : : struct BlockTemplate::GetCoinbaseCommitmentParams {
506 : : GetCoinbaseCommitmentParams() = delete;
507 : :
508 : : class Reader;
509 : : class Builder;
510 : : class Pipeline;
511 : :
512 : : struct _capnpPrivate {
513 : : CAPNP_DECLARE_STRUCT_HEADER(a12657e0ad662f4b, 0, 1)
514 : : #if !CAPNP_LITE
515 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
516 : : #endif // !CAPNP_LITE
517 : : };
518 : : };
519 : :
520 : : struct BlockTemplate::GetCoinbaseCommitmentResults {
521 : : GetCoinbaseCommitmentResults() = delete;
522 : :
523 : : class Reader;
524 : : class Builder;
525 : : class Pipeline;
526 : :
527 : : struct _capnpPrivate {
528 : : CAPNP_DECLARE_STRUCT_HEADER(da952a06f76488ff, 0, 1)
529 : : #if !CAPNP_LITE
530 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
531 : : #endif // !CAPNP_LITE
532 : : };
533 : : };
534 : :
535 : : struct BlockTemplate::GetWitnessCommitmentIndexParams {
536 : : GetWitnessCommitmentIndexParams() = delete;
537 : :
538 : : class Reader;
539 : : class Builder;
540 : : class Pipeline;
541 : :
542 : : struct _capnpPrivate {
543 : : CAPNP_DECLARE_STRUCT_HEADER(f6e81eb0866e3b87, 0, 1)
544 : : #if !CAPNP_LITE
545 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
546 : : #endif // !CAPNP_LITE
547 : : };
548 : : };
549 : :
550 : : struct BlockTemplate::GetWitnessCommitmentIndexResults {
551 : : GetWitnessCommitmentIndexResults() = delete;
552 : :
553 : : class Reader;
554 : : class Builder;
555 : : class Pipeline;
556 : :
557 : : struct _capnpPrivate {
558 : : CAPNP_DECLARE_STRUCT_HEADER(97f6899fb5e3c15f, 1, 0)
559 : : #if !CAPNP_LITE
560 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
561 : : #endif // !CAPNP_LITE
562 : : };
563 : : };
564 : :
565 : : struct BlockTemplate::GetCoinbaseMerklePathParams {
566 : : GetCoinbaseMerklePathParams() = delete;
567 : :
568 : : class Reader;
569 : : class Builder;
570 : : class Pipeline;
571 : :
572 : : struct _capnpPrivate {
573 : : CAPNP_DECLARE_STRUCT_HEADER(b726a965fac04db3, 0, 1)
574 : : #if !CAPNP_LITE
575 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
576 : : #endif // !CAPNP_LITE
577 : : };
578 : : };
579 : :
580 : : struct BlockTemplate::GetCoinbaseMerklePathResults {
581 : : GetCoinbaseMerklePathResults() = delete;
582 : :
583 : : class Reader;
584 : : class Builder;
585 : : class Pipeline;
586 : :
587 : : struct _capnpPrivate {
588 : : CAPNP_DECLARE_STRUCT_HEADER(dafdbfbfce655b00, 0, 1)
589 : : #if !CAPNP_LITE
590 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
591 : : #endif // !CAPNP_LITE
592 : : };
593 : : };
594 : :
595 : : struct BlockTemplate::SubmitSolutionParams {
596 : : SubmitSolutionParams() = delete;
597 : :
598 : : class Reader;
599 : : class Builder;
600 : : class Pipeline;
601 : :
602 : : struct _capnpPrivate {
603 : : CAPNP_DECLARE_STRUCT_HEADER(b889895bf2d4ecb1, 2, 2)
604 : : #if !CAPNP_LITE
605 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
606 : : #endif // !CAPNP_LITE
607 : : };
608 : : };
609 : :
610 : : struct BlockTemplate::SubmitSolutionResults {
611 : : SubmitSolutionResults() = delete;
612 : :
613 : : class Reader;
614 : : class Builder;
615 : : class Pipeline;
616 : :
617 : : struct _capnpPrivate {
618 : : CAPNP_DECLARE_STRUCT_HEADER(fe3cdff3007f0bc2, 1, 0)
619 : : #if !CAPNP_LITE
620 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
621 : : #endif // !CAPNP_LITE
622 : : };
623 : : };
624 : :
625 : : struct BlockTemplate::WaitNextParams {
626 : : WaitNextParams() = delete;
627 : :
628 : : class Reader;
629 : : class Builder;
630 : : class Pipeline;
631 : :
632 : : struct _capnpPrivate {
633 : : CAPNP_DECLARE_STRUCT_HEADER(ad59a21b4fc45f4c, 0, 2)
634 : : #if !CAPNP_LITE
635 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
636 : : #endif // !CAPNP_LITE
637 : : };
638 : : };
639 : :
640 : : struct BlockTemplate::WaitNextResults {
641 : : WaitNextResults() = delete;
642 : :
643 : : class Reader;
644 : : class Builder;
645 : : class Pipeline;
646 : :
647 : : struct _capnpPrivate {
648 : : CAPNP_DECLARE_STRUCT_HEADER(ce754302fc8eec5c, 0, 1)
649 : : #if !CAPNP_LITE
650 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
651 : : #endif // !CAPNP_LITE
652 : : };
653 : : };
654 : :
655 : : struct BlockTemplate::InterruptWaitParams {
656 : : InterruptWaitParams() = delete;
657 : :
658 : : class Reader;
659 : : class Builder;
660 : : class Pipeline;
661 : :
662 : : struct _capnpPrivate {
663 : : CAPNP_DECLARE_STRUCT_HEADER(906b8ff9a674f7b5, 0, 0)
664 : : #if !CAPNP_LITE
665 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
666 : : #endif // !CAPNP_LITE
667 : : };
668 : : };
669 : :
670 : : struct BlockTemplate::InterruptWaitResults {
671 : : InterruptWaitResults() = delete;
672 : :
673 : : class Reader;
674 : : class Builder;
675 : : class Pipeline;
676 : :
677 : : struct _capnpPrivate {
678 : : CAPNP_DECLARE_STRUCT_HEADER(90b22c39837a2b24, 0, 0)
679 : : #if !CAPNP_LITE
680 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
681 : : #endif // !CAPNP_LITE
682 : : };
683 : : };
684 : :
685 : : struct BlockCreateOptions {
686 : : BlockCreateOptions() = delete;
687 : :
688 : : class Reader;
689 : : class Builder;
690 : : class Pipeline;
691 : :
692 : : struct _capnpPrivate {
693 : : CAPNP_DECLARE_STRUCT_HEADER(80fca083ef81a559, 3, 0)
694 : : #if !CAPNP_LITE
695 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
696 : : #endif // !CAPNP_LITE
697 : : };
698 : : };
699 : :
700 : : struct BlockWaitOptions {
701 : : BlockWaitOptions() = delete;
702 : :
703 : : class Reader;
704 : : class Builder;
705 : : class Pipeline;
706 : :
707 : : struct _capnpPrivate {
708 : : CAPNP_DECLARE_STRUCT_HEADER(9ba437d9de0c452e, 2, 0)
709 : : #if !CAPNP_LITE
710 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
711 : : #endif // !CAPNP_LITE
712 : : };
713 : : };
714 : :
715 : : struct BlockCheckOptions {
716 : : BlockCheckOptions() = delete;
717 : :
718 : : class Reader;
719 : : class Builder;
720 : : class Pipeline;
721 : :
722 : : struct _capnpPrivate {
723 : : CAPNP_DECLARE_STRUCT_HEADER(89f3f39b6c9dd162, 1, 0)
724 : : #if !CAPNP_LITE
725 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
726 : : #endif // !CAPNP_LITE
727 : : };
728 : : };
729 : :
730 : : // =======================================================================================
731 : :
732 : : #if !CAPNP_LITE
733 [ # # # # ]: 0 : class Mining::Client
734 : : : public virtual ::capnp::Capability::Client {
735 : : public:
736 : : typedef Mining Calls;
737 : : typedef Mining Reads;
738 : :
739 : : Client(decltype(nullptr));
740 : : explicit Client(::kj::Own< ::capnp::ClientHook>&& hook);
741 : : template <typename _t, typename = ::kj::EnableIf< ::kj::canConvert<_t*, Server*>()>>
742 : : Client(::kj::Own<_t>&& server);
743 : : template <typename _t, typename = ::kj::EnableIf< ::kj::canConvert<_t*, Client*>()>>
744 : : Client(::kj::Promise<_t>&& promise);
745 : : Client(::kj::Exception&& exception);
746 : : Client(Client&) = default;
747 [ # # # # ]: 0 : Client(Client&&) = default;
748 : : Client& operator=(Client& other);
749 : : Client& operator=(Client&& other);
750 : :
751 : : ::capnp::Request< ::ipc::capnp::messages::Mining::IsTestChainParams, ::ipc::capnp::messages::Mining::IsTestChainResults> isTestChainRequest(
752 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
753 : : ::capnp::Request< ::ipc::capnp::messages::Mining::IsInitialBlockDownloadParams, ::ipc::capnp::messages::Mining::IsInitialBlockDownloadResults> isInitialBlockDownloadRequest(
754 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
755 : : ::capnp::Request< ::ipc::capnp::messages::Mining::GetTipParams, ::ipc::capnp::messages::Mining::GetTipResults> getTipRequest(
756 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
757 : : ::capnp::Request< ::ipc::capnp::messages::Mining::WaitTipChangedParams, ::ipc::capnp::messages::Mining::WaitTipChangedResults> waitTipChangedRequest(
758 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
759 : : ::capnp::Request< ::ipc::capnp::messages::Mining::CreateNewBlockParams, ::ipc::capnp::messages::Mining::CreateNewBlockResults> createNewBlockRequest(
760 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
761 : : ::capnp::Request< ::ipc::capnp::messages::Mining::CheckBlockParams, ::ipc::capnp::messages::Mining::CheckBlockResults> checkBlockRequest(
762 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
763 : :
764 : : protected:
765 : : Client() = default;
766 : : };
767 : :
768 : : class Mining::Server
769 : : : public virtual ::capnp::Capability::Server {
770 : : public:
771 : : typedef Mining Serves;
772 : :
773 : : ::capnp::Capability::Server::DispatchCallResult dispatchCall(
774 : : uint64_t interfaceId, uint16_t methodId,
775 : : ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context)
776 : : override;
777 : :
778 : : protected:
779 : : typedef ::ipc::capnp::messages::Mining::IsTestChainParams IsTestChainParams;
780 : : typedef ::ipc::capnp::messages::Mining::IsTestChainResults IsTestChainResults;
781 : : typedef ::capnp::CallContext<IsTestChainParams, IsTestChainResults> IsTestChainContext;
782 : : virtual ::kj::Promise<void> isTestChain(IsTestChainContext context);
783 : : typedef ::ipc::capnp::messages::Mining::IsInitialBlockDownloadParams IsInitialBlockDownloadParams;
784 : : typedef ::ipc::capnp::messages::Mining::IsInitialBlockDownloadResults IsInitialBlockDownloadResults;
785 : : typedef ::capnp::CallContext<IsInitialBlockDownloadParams, IsInitialBlockDownloadResults> IsInitialBlockDownloadContext;
786 : : virtual ::kj::Promise<void> isInitialBlockDownload(IsInitialBlockDownloadContext context);
787 : : typedef ::ipc::capnp::messages::Mining::GetTipParams GetTipParams;
788 : : typedef ::ipc::capnp::messages::Mining::GetTipResults GetTipResults;
789 : : typedef ::capnp::CallContext<GetTipParams, GetTipResults> GetTipContext;
790 : : virtual ::kj::Promise<void> getTip(GetTipContext context);
791 : : typedef ::ipc::capnp::messages::Mining::WaitTipChangedParams WaitTipChangedParams;
792 : : typedef ::ipc::capnp::messages::Mining::WaitTipChangedResults WaitTipChangedResults;
793 : : typedef ::capnp::CallContext<WaitTipChangedParams, WaitTipChangedResults> WaitTipChangedContext;
794 : : virtual ::kj::Promise<void> waitTipChanged(WaitTipChangedContext context);
795 : : typedef ::ipc::capnp::messages::Mining::CreateNewBlockParams CreateNewBlockParams;
796 : : typedef ::ipc::capnp::messages::Mining::CreateNewBlockResults CreateNewBlockResults;
797 : : typedef ::capnp::CallContext<CreateNewBlockParams, CreateNewBlockResults> CreateNewBlockContext;
798 : : virtual ::kj::Promise<void> createNewBlock(CreateNewBlockContext context);
799 : : typedef ::ipc::capnp::messages::Mining::CheckBlockParams CheckBlockParams;
800 : : typedef ::ipc::capnp::messages::Mining::CheckBlockResults CheckBlockResults;
801 : : typedef ::capnp::CallContext<CheckBlockParams, CheckBlockResults> CheckBlockContext;
802 : : virtual ::kj::Promise<void> checkBlock(CheckBlockContext context);
803 : :
804 : : inline ::ipc::capnp::messages::Mining::Client thisCap() {
805 : : return ::capnp::Capability::Server::thisCap()
806 : : .template castAs< ::ipc::capnp::messages::Mining>();
807 : : }
808 : :
809 : : ::capnp::Capability::Server::DispatchCallResult dispatchCallInternal(
810 : : uint16_t methodId,
811 : : ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context);
812 : : };
813 : : #endif // !CAPNP_LITE
814 : :
815 : : class Mining::IsTestChainParams::Reader {
816 : : public:
817 : : typedef IsTestChainParams Reads;
818 : :
819 : : Reader() = default;
820 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
821 : :
822 : : inline ::capnp::MessageSize totalSize() const {
823 : : return _reader.totalSize().asPublic();
824 : : }
825 : :
826 : : #if !CAPNP_LITE
827 : 0 : inline ::kj::StringTree toString() const {
828 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
829 : : }
830 : : #endif // !CAPNP_LITE
831 : :
832 : : inline bool hasContext() const;
833 : : inline ::mp::Context::Reader getContext() const;
834 : :
835 : : private:
836 : : ::capnp::_::StructReader _reader;
837 : : template <typename, ::capnp::Kind>
838 : : friend struct ::capnp::ToDynamic_;
839 : : template <typename, ::capnp::Kind>
840 : : friend struct ::capnp::_::PointerHelpers;
841 : : template <typename, ::capnp::Kind>
842 : : friend struct ::capnp::List;
843 : : friend class ::capnp::MessageBuilder;
844 : : friend class ::capnp::Orphanage;
845 : : };
846 : :
847 : : class Mining::IsTestChainParams::Builder {
848 : : public:
849 : : typedef IsTestChainParams Builds;
850 : :
851 : : Builder() = delete; // Deleted to discourage incorrect usage.
852 : : // You can explicitly initialize to nullptr instead.
853 : : inline Builder(decltype(nullptr)) {}
854 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
855 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
856 : 0 : inline Reader asReader() const { return *this; }
857 : :
858 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
859 : : #if !CAPNP_LITE
860 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
861 : : #endif // !CAPNP_LITE
862 : :
863 : : inline bool hasContext();
864 : : inline ::mp::Context::Builder getContext();
865 : : inline void setContext( ::mp::Context::Reader value);
866 : : inline ::mp::Context::Builder initContext();
867 : : inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
868 : : inline ::capnp::Orphan< ::mp::Context> disownContext();
869 : :
870 : : private:
871 : : ::capnp::_::StructBuilder _builder;
872 : : template <typename, ::capnp::Kind>
873 : : friend struct ::capnp::ToDynamic_;
874 : : friend class ::capnp::Orphanage;
875 : : template <typename, ::capnp::Kind>
876 : : friend struct ::capnp::_::PointerHelpers;
877 : : };
878 : :
879 : : #if !CAPNP_LITE
880 : : class Mining::IsTestChainParams::Pipeline {
881 : : public:
882 : : typedef IsTestChainParams Pipelines;
883 : :
884 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
885 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
886 : : : _typeless(kj::mv(typeless)) {}
887 : :
888 : : inline ::mp::Context::Pipeline getContext();
889 : : private:
890 : : ::capnp::AnyPointer::Pipeline _typeless;
891 : : friend class ::capnp::PipelineHook;
892 : : template <typename, ::capnp::Kind>
893 : : friend struct ::capnp::ToDynamic_;
894 : : };
895 : : #endif // !CAPNP_LITE
896 : :
897 : : class Mining::IsTestChainResults::Reader {
898 : : public:
899 : : typedef IsTestChainResults Reads;
900 : :
901 : : Reader() = default;
902 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
903 : :
904 : : inline ::capnp::MessageSize totalSize() const {
905 : : return _reader.totalSize().asPublic();
906 : : }
907 : :
908 : : #if !CAPNP_LITE
909 : 0 : inline ::kj::StringTree toString() const {
910 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
911 : : }
912 : : #endif // !CAPNP_LITE
913 : :
914 : : inline bool getResult() const;
915 : :
916 : : private:
917 : : ::capnp::_::StructReader _reader;
918 : : template <typename, ::capnp::Kind>
919 : : friend struct ::capnp::ToDynamic_;
920 : : template <typename, ::capnp::Kind>
921 : : friend struct ::capnp::_::PointerHelpers;
922 : : template <typename, ::capnp::Kind>
923 : : friend struct ::capnp::List;
924 : : friend class ::capnp::MessageBuilder;
925 : : friend class ::capnp::Orphanage;
926 : : };
927 : :
928 : : class Mining::IsTestChainResults::Builder {
929 : : public:
930 : : typedef IsTestChainResults Builds;
931 : :
932 : : Builder() = delete; // Deleted to discourage incorrect usage.
933 : : // You can explicitly initialize to nullptr instead.
934 : : inline Builder(decltype(nullptr)) {}
935 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
936 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
937 : 0 : inline Reader asReader() const { return *this; }
938 : :
939 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
940 : : #if !CAPNP_LITE
941 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
942 : : #endif // !CAPNP_LITE
943 : :
944 : : inline bool getResult();
945 : : inline void setResult(bool value);
946 : :
947 : : private:
948 : : ::capnp::_::StructBuilder _builder;
949 : : template <typename, ::capnp::Kind>
950 : : friend struct ::capnp::ToDynamic_;
951 : : friend class ::capnp::Orphanage;
952 : : template <typename, ::capnp::Kind>
953 : : friend struct ::capnp::_::PointerHelpers;
954 : : };
955 : :
956 : : #if !CAPNP_LITE
957 [ # # ]: 0 : class Mining::IsTestChainResults::Pipeline {
958 : : public:
959 : : typedef IsTestChainResults Pipelines;
960 : :
961 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
962 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
963 : 0 : : _typeless(kj::mv(typeless)) {}
964 : :
965 : : private:
966 : : ::capnp::AnyPointer::Pipeline _typeless;
967 : : friend class ::capnp::PipelineHook;
968 : : template <typename, ::capnp::Kind>
969 : : friend struct ::capnp::ToDynamic_;
970 : : };
971 : : #endif // !CAPNP_LITE
972 : :
973 : : class Mining::IsInitialBlockDownloadParams::Reader {
974 : : public:
975 : : typedef IsInitialBlockDownloadParams Reads;
976 : :
977 : : Reader() = default;
978 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
979 : :
980 : : inline ::capnp::MessageSize totalSize() const {
981 : : return _reader.totalSize().asPublic();
982 : : }
983 : :
984 : : #if !CAPNP_LITE
985 : 0 : inline ::kj::StringTree toString() const {
986 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
987 : : }
988 : : #endif // !CAPNP_LITE
989 : :
990 : : inline bool hasContext() const;
991 : : inline ::mp::Context::Reader getContext() const;
992 : :
993 : : private:
994 : : ::capnp::_::StructReader _reader;
995 : : template <typename, ::capnp::Kind>
996 : : friend struct ::capnp::ToDynamic_;
997 : : template <typename, ::capnp::Kind>
998 : : friend struct ::capnp::_::PointerHelpers;
999 : : template <typename, ::capnp::Kind>
1000 : : friend struct ::capnp::List;
1001 : : friend class ::capnp::MessageBuilder;
1002 : : friend class ::capnp::Orphanage;
1003 : : };
1004 : :
1005 : : class Mining::IsInitialBlockDownloadParams::Builder {
1006 : : public:
1007 : : typedef IsInitialBlockDownloadParams Builds;
1008 : :
1009 : : Builder() = delete; // Deleted to discourage incorrect usage.
1010 : : // You can explicitly initialize to nullptr instead.
1011 : : inline Builder(decltype(nullptr)) {}
1012 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1013 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
1014 : 0 : inline Reader asReader() const { return *this; }
1015 : :
1016 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1017 : : #if !CAPNP_LITE
1018 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
1019 : : #endif // !CAPNP_LITE
1020 : :
1021 : : inline bool hasContext();
1022 : : inline ::mp::Context::Builder getContext();
1023 : : inline void setContext( ::mp::Context::Reader value);
1024 : : inline ::mp::Context::Builder initContext();
1025 : : inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
1026 : : inline ::capnp::Orphan< ::mp::Context> disownContext();
1027 : :
1028 : : private:
1029 : : ::capnp::_::StructBuilder _builder;
1030 : : template <typename, ::capnp::Kind>
1031 : : friend struct ::capnp::ToDynamic_;
1032 : : friend class ::capnp::Orphanage;
1033 : : template <typename, ::capnp::Kind>
1034 : : friend struct ::capnp::_::PointerHelpers;
1035 : : };
1036 : :
1037 : : #if !CAPNP_LITE
1038 : : class Mining::IsInitialBlockDownloadParams::Pipeline {
1039 : : public:
1040 : : typedef IsInitialBlockDownloadParams Pipelines;
1041 : :
1042 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1043 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1044 : : : _typeless(kj::mv(typeless)) {}
1045 : :
1046 : : inline ::mp::Context::Pipeline getContext();
1047 : : private:
1048 : : ::capnp::AnyPointer::Pipeline _typeless;
1049 : : friend class ::capnp::PipelineHook;
1050 : : template <typename, ::capnp::Kind>
1051 : : friend struct ::capnp::ToDynamic_;
1052 : : };
1053 : : #endif // !CAPNP_LITE
1054 : :
1055 : : class Mining::IsInitialBlockDownloadResults::Reader {
1056 : : public:
1057 : : typedef IsInitialBlockDownloadResults Reads;
1058 : :
1059 : : Reader() = default;
1060 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1061 : :
1062 : : inline ::capnp::MessageSize totalSize() const {
1063 : : return _reader.totalSize().asPublic();
1064 : : }
1065 : :
1066 : : #if !CAPNP_LITE
1067 : 0 : inline ::kj::StringTree toString() const {
1068 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1069 : : }
1070 : : #endif // !CAPNP_LITE
1071 : :
1072 : : inline bool getResult() const;
1073 : :
1074 : : private:
1075 : : ::capnp::_::StructReader _reader;
1076 : : template <typename, ::capnp::Kind>
1077 : : friend struct ::capnp::ToDynamic_;
1078 : : template <typename, ::capnp::Kind>
1079 : : friend struct ::capnp::_::PointerHelpers;
1080 : : template <typename, ::capnp::Kind>
1081 : : friend struct ::capnp::List;
1082 : : friend class ::capnp::MessageBuilder;
1083 : : friend class ::capnp::Orphanage;
1084 : : };
1085 : :
1086 : : class Mining::IsInitialBlockDownloadResults::Builder {
1087 : : public:
1088 : : typedef IsInitialBlockDownloadResults Builds;
1089 : :
1090 : : Builder() = delete; // Deleted to discourage incorrect usage.
1091 : : // You can explicitly initialize to nullptr instead.
1092 : : inline Builder(decltype(nullptr)) {}
1093 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1094 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
1095 : 0 : inline Reader asReader() const { return *this; }
1096 : :
1097 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1098 : : #if !CAPNP_LITE
1099 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
1100 : : #endif // !CAPNP_LITE
1101 : :
1102 : : inline bool getResult();
1103 : : inline void setResult(bool value);
1104 : :
1105 : : private:
1106 : : ::capnp::_::StructBuilder _builder;
1107 : : template <typename, ::capnp::Kind>
1108 : : friend struct ::capnp::ToDynamic_;
1109 : : friend class ::capnp::Orphanage;
1110 : : template <typename, ::capnp::Kind>
1111 : : friend struct ::capnp::_::PointerHelpers;
1112 : : };
1113 : :
1114 : : #if !CAPNP_LITE
1115 [ # # ]: 0 : class Mining::IsInitialBlockDownloadResults::Pipeline {
1116 : : public:
1117 : : typedef IsInitialBlockDownloadResults Pipelines;
1118 : :
1119 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1120 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1121 : 0 : : _typeless(kj::mv(typeless)) {}
1122 : :
1123 : : private:
1124 : : ::capnp::AnyPointer::Pipeline _typeless;
1125 : : friend class ::capnp::PipelineHook;
1126 : : template <typename, ::capnp::Kind>
1127 : : friend struct ::capnp::ToDynamic_;
1128 : : };
1129 : : #endif // !CAPNP_LITE
1130 : :
1131 : : class Mining::GetTipParams::Reader {
1132 : : public:
1133 : : typedef GetTipParams Reads;
1134 : :
1135 : : Reader() = default;
1136 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1137 : :
1138 : : inline ::capnp::MessageSize totalSize() const {
1139 : : return _reader.totalSize().asPublic();
1140 : : }
1141 : :
1142 : : #if !CAPNP_LITE
1143 : 0 : inline ::kj::StringTree toString() const {
1144 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1145 : : }
1146 : : #endif // !CAPNP_LITE
1147 : :
1148 : : inline bool hasContext() const;
1149 : : inline ::mp::Context::Reader getContext() const;
1150 : :
1151 : : private:
1152 : : ::capnp::_::StructReader _reader;
1153 : : template <typename, ::capnp::Kind>
1154 : : friend struct ::capnp::ToDynamic_;
1155 : : template <typename, ::capnp::Kind>
1156 : : friend struct ::capnp::_::PointerHelpers;
1157 : : template <typename, ::capnp::Kind>
1158 : : friend struct ::capnp::List;
1159 : : friend class ::capnp::MessageBuilder;
1160 : : friend class ::capnp::Orphanage;
1161 : : };
1162 : :
1163 : : class Mining::GetTipParams::Builder {
1164 : : public:
1165 : : typedef GetTipParams Builds;
1166 : :
1167 : : Builder() = delete; // Deleted to discourage incorrect usage.
1168 : : // You can explicitly initialize to nullptr instead.
1169 : : inline Builder(decltype(nullptr)) {}
1170 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1171 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
1172 : 0 : inline Reader asReader() const { return *this; }
1173 : :
1174 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1175 : : #if !CAPNP_LITE
1176 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
1177 : : #endif // !CAPNP_LITE
1178 : :
1179 : : inline bool hasContext();
1180 : : inline ::mp::Context::Builder getContext();
1181 : : inline void setContext( ::mp::Context::Reader value);
1182 : : inline ::mp::Context::Builder initContext();
1183 : : inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
1184 : : inline ::capnp::Orphan< ::mp::Context> disownContext();
1185 : :
1186 : : private:
1187 : : ::capnp::_::StructBuilder _builder;
1188 : : template <typename, ::capnp::Kind>
1189 : : friend struct ::capnp::ToDynamic_;
1190 : : friend class ::capnp::Orphanage;
1191 : : template <typename, ::capnp::Kind>
1192 : : friend struct ::capnp::_::PointerHelpers;
1193 : : };
1194 : :
1195 : : #if !CAPNP_LITE
1196 : : class Mining::GetTipParams::Pipeline {
1197 : : public:
1198 : : typedef GetTipParams Pipelines;
1199 : :
1200 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1201 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1202 : : : _typeless(kj::mv(typeless)) {}
1203 : :
1204 : : inline ::mp::Context::Pipeline getContext();
1205 : : private:
1206 : : ::capnp::AnyPointer::Pipeline _typeless;
1207 : : friend class ::capnp::PipelineHook;
1208 : : template <typename, ::capnp::Kind>
1209 : : friend struct ::capnp::ToDynamic_;
1210 : : };
1211 : : #endif // !CAPNP_LITE
1212 : :
1213 : : class Mining::GetTipResults::Reader {
1214 : : public:
1215 : : typedef GetTipResults Reads;
1216 : :
1217 : : Reader() = default;
1218 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1219 : :
1220 : : inline ::capnp::MessageSize totalSize() const {
1221 : : return _reader.totalSize().asPublic();
1222 : : }
1223 : :
1224 : : #if !CAPNP_LITE
1225 : 0 : inline ::kj::StringTree toString() const {
1226 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1227 : : }
1228 : : #endif // !CAPNP_LITE
1229 : :
1230 : : inline bool hasResult() const;
1231 : : inline ::ipc::capnp::messages::BlockRef::Reader getResult() const;
1232 : :
1233 : : inline bool getHasResult() const;
1234 : :
1235 : : private:
1236 : : ::capnp::_::StructReader _reader;
1237 : : template <typename, ::capnp::Kind>
1238 : : friend struct ::capnp::ToDynamic_;
1239 : : template <typename, ::capnp::Kind>
1240 : : friend struct ::capnp::_::PointerHelpers;
1241 : : template <typename, ::capnp::Kind>
1242 : : friend struct ::capnp::List;
1243 : : friend class ::capnp::MessageBuilder;
1244 : : friend class ::capnp::Orphanage;
1245 : : };
1246 : :
1247 : : class Mining::GetTipResults::Builder {
1248 : : public:
1249 : : typedef GetTipResults Builds;
1250 : :
1251 : : Builder() = delete; // Deleted to discourage incorrect usage.
1252 : : // You can explicitly initialize to nullptr instead.
1253 : : inline Builder(decltype(nullptr)) {}
1254 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1255 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
1256 : 0 : inline Reader asReader() const { return *this; }
1257 : :
1258 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1259 : : #if !CAPNP_LITE
1260 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
1261 : : #endif // !CAPNP_LITE
1262 : :
1263 : : inline bool hasResult();
1264 : : inline ::ipc::capnp::messages::BlockRef::Builder getResult();
1265 : : inline void setResult( ::ipc::capnp::messages::BlockRef::Reader value);
1266 : : inline ::ipc::capnp::messages::BlockRef::Builder initResult();
1267 : : inline void adoptResult(::capnp::Orphan< ::ipc::capnp::messages::BlockRef>&& value);
1268 : : inline ::capnp::Orphan< ::ipc::capnp::messages::BlockRef> disownResult();
1269 : :
1270 : : inline bool getHasResult();
1271 : : inline void setHasResult(bool value);
1272 : :
1273 : : private:
1274 : : ::capnp::_::StructBuilder _builder;
1275 : : template <typename, ::capnp::Kind>
1276 : : friend struct ::capnp::ToDynamic_;
1277 : : friend class ::capnp::Orphanage;
1278 : : template <typename, ::capnp::Kind>
1279 : : friend struct ::capnp::_::PointerHelpers;
1280 : : };
1281 : :
1282 : : #if !CAPNP_LITE
1283 [ # # ]: 0 : class Mining::GetTipResults::Pipeline {
1284 : : public:
1285 : : typedef GetTipResults Pipelines;
1286 : :
1287 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1288 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1289 : 0 : : _typeless(kj::mv(typeless)) {}
1290 : :
1291 : : inline ::ipc::capnp::messages::BlockRef::Pipeline getResult();
1292 : : private:
1293 : : ::capnp::AnyPointer::Pipeline _typeless;
1294 : : friend class ::capnp::PipelineHook;
1295 : : template <typename, ::capnp::Kind>
1296 : : friend struct ::capnp::ToDynamic_;
1297 : : };
1298 : : #endif // !CAPNP_LITE
1299 : :
1300 : : class Mining::WaitTipChangedParams::Reader {
1301 : : public:
1302 : : typedef WaitTipChangedParams Reads;
1303 : :
1304 : : Reader() = default;
1305 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1306 : :
1307 : : inline ::capnp::MessageSize totalSize() const {
1308 : : return _reader.totalSize().asPublic();
1309 : : }
1310 : :
1311 : : #if !CAPNP_LITE
1312 : 0 : inline ::kj::StringTree toString() const {
1313 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1314 : : }
1315 : : #endif // !CAPNP_LITE
1316 : :
1317 : : inline bool hasContext() const;
1318 : : inline ::mp::Context::Reader getContext() const;
1319 : :
1320 : : inline bool hasCurrentTip() const;
1321 : : inline ::capnp::Data::Reader getCurrentTip() const;
1322 : :
1323 : : inline double getTimeout() const;
1324 : :
1325 : : private:
1326 : : ::capnp::_::StructReader _reader;
1327 : : template <typename, ::capnp::Kind>
1328 : : friend struct ::capnp::ToDynamic_;
1329 : : template <typename, ::capnp::Kind>
1330 : : friend struct ::capnp::_::PointerHelpers;
1331 : : template <typename, ::capnp::Kind>
1332 : : friend struct ::capnp::List;
1333 : : friend class ::capnp::MessageBuilder;
1334 : : friend class ::capnp::Orphanage;
1335 : : };
1336 : :
1337 : : class Mining::WaitTipChangedParams::Builder {
1338 : : public:
1339 : : typedef WaitTipChangedParams Builds;
1340 : :
1341 : : Builder() = delete; // Deleted to discourage incorrect usage.
1342 : : // You can explicitly initialize to nullptr instead.
1343 : : inline Builder(decltype(nullptr)) {}
1344 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1345 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
1346 : 0 : inline Reader asReader() const { return *this; }
1347 : :
1348 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1349 : : #if !CAPNP_LITE
1350 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
1351 : : #endif // !CAPNP_LITE
1352 : :
1353 : : inline bool hasContext();
1354 : : inline ::mp::Context::Builder getContext();
1355 : : inline void setContext( ::mp::Context::Reader value);
1356 : : inline ::mp::Context::Builder initContext();
1357 : : inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
1358 : : inline ::capnp::Orphan< ::mp::Context> disownContext();
1359 : :
1360 : : inline bool hasCurrentTip();
1361 : : inline ::capnp::Data::Builder getCurrentTip();
1362 : : inline void setCurrentTip( ::capnp::Data::Reader value);
1363 : : inline ::capnp::Data::Builder initCurrentTip(unsigned int size);
1364 : : inline void adoptCurrentTip(::capnp::Orphan< ::capnp::Data>&& value);
1365 : : inline ::capnp::Orphan< ::capnp::Data> disownCurrentTip();
1366 : :
1367 : : inline double getTimeout();
1368 : : inline void setTimeout(double value);
1369 : :
1370 : : private:
1371 : : ::capnp::_::StructBuilder _builder;
1372 : : template <typename, ::capnp::Kind>
1373 : : friend struct ::capnp::ToDynamic_;
1374 : : friend class ::capnp::Orphanage;
1375 : : template <typename, ::capnp::Kind>
1376 : : friend struct ::capnp::_::PointerHelpers;
1377 : : };
1378 : :
1379 : : #if !CAPNP_LITE
1380 : : class Mining::WaitTipChangedParams::Pipeline {
1381 : : public:
1382 : : typedef WaitTipChangedParams Pipelines;
1383 : :
1384 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1385 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1386 : : : _typeless(kj::mv(typeless)) {}
1387 : :
1388 : : inline ::mp::Context::Pipeline getContext();
1389 : : private:
1390 : : ::capnp::AnyPointer::Pipeline _typeless;
1391 : : friend class ::capnp::PipelineHook;
1392 : : template <typename, ::capnp::Kind>
1393 : : friend struct ::capnp::ToDynamic_;
1394 : : };
1395 : : #endif // !CAPNP_LITE
1396 : :
1397 : : class Mining::WaitTipChangedResults::Reader {
1398 : : public:
1399 : : typedef WaitTipChangedResults Reads;
1400 : :
1401 : : Reader() = default;
1402 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1403 : :
1404 : : inline ::capnp::MessageSize totalSize() const {
1405 : : return _reader.totalSize().asPublic();
1406 : : }
1407 : :
1408 : : #if !CAPNP_LITE
1409 : 0 : inline ::kj::StringTree toString() const {
1410 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1411 : : }
1412 : : #endif // !CAPNP_LITE
1413 : :
1414 : : inline bool hasResult() const;
1415 : : inline ::ipc::capnp::messages::BlockRef::Reader getResult() const;
1416 : :
1417 : : private:
1418 : : ::capnp::_::StructReader _reader;
1419 : : template <typename, ::capnp::Kind>
1420 : : friend struct ::capnp::ToDynamic_;
1421 : : template <typename, ::capnp::Kind>
1422 : : friend struct ::capnp::_::PointerHelpers;
1423 : : template <typename, ::capnp::Kind>
1424 : : friend struct ::capnp::List;
1425 : : friend class ::capnp::MessageBuilder;
1426 : : friend class ::capnp::Orphanage;
1427 : : };
1428 : :
1429 : : class Mining::WaitTipChangedResults::Builder {
1430 : : public:
1431 : : typedef WaitTipChangedResults Builds;
1432 : :
1433 : : Builder() = delete; // Deleted to discourage incorrect usage.
1434 : : // You can explicitly initialize to nullptr instead.
1435 : : inline Builder(decltype(nullptr)) {}
1436 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1437 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
1438 : 0 : inline Reader asReader() const { return *this; }
1439 : :
1440 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1441 : : #if !CAPNP_LITE
1442 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
1443 : : #endif // !CAPNP_LITE
1444 : :
1445 : : inline bool hasResult();
1446 : : inline ::ipc::capnp::messages::BlockRef::Builder getResult();
1447 : : inline void setResult( ::ipc::capnp::messages::BlockRef::Reader value);
1448 : : inline ::ipc::capnp::messages::BlockRef::Builder initResult();
1449 : : inline void adoptResult(::capnp::Orphan< ::ipc::capnp::messages::BlockRef>&& value);
1450 : : inline ::capnp::Orphan< ::ipc::capnp::messages::BlockRef> disownResult();
1451 : :
1452 : : private:
1453 : : ::capnp::_::StructBuilder _builder;
1454 : : template <typename, ::capnp::Kind>
1455 : : friend struct ::capnp::ToDynamic_;
1456 : : friend class ::capnp::Orphanage;
1457 : : template <typename, ::capnp::Kind>
1458 : : friend struct ::capnp::_::PointerHelpers;
1459 : : };
1460 : :
1461 : : #if !CAPNP_LITE
1462 [ # # ]: 0 : class Mining::WaitTipChangedResults::Pipeline {
1463 : : public:
1464 : : typedef WaitTipChangedResults Pipelines;
1465 : :
1466 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1467 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1468 : 0 : : _typeless(kj::mv(typeless)) {}
1469 : :
1470 : : inline ::ipc::capnp::messages::BlockRef::Pipeline getResult();
1471 : : private:
1472 : : ::capnp::AnyPointer::Pipeline _typeless;
1473 : : friend class ::capnp::PipelineHook;
1474 : : template <typename, ::capnp::Kind>
1475 : : friend struct ::capnp::ToDynamic_;
1476 : : };
1477 : : #endif // !CAPNP_LITE
1478 : :
1479 : : class Mining::CreateNewBlockParams::Reader {
1480 : : public:
1481 : : typedef CreateNewBlockParams Reads;
1482 : :
1483 : : Reader() = default;
1484 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1485 : :
1486 : : inline ::capnp::MessageSize totalSize() const {
1487 : : return _reader.totalSize().asPublic();
1488 : : }
1489 : :
1490 : : #if !CAPNP_LITE
1491 : 0 : inline ::kj::StringTree toString() const {
1492 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1493 : : }
1494 : : #endif // !CAPNP_LITE
1495 : :
1496 : : inline bool hasOptions() const;
1497 : : inline ::ipc::capnp::messages::BlockCreateOptions::Reader getOptions() const;
1498 : :
1499 : : private:
1500 : : ::capnp::_::StructReader _reader;
1501 : : template <typename, ::capnp::Kind>
1502 : : friend struct ::capnp::ToDynamic_;
1503 : : template <typename, ::capnp::Kind>
1504 : : friend struct ::capnp::_::PointerHelpers;
1505 : : template <typename, ::capnp::Kind>
1506 : : friend struct ::capnp::List;
1507 : : friend class ::capnp::MessageBuilder;
1508 : : friend class ::capnp::Orphanage;
1509 : : };
1510 : :
1511 : : class Mining::CreateNewBlockParams::Builder {
1512 : : public:
1513 : : typedef CreateNewBlockParams Builds;
1514 : :
1515 : : Builder() = delete; // Deleted to discourage incorrect usage.
1516 : : // You can explicitly initialize to nullptr instead.
1517 : : inline Builder(decltype(nullptr)) {}
1518 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1519 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
1520 : 0 : inline Reader asReader() const { return *this; }
1521 : :
1522 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1523 : : #if !CAPNP_LITE
1524 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
1525 : : #endif // !CAPNP_LITE
1526 : :
1527 : : inline bool hasOptions();
1528 : : inline ::ipc::capnp::messages::BlockCreateOptions::Builder getOptions();
1529 : : inline void setOptions( ::ipc::capnp::messages::BlockCreateOptions::Reader value);
1530 : : inline ::ipc::capnp::messages::BlockCreateOptions::Builder initOptions();
1531 : : inline void adoptOptions(::capnp::Orphan< ::ipc::capnp::messages::BlockCreateOptions>&& value);
1532 : : inline ::capnp::Orphan< ::ipc::capnp::messages::BlockCreateOptions> disownOptions();
1533 : :
1534 : : private:
1535 : : ::capnp::_::StructBuilder _builder;
1536 : : template <typename, ::capnp::Kind>
1537 : : friend struct ::capnp::ToDynamic_;
1538 : : friend class ::capnp::Orphanage;
1539 : : template <typename, ::capnp::Kind>
1540 : : friend struct ::capnp::_::PointerHelpers;
1541 : : };
1542 : :
1543 : : #if !CAPNP_LITE
1544 : : class Mining::CreateNewBlockParams::Pipeline {
1545 : : public:
1546 : : typedef CreateNewBlockParams Pipelines;
1547 : :
1548 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1549 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1550 : : : _typeless(kj::mv(typeless)) {}
1551 : :
1552 : : inline ::ipc::capnp::messages::BlockCreateOptions::Pipeline getOptions();
1553 : : private:
1554 : : ::capnp::AnyPointer::Pipeline _typeless;
1555 : : friend class ::capnp::PipelineHook;
1556 : : template <typename, ::capnp::Kind>
1557 : : friend struct ::capnp::ToDynamic_;
1558 : : };
1559 : : #endif // !CAPNP_LITE
1560 : :
1561 : : class Mining::CreateNewBlockResults::Reader {
1562 : : public:
1563 : : typedef CreateNewBlockResults Reads;
1564 : :
1565 : : Reader() = default;
1566 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1567 : :
1568 : : inline ::capnp::MessageSize totalSize() const {
1569 : : return _reader.totalSize().asPublic();
1570 : : }
1571 : :
1572 : : #if !CAPNP_LITE
1573 : 0 : inline ::kj::StringTree toString() const {
1574 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1575 : : }
1576 : : #endif // !CAPNP_LITE
1577 : :
1578 : : inline bool hasResult() const;
1579 : : #if !CAPNP_LITE
1580 : : inline ::ipc::capnp::messages::BlockTemplate::Client getResult() const;
1581 : : #endif // !CAPNP_LITE
1582 : :
1583 : : private:
1584 : : ::capnp::_::StructReader _reader;
1585 : : template <typename, ::capnp::Kind>
1586 : : friend struct ::capnp::ToDynamic_;
1587 : : template <typename, ::capnp::Kind>
1588 : : friend struct ::capnp::_::PointerHelpers;
1589 : : template <typename, ::capnp::Kind>
1590 : : friend struct ::capnp::List;
1591 : : friend class ::capnp::MessageBuilder;
1592 : : friend class ::capnp::Orphanage;
1593 : : };
1594 : :
1595 : : class Mining::CreateNewBlockResults::Builder {
1596 : : public:
1597 : : typedef CreateNewBlockResults Builds;
1598 : :
1599 : : Builder() = delete; // Deleted to discourage incorrect usage.
1600 : : // You can explicitly initialize to nullptr instead.
1601 : : inline Builder(decltype(nullptr)) {}
1602 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1603 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
1604 : 0 : inline Reader asReader() const { return *this; }
1605 : :
1606 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1607 : : #if !CAPNP_LITE
1608 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
1609 : : #endif // !CAPNP_LITE
1610 : :
1611 : : inline bool hasResult();
1612 : : #if !CAPNP_LITE
1613 : : inline ::ipc::capnp::messages::BlockTemplate::Client getResult();
1614 : : inline void setResult( ::ipc::capnp::messages::BlockTemplate::Client&& value);
1615 : : inline void setResult( ::ipc::capnp::messages::BlockTemplate::Client& value);
1616 : : inline void adoptResult(::capnp::Orphan< ::ipc::capnp::messages::BlockTemplate>&& value);
1617 : : inline ::capnp::Orphan< ::ipc::capnp::messages::BlockTemplate> disownResult();
1618 : : #endif // !CAPNP_LITE
1619 : :
1620 : : private:
1621 : : ::capnp::_::StructBuilder _builder;
1622 : : template <typename, ::capnp::Kind>
1623 : : friend struct ::capnp::ToDynamic_;
1624 : : friend class ::capnp::Orphanage;
1625 : : template <typename, ::capnp::Kind>
1626 : : friend struct ::capnp::_::PointerHelpers;
1627 : : };
1628 : :
1629 : : #if !CAPNP_LITE
1630 [ # # ]: 0 : class Mining::CreateNewBlockResults::Pipeline {
1631 : : public:
1632 : : typedef CreateNewBlockResults Pipelines;
1633 : :
1634 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1635 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1636 : 0 : : _typeless(kj::mv(typeless)) {}
1637 : :
1638 : : inline ::ipc::capnp::messages::BlockTemplate::Client getResult();
1639 : : private:
1640 : : ::capnp::AnyPointer::Pipeline _typeless;
1641 : : friend class ::capnp::PipelineHook;
1642 : : template <typename, ::capnp::Kind>
1643 : : friend struct ::capnp::ToDynamic_;
1644 : : };
1645 : : #endif // !CAPNP_LITE
1646 : :
1647 : : class Mining::CheckBlockParams::Reader {
1648 : : public:
1649 : : typedef CheckBlockParams Reads;
1650 : :
1651 : : Reader() = default;
1652 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1653 : :
1654 : : inline ::capnp::MessageSize totalSize() const {
1655 : : return _reader.totalSize().asPublic();
1656 : : }
1657 : :
1658 : : #if !CAPNP_LITE
1659 : 0 : inline ::kj::StringTree toString() const {
1660 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1661 : : }
1662 : : #endif // !CAPNP_LITE
1663 : :
1664 : : inline bool hasBlock() const;
1665 : : inline ::capnp::Data::Reader getBlock() const;
1666 : :
1667 : : inline bool hasOptions() const;
1668 : : inline ::ipc::capnp::messages::BlockCheckOptions::Reader getOptions() const;
1669 : :
1670 : : private:
1671 : : ::capnp::_::StructReader _reader;
1672 : : template <typename, ::capnp::Kind>
1673 : : friend struct ::capnp::ToDynamic_;
1674 : : template <typename, ::capnp::Kind>
1675 : : friend struct ::capnp::_::PointerHelpers;
1676 : : template <typename, ::capnp::Kind>
1677 : : friend struct ::capnp::List;
1678 : : friend class ::capnp::MessageBuilder;
1679 : : friend class ::capnp::Orphanage;
1680 : : };
1681 : :
1682 : : class Mining::CheckBlockParams::Builder {
1683 : : public:
1684 : : typedef CheckBlockParams Builds;
1685 : :
1686 : : Builder() = delete; // Deleted to discourage incorrect usage.
1687 : : // You can explicitly initialize to nullptr instead.
1688 : : inline Builder(decltype(nullptr)) {}
1689 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1690 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
1691 : 0 : inline Reader asReader() const { return *this; }
1692 : :
1693 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1694 : : #if !CAPNP_LITE
1695 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
1696 : : #endif // !CAPNP_LITE
1697 : :
1698 : : inline bool hasBlock();
1699 : : inline ::capnp::Data::Builder getBlock();
1700 : : inline void setBlock( ::capnp::Data::Reader value);
1701 : : inline ::capnp::Data::Builder initBlock(unsigned int size);
1702 : : inline void adoptBlock(::capnp::Orphan< ::capnp::Data>&& value);
1703 : : inline ::capnp::Orphan< ::capnp::Data> disownBlock();
1704 : :
1705 : : inline bool hasOptions();
1706 : : inline ::ipc::capnp::messages::BlockCheckOptions::Builder getOptions();
1707 : : inline void setOptions( ::ipc::capnp::messages::BlockCheckOptions::Reader value);
1708 : : inline ::ipc::capnp::messages::BlockCheckOptions::Builder initOptions();
1709 : : inline void adoptOptions(::capnp::Orphan< ::ipc::capnp::messages::BlockCheckOptions>&& value);
1710 : : inline ::capnp::Orphan< ::ipc::capnp::messages::BlockCheckOptions> disownOptions();
1711 : :
1712 : : private:
1713 : : ::capnp::_::StructBuilder _builder;
1714 : : template <typename, ::capnp::Kind>
1715 : : friend struct ::capnp::ToDynamic_;
1716 : : friend class ::capnp::Orphanage;
1717 : : template <typename, ::capnp::Kind>
1718 : : friend struct ::capnp::_::PointerHelpers;
1719 : : };
1720 : :
1721 : : #if !CAPNP_LITE
1722 : : class Mining::CheckBlockParams::Pipeline {
1723 : : public:
1724 : : typedef CheckBlockParams Pipelines;
1725 : :
1726 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1727 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1728 : : : _typeless(kj::mv(typeless)) {}
1729 : :
1730 : : inline ::ipc::capnp::messages::BlockCheckOptions::Pipeline getOptions();
1731 : : private:
1732 : : ::capnp::AnyPointer::Pipeline _typeless;
1733 : : friend class ::capnp::PipelineHook;
1734 : : template <typename, ::capnp::Kind>
1735 : : friend struct ::capnp::ToDynamic_;
1736 : : };
1737 : : #endif // !CAPNP_LITE
1738 : :
1739 : : class Mining::CheckBlockResults::Reader {
1740 : : public:
1741 : : typedef CheckBlockResults Reads;
1742 : :
1743 : : Reader() = default;
1744 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1745 : :
1746 : : inline ::capnp::MessageSize totalSize() const {
1747 : : return _reader.totalSize().asPublic();
1748 : : }
1749 : :
1750 : : #if !CAPNP_LITE
1751 : 0 : inline ::kj::StringTree toString() const {
1752 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1753 : : }
1754 : : #endif // !CAPNP_LITE
1755 : :
1756 : : inline bool hasReason() const;
1757 : : inline ::capnp::Text::Reader getReason() const;
1758 : :
1759 : : inline bool hasDebug() const;
1760 : : inline ::capnp::Text::Reader getDebug() const;
1761 : :
1762 : : inline bool getResult() const;
1763 : :
1764 : : private:
1765 : : ::capnp::_::StructReader _reader;
1766 : : template <typename, ::capnp::Kind>
1767 : : friend struct ::capnp::ToDynamic_;
1768 : : template <typename, ::capnp::Kind>
1769 : : friend struct ::capnp::_::PointerHelpers;
1770 : : template <typename, ::capnp::Kind>
1771 : : friend struct ::capnp::List;
1772 : : friend class ::capnp::MessageBuilder;
1773 : : friend class ::capnp::Orphanage;
1774 : : };
1775 : :
1776 : : class Mining::CheckBlockResults::Builder {
1777 : : public:
1778 : : typedef CheckBlockResults Builds;
1779 : :
1780 : : Builder() = delete; // Deleted to discourage incorrect usage.
1781 : : // You can explicitly initialize to nullptr instead.
1782 : : inline Builder(decltype(nullptr)) {}
1783 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1784 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
1785 : 0 : inline Reader asReader() const { return *this; }
1786 : :
1787 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1788 : : #if !CAPNP_LITE
1789 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
1790 : : #endif // !CAPNP_LITE
1791 : :
1792 : : inline bool hasReason();
1793 : : inline ::capnp::Text::Builder getReason();
1794 : : inline void setReason( ::capnp::Text::Reader value);
1795 : : inline ::capnp::Text::Builder initReason(unsigned int size);
1796 : : inline void adoptReason(::capnp::Orphan< ::capnp::Text>&& value);
1797 : : inline ::capnp::Orphan< ::capnp::Text> disownReason();
1798 : :
1799 : : inline bool hasDebug();
1800 : : inline ::capnp::Text::Builder getDebug();
1801 : : inline void setDebug( ::capnp::Text::Reader value);
1802 : : inline ::capnp::Text::Builder initDebug(unsigned int size);
1803 : : inline void adoptDebug(::capnp::Orphan< ::capnp::Text>&& value);
1804 : : inline ::capnp::Orphan< ::capnp::Text> disownDebug();
1805 : :
1806 : : inline bool getResult();
1807 : : inline void setResult(bool value);
1808 : :
1809 : : private:
1810 : : ::capnp::_::StructBuilder _builder;
1811 : : template <typename, ::capnp::Kind>
1812 : : friend struct ::capnp::ToDynamic_;
1813 : : friend class ::capnp::Orphanage;
1814 : : template <typename, ::capnp::Kind>
1815 : : friend struct ::capnp::_::PointerHelpers;
1816 : : };
1817 : :
1818 : : #if !CAPNP_LITE
1819 [ # # ]: 0 : class Mining::CheckBlockResults::Pipeline {
1820 : : public:
1821 : : typedef CheckBlockResults Pipelines;
1822 : :
1823 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1824 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1825 : 0 : : _typeless(kj::mv(typeless)) {}
1826 : :
1827 : : private:
1828 : : ::capnp::AnyPointer::Pipeline _typeless;
1829 : : friend class ::capnp::PipelineHook;
1830 : : template <typename, ::capnp::Kind>
1831 : : friend struct ::capnp::ToDynamic_;
1832 : : };
1833 : : #endif // !CAPNP_LITE
1834 : :
1835 : : #if !CAPNP_LITE
1836 [ # # # # ]: 0 : class BlockTemplate::Client
1837 : : : public virtual ::capnp::Capability::Client {
1838 : : public:
1839 : : typedef BlockTemplate Calls;
1840 : : typedef BlockTemplate Reads;
1841 : :
1842 : : Client(decltype(nullptr));
1843 : : explicit Client(::kj::Own< ::capnp::ClientHook>&& hook);
1844 : : template <typename _t, typename = ::kj::EnableIf< ::kj::canConvert<_t*, Server*>()>>
1845 : : Client(::kj::Own<_t>&& server);
1846 : : template <typename _t, typename = ::kj::EnableIf< ::kj::canConvert<_t*, Client*>()>>
1847 : : Client(::kj::Promise<_t>&& promise);
1848 : : Client(::kj::Exception&& exception);
1849 : : Client(Client&) = default;
1850 [ # # # # ]: 0 : Client(Client&&) = default;
1851 : : Client& operator=(Client& other);
1852 : : Client& operator=(Client&& other);
1853 : :
1854 : : ::capnp::Request< ::ipc::capnp::messages::BlockTemplate::DestroyParams, ::ipc::capnp::messages::BlockTemplate::DestroyResults> destroyRequest(
1855 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
1856 : : ::capnp::Request< ::ipc::capnp::messages::BlockTemplate::GetBlockHeaderParams, ::ipc::capnp::messages::BlockTemplate::GetBlockHeaderResults> getBlockHeaderRequest(
1857 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
1858 : : ::capnp::Request< ::ipc::capnp::messages::BlockTemplate::GetBlockParams, ::ipc::capnp::messages::BlockTemplate::GetBlockResults> getBlockRequest(
1859 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
1860 : : ::capnp::Request< ::ipc::capnp::messages::BlockTemplate::GetTxFeesParams, ::ipc::capnp::messages::BlockTemplate::GetTxFeesResults> getTxFeesRequest(
1861 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
1862 : : ::capnp::Request< ::ipc::capnp::messages::BlockTemplate::GetTxSigopsParams, ::ipc::capnp::messages::BlockTemplate::GetTxSigopsResults> getTxSigopsRequest(
1863 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
1864 : : ::capnp::Request< ::ipc::capnp::messages::BlockTemplate::GetCoinbaseTxParams, ::ipc::capnp::messages::BlockTemplate::GetCoinbaseTxResults> getCoinbaseTxRequest(
1865 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
1866 : : ::capnp::Request< ::ipc::capnp::messages::BlockTemplate::GetCoinbaseCommitmentParams, ::ipc::capnp::messages::BlockTemplate::GetCoinbaseCommitmentResults> getCoinbaseCommitmentRequest(
1867 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
1868 : : ::capnp::Request< ::ipc::capnp::messages::BlockTemplate::GetWitnessCommitmentIndexParams, ::ipc::capnp::messages::BlockTemplate::GetWitnessCommitmentIndexResults> getWitnessCommitmentIndexRequest(
1869 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
1870 : : ::capnp::Request< ::ipc::capnp::messages::BlockTemplate::GetCoinbaseMerklePathParams, ::ipc::capnp::messages::BlockTemplate::GetCoinbaseMerklePathResults> getCoinbaseMerklePathRequest(
1871 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
1872 : : ::capnp::Request< ::ipc::capnp::messages::BlockTemplate::SubmitSolutionParams, ::ipc::capnp::messages::BlockTemplate::SubmitSolutionResults> submitSolutionRequest(
1873 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
1874 : : ::capnp::Request< ::ipc::capnp::messages::BlockTemplate::WaitNextParams, ::ipc::capnp::messages::BlockTemplate::WaitNextResults> waitNextRequest(
1875 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
1876 : : ::capnp::Request< ::ipc::capnp::messages::BlockTemplate::InterruptWaitParams, ::ipc::capnp::messages::BlockTemplate::InterruptWaitResults> interruptWaitRequest(
1877 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
1878 : :
1879 : : protected:
1880 : : Client() = default;
1881 : : };
1882 : :
1883 : : class BlockTemplate::Server
1884 : : : public virtual ::capnp::Capability::Server {
1885 : : public:
1886 : : typedef BlockTemplate Serves;
1887 : :
1888 : : ::capnp::Capability::Server::DispatchCallResult dispatchCall(
1889 : : uint64_t interfaceId, uint16_t methodId,
1890 : : ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context)
1891 : : override;
1892 : :
1893 : : protected:
1894 : : typedef ::ipc::capnp::messages::BlockTemplate::DestroyParams DestroyParams;
1895 : : typedef ::ipc::capnp::messages::BlockTemplate::DestroyResults DestroyResults;
1896 : : typedef ::capnp::CallContext<DestroyParams, DestroyResults> DestroyContext;
1897 : : virtual ::kj::Promise<void> destroy(DestroyContext context);
1898 : : typedef ::ipc::capnp::messages::BlockTemplate::GetBlockHeaderParams GetBlockHeaderParams;
1899 : : typedef ::ipc::capnp::messages::BlockTemplate::GetBlockHeaderResults GetBlockHeaderResults;
1900 : : typedef ::capnp::CallContext<GetBlockHeaderParams, GetBlockHeaderResults> GetBlockHeaderContext;
1901 : : virtual ::kj::Promise<void> getBlockHeader(GetBlockHeaderContext context);
1902 : : typedef ::ipc::capnp::messages::BlockTemplate::GetBlockParams GetBlockParams;
1903 : : typedef ::ipc::capnp::messages::BlockTemplate::GetBlockResults GetBlockResults;
1904 : : typedef ::capnp::CallContext<GetBlockParams, GetBlockResults> GetBlockContext;
1905 : : virtual ::kj::Promise<void> getBlock(GetBlockContext context);
1906 : : typedef ::ipc::capnp::messages::BlockTemplate::GetTxFeesParams GetTxFeesParams;
1907 : : typedef ::ipc::capnp::messages::BlockTemplate::GetTxFeesResults GetTxFeesResults;
1908 : : typedef ::capnp::CallContext<GetTxFeesParams, GetTxFeesResults> GetTxFeesContext;
1909 : : virtual ::kj::Promise<void> getTxFees(GetTxFeesContext context);
1910 : : typedef ::ipc::capnp::messages::BlockTemplate::GetTxSigopsParams GetTxSigopsParams;
1911 : : typedef ::ipc::capnp::messages::BlockTemplate::GetTxSigopsResults GetTxSigopsResults;
1912 : : typedef ::capnp::CallContext<GetTxSigopsParams, GetTxSigopsResults> GetTxSigopsContext;
1913 : : virtual ::kj::Promise<void> getTxSigops(GetTxSigopsContext context);
1914 : : typedef ::ipc::capnp::messages::BlockTemplate::GetCoinbaseTxParams GetCoinbaseTxParams;
1915 : : typedef ::ipc::capnp::messages::BlockTemplate::GetCoinbaseTxResults GetCoinbaseTxResults;
1916 : : typedef ::capnp::CallContext<GetCoinbaseTxParams, GetCoinbaseTxResults> GetCoinbaseTxContext;
1917 : : virtual ::kj::Promise<void> getCoinbaseTx(GetCoinbaseTxContext context);
1918 : : typedef ::ipc::capnp::messages::BlockTemplate::GetCoinbaseCommitmentParams GetCoinbaseCommitmentParams;
1919 : : typedef ::ipc::capnp::messages::BlockTemplate::GetCoinbaseCommitmentResults GetCoinbaseCommitmentResults;
1920 : : typedef ::capnp::CallContext<GetCoinbaseCommitmentParams, GetCoinbaseCommitmentResults> GetCoinbaseCommitmentContext;
1921 : : virtual ::kj::Promise<void> getCoinbaseCommitment(GetCoinbaseCommitmentContext context);
1922 : : typedef ::ipc::capnp::messages::BlockTemplate::GetWitnessCommitmentIndexParams GetWitnessCommitmentIndexParams;
1923 : : typedef ::ipc::capnp::messages::BlockTemplate::GetWitnessCommitmentIndexResults GetWitnessCommitmentIndexResults;
1924 : : typedef ::capnp::CallContext<GetWitnessCommitmentIndexParams, GetWitnessCommitmentIndexResults> GetWitnessCommitmentIndexContext;
1925 : : virtual ::kj::Promise<void> getWitnessCommitmentIndex(GetWitnessCommitmentIndexContext context);
1926 : : typedef ::ipc::capnp::messages::BlockTemplate::GetCoinbaseMerklePathParams GetCoinbaseMerklePathParams;
1927 : : typedef ::ipc::capnp::messages::BlockTemplate::GetCoinbaseMerklePathResults GetCoinbaseMerklePathResults;
1928 : : typedef ::capnp::CallContext<GetCoinbaseMerklePathParams, GetCoinbaseMerklePathResults> GetCoinbaseMerklePathContext;
1929 : : virtual ::kj::Promise<void> getCoinbaseMerklePath(GetCoinbaseMerklePathContext context);
1930 : : typedef ::ipc::capnp::messages::BlockTemplate::SubmitSolutionParams SubmitSolutionParams;
1931 : : typedef ::ipc::capnp::messages::BlockTemplate::SubmitSolutionResults SubmitSolutionResults;
1932 : : typedef ::capnp::CallContext<SubmitSolutionParams, SubmitSolutionResults> SubmitSolutionContext;
1933 : : virtual ::kj::Promise<void> submitSolution(SubmitSolutionContext context);
1934 : : typedef ::ipc::capnp::messages::BlockTemplate::WaitNextParams WaitNextParams;
1935 : : typedef ::ipc::capnp::messages::BlockTemplate::WaitNextResults WaitNextResults;
1936 : : typedef ::capnp::CallContext<WaitNextParams, WaitNextResults> WaitNextContext;
1937 : : virtual ::kj::Promise<void> waitNext(WaitNextContext context);
1938 : : typedef ::ipc::capnp::messages::BlockTemplate::InterruptWaitParams InterruptWaitParams;
1939 : : typedef ::ipc::capnp::messages::BlockTemplate::InterruptWaitResults InterruptWaitResults;
1940 : : typedef ::capnp::CallContext<InterruptWaitParams, InterruptWaitResults> InterruptWaitContext;
1941 : : virtual ::kj::Promise<void> interruptWait(InterruptWaitContext context);
1942 : :
1943 : : inline ::ipc::capnp::messages::BlockTemplate::Client thisCap() {
1944 : : return ::capnp::Capability::Server::thisCap()
1945 : : .template castAs< ::ipc::capnp::messages::BlockTemplate>();
1946 : : }
1947 : :
1948 : : ::capnp::Capability::Server::DispatchCallResult dispatchCallInternal(
1949 : : uint16_t methodId,
1950 : : ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context);
1951 : : };
1952 : : #endif // !CAPNP_LITE
1953 : :
1954 : : class BlockTemplate::DestroyParams::Reader {
1955 : : public:
1956 : : typedef DestroyParams Reads;
1957 : :
1958 : : Reader() = default;
1959 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1960 : :
1961 : : inline ::capnp::MessageSize totalSize() const {
1962 : : return _reader.totalSize().asPublic();
1963 : : }
1964 : :
1965 : : #if !CAPNP_LITE
1966 : 0 : inline ::kj::StringTree toString() const {
1967 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1968 : : }
1969 : : #endif // !CAPNP_LITE
1970 : :
1971 : : inline bool hasContext() const;
1972 : : inline ::mp::Context::Reader getContext() const;
1973 : :
1974 : : private:
1975 : : ::capnp::_::StructReader _reader;
1976 : : template <typename, ::capnp::Kind>
1977 : : friend struct ::capnp::ToDynamic_;
1978 : : template <typename, ::capnp::Kind>
1979 : : friend struct ::capnp::_::PointerHelpers;
1980 : : template <typename, ::capnp::Kind>
1981 : : friend struct ::capnp::List;
1982 : : friend class ::capnp::MessageBuilder;
1983 : : friend class ::capnp::Orphanage;
1984 : : };
1985 : :
1986 : : class BlockTemplate::DestroyParams::Builder {
1987 : : public:
1988 : : typedef DestroyParams Builds;
1989 : :
1990 : : Builder() = delete; // Deleted to discourage incorrect usage.
1991 : : // You can explicitly initialize to nullptr instead.
1992 : : inline Builder(decltype(nullptr)) {}
1993 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1994 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
1995 : 0 : inline Reader asReader() const { return *this; }
1996 : :
1997 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1998 : : #if !CAPNP_LITE
1999 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
2000 : : #endif // !CAPNP_LITE
2001 : :
2002 : : inline bool hasContext();
2003 : : inline ::mp::Context::Builder getContext();
2004 : : inline void setContext( ::mp::Context::Reader value);
2005 : : inline ::mp::Context::Builder initContext();
2006 : : inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
2007 : : inline ::capnp::Orphan< ::mp::Context> disownContext();
2008 : :
2009 : : private:
2010 : : ::capnp::_::StructBuilder _builder;
2011 : : template <typename, ::capnp::Kind>
2012 : : friend struct ::capnp::ToDynamic_;
2013 : : friend class ::capnp::Orphanage;
2014 : : template <typename, ::capnp::Kind>
2015 : : friend struct ::capnp::_::PointerHelpers;
2016 : : };
2017 : :
2018 : : #if !CAPNP_LITE
2019 : : class BlockTemplate::DestroyParams::Pipeline {
2020 : : public:
2021 : : typedef DestroyParams Pipelines;
2022 : :
2023 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2024 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2025 : : : _typeless(kj::mv(typeless)) {}
2026 : :
2027 : : inline ::mp::Context::Pipeline getContext();
2028 : : private:
2029 : : ::capnp::AnyPointer::Pipeline _typeless;
2030 : : friend class ::capnp::PipelineHook;
2031 : : template <typename, ::capnp::Kind>
2032 : : friend struct ::capnp::ToDynamic_;
2033 : : };
2034 : : #endif // !CAPNP_LITE
2035 : :
2036 : : class BlockTemplate::DestroyResults::Reader {
2037 : : public:
2038 : : typedef DestroyResults Reads;
2039 : :
2040 : : Reader() = default;
2041 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2042 : :
2043 : : inline ::capnp::MessageSize totalSize() const {
2044 : : return _reader.totalSize().asPublic();
2045 : : }
2046 : :
2047 : : #if !CAPNP_LITE
2048 : 0 : inline ::kj::StringTree toString() const {
2049 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2050 : : }
2051 : : #endif // !CAPNP_LITE
2052 : :
2053 : : private:
2054 : : ::capnp::_::StructReader _reader;
2055 : : template <typename, ::capnp::Kind>
2056 : : friend struct ::capnp::ToDynamic_;
2057 : : template <typename, ::capnp::Kind>
2058 : : friend struct ::capnp::_::PointerHelpers;
2059 : : template <typename, ::capnp::Kind>
2060 : : friend struct ::capnp::List;
2061 : : friend class ::capnp::MessageBuilder;
2062 : : friend class ::capnp::Orphanage;
2063 : : };
2064 : :
2065 : : class BlockTemplate::DestroyResults::Builder {
2066 : : public:
2067 : : typedef DestroyResults Builds;
2068 : :
2069 : : Builder() = delete; // Deleted to discourage incorrect usage.
2070 : : // You can explicitly initialize to nullptr instead.
2071 : : inline Builder(decltype(nullptr)) {}
2072 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2073 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
2074 : 0 : inline Reader asReader() const { return *this; }
2075 : :
2076 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2077 : : #if !CAPNP_LITE
2078 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
2079 : : #endif // !CAPNP_LITE
2080 : :
2081 : : private:
2082 : : ::capnp::_::StructBuilder _builder;
2083 : : template <typename, ::capnp::Kind>
2084 : : friend struct ::capnp::ToDynamic_;
2085 : : friend class ::capnp::Orphanage;
2086 : : template <typename, ::capnp::Kind>
2087 : : friend struct ::capnp::_::PointerHelpers;
2088 : : };
2089 : :
2090 : : #if !CAPNP_LITE
2091 [ # # ]: 0 : class BlockTemplate::DestroyResults::Pipeline {
2092 : : public:
2093 : : typedef DestroyResults Pipelines;
2094 : :
2095 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2096 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2097 : 0 : : _typeless(kj::mv(typeless)) {}
2098 : :
2099 : : private:
2100 : : ::capnp::AnyPointer::Pipeline _typeless;
2101 : : friend class ::capnp::PipelineHook;
2102 : : template <typename, ::capnp::Kind>
2103 : : friend struct ::capnp::ToDynamic_;
2104 : : };
2105 : : #endif // !CAPNP_LITE
2106 : :
2107 : : class BlockTemplate::GetBlockHeaderParams::Reader {
2108 : : public:
2109 : : typedef GetBlockHeaderParams Reads;
2110 : :
2111 : : Reader() = default;
2112 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2113 : :
2114 : : inline ::capnp::MessageSize totalSize() const {
2115 : : return _reader.totalSize().asPublic();
2116 : : }
2117 : :
2118 : : #if !CAPNP_LITE
2119 : 0 : inline ::kj::StringTree toString() const {
2120 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2121 : : }
2122 : : #endif // !CAPNP_LITE
2123 : :
2124 : : inline bool hasContext() const;
2125 : : inline ::mp::Context::Reader getContext() const;
2126 : :
2127 : : private:
2128 : : ::capnp::_::StructReader _reader;
2129 : : template <typename, ::capnp::Kind>
2130 : : friend struct ::capnp::ToDynamic_;
2131 : : template <typename, ::capnp::Kind>
2132 : : friend struct ::capnp::_::PointerHelpers;
2133 : : template <typename, ::capnp::Kind>
2134 : : friend struct ::capnp::List;
2135 : : friend class ::capnp::MessageBuilder;
2136 : : friend class ::capnp::Orphanage;
2137 : : };
2138 : :
2139 : : class BlockTemplate::GetBlockHeaderParams::Builder {
2140 : : public:
2141 : : typedef GetBlockHeaderParams Builds;
2142 : :
2143 : : Builder() = delete; // Deleted to discourage incorrect usage.
2144 : : // You can explicitly initialize to nullptr instead.
2145 : : inline Builder(decltype(nullptr)) {}
2146 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2147 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
2148 : 0 : inline Reader asReader() const { return *this; }
2149 : :
2150 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2151 : : #if !CAPNP_LITE
2152 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
2153 : : #endif // !CAPNP_LITE
2154 : :
2155 : : inline bool hasContext();
2156 : : inline ::mp::Context::Builder getContext();
2157 : : inline void setContext( ::mp::Context::Reader value);
2158 : : inline ::mp::Context::Builder initContext();
2159 : : inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
2160 : : inline ::capnp::Orphan< ::mp::Context> disownContext();
2161 : :
2162 : : private:
2163 : : ::capnp::_::StructBuilder _builder;
2164 : : template <typename, ::capnp::Kind>
2165 : : friend struct ::capnp::ToDynamic_;
2166 : : friend class ::capnp::Orphanage;
2167 : : template <typename, ::capnp::Kind>
2168 : : friend struct ::capnp::_::PointerHelpers;
2169 : : };
2170 : :
2171 : : #if !CAPNP_LITE
2172 : : class BlockTemplate::GetBlockHeaderParams::Pipeline {
2173 : : public:
2174 : : typedef GetBlockHeaderParams Pipelines;
2175 : :
2176 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2177 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2178 : : : _typeless(kj::mv(typeless)) {}
2179 : :
2180 : : inline ::mp::Context::Pipeline getContext();
2181 : : private:
2182 : : ::capnp::AnyPointer::Pipeline _typeless;
2183 : : friend class ::capnp::PipelineHook;
2184 : : template <typename, ::capnp::Kind>
2185 : : friend struct ::capnp::ToDynamic_;
2186 : : };
2187 : : #endif // !CAPNP_LITE
2188 : :
2189 : : class BlockTemplate::GetBlockHeaderResults::Reader {
2190 : : public:
2191 : : typedef GetBlockHeaderResults Reads;
2192 : :
2193 : : Reader() = default;
2194 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2195 : :
2196 : : inline ::capnp::MessageSize totalSize() const {
2197 : : return _reader.totalSize().asPublic();
2198 : : }
2199 : :
2200 : : #if !CAPNP_LITE
2201 : 0 : inline ::kj::StringTree toString() const {
2202 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2203 : : }
2204 : : #endif // !CAPNP_LITE
2205 : :
2206 : : inline bool hasResult() const;
2207 : : inline ::capnp::Data::Reader getResult() const;
2208 : :
2209 : : private:
2210 : : ::capnp::_::StructReader _reader;
2211 : : template <typename, ::capnp::Kind>
2212 : : friend struct ::capnp::ToDynamic_;
2213 : : template <typename, ::capnp::Kind>
2214 : : friend struct ::capnp::_::PointerHelpers;
2215 : : template <typename, ::capnp::Kind>
2216 : : friend struct ::capnp::List;
2217 : : friend class ::capnp::MessageBuilder;
2218 : : friend class ::capnp::Orphanage;
2219 : : };
2220 : :
2221 : : class BlockTemplate::GetBlockHeaderResults::Builder {
2222 : : public:
2223 : : typedef GetBlockHeaderResults Builds;
2224 : :
2225 : : Builder() = delete; // Deleted to discourage incorrect usage.
2226 : : // You can explicitly initialize to nullptr instead.
2227 : : inline Builder(decltype(nullptr)) {}
2228 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2229 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
2230 : 0 : inline Reader asReader() const { return *this; }
2231 : :
2232 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2233 : : #if !CAPNP_LITE
2234 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
2235 : : #endif // !CAPNP_LITE
2236 : :
2237 : : inline bool hasResult();
2238 : : inline ::capnp::Data::Builder getResult();
2239 : : inline void setResult( ::capnp::Data::Reader value);
2240 : : inline ::capnp::Data::Builder initResult(unsigned int size);
2241 : : inline void adoptResult(::capnp::Orphan< ::capnp::Data>&& value);
2242 : : inline ::capnp::Orphan< ::capnp::Data> disownResult();
2243 : :
2244 : : private:
2245 : : ::capnp::_::StructBuilder _builder;
2246 : : template <typename, ::capnp::Kind>
2247 : : friend struct ::capnp::ToDynamic_;
2248 : : friend class ::capnp::Orphanage;
2249 : : template <typename, ::capnp::Kind>
2250 : : friend struct ::capnp::_::PointerHelpers;
2251 : : };
2252 : :
2253 : : #if !CAPNP_LITE
2254 [ # # ]: 0 : class BlockTemplate::GetBlockHeaderResults::Pipeline {
2255 : : public:
2256 : : typedef GetBlockHeaderResults Pipelines;
2257 : :
2258 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2259 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2260 : 0 : : _typeless(kj::mv(typeless)) {}
2261 : :
2262 : : private:
2263 : : ::capnp::AnyPointer::Pipeline _typeless;
2264 : : friend class ::capnp::PipelineHook;
2265 : : template <typename, ::capnp::Kind>
2266 : : friend struct ::capnp::ToDynamic_;
2267 : : };
2268 : : #endif // !CAPNP_LITE
2269 : :
2270 : : class BlockTemplate::GetBlockParams::Reader {
2271 : : public:
2272 : : typedef GetBlockParams Reads;
2273 : :
2274 : : Reader() = default;
2275 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2276 : :
2277 : : inline ::capnp::MessageSize totalSize() const {
2278 : : return _reader.totalSize().asPublic();
2279 : : }
2280 : :
2281 : : #if !CAPNP_LITE
2282 : 0 : inline ::kj::StringTree toString() const {
2283 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2284 : : }
2285 : : #endif // !CAPNP_LITE
2286 : :
2287 : : inline bool hasContext() const;
2288 : : inline ::mp::Context::Reader getContext() const;
2289 : :
2290 : : private:
2291 : : ::capnp::_::StructReader _reader;
2292 : : template <typename, ::capnp::Kind>
2293 : : friend struct ::capnp::ToDynamic_;
2294 : : template <typename, ::capnp::Kind>
2295 : : friend struct ::capnp::_::PointerHelpers;
2296 : : template <typename, ::capnp::Kind>
2297 : : friend struct ::capnp::List;
2298 : : friend class ::capnp::MessageBuilder;
2299 : : friend class ::capnp::Orphanage;
2300 : : };
2301 : :
2302 : : class BlockTemplate::GetBlockParams::Builder {
2303 : : public:
2304 : : typedef GetBlockParams Builds;
2305 : :
2306 : : Builder() = delete; // Deleted to discourage incorrect usage.
2307 : : // You can explicitly initialize to nullptr instead.
2308 : : inline Builder(decltype(nullptr)) {}
2309 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2310 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
2311 : 0 : inline Reader asReader() const { return *this; }
2312 : :
2313 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2314 : : #if !CAPNP_LITE
2315 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
2316 : : #endif // !CAPNP_LITE
2317 : :
2318 : : inline bool hasContext();
2319 : : inline ::mp::Context::Builder getContext();
2320 : : inline void setContext( ::mp::Context::Reader value);
2321 : : inline ::mp::Context::Builder initContext();
2322 : : inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
2323 : : inline ::capnp::Orphan< ::mp::Context> disownContext();
2324 : :
2325 : : private:
2326 : : ::capnp::_::StructBuilder _builder;
2327 : : template <typename, ::capnp::Kind>
2328 : : friend struct ::capnp::ToDynamic_;
2329 : : friend class ::capnp::Orphanage;
2330 : : template <typename, ::capnp::Kind>
2331 : : friend struct ::capnp::_::PointerHelpers;
2332 : : };
2333 : :
2334 : : #if !CAPNP_LITE
2335 : : class BlockTemplate::GetBlockParams::Pipeline {
2336 : : public:
2337 : : typedef GetBlockParams Pipelines;
2338 : :
2339 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2340 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2341 : : : _typeless(kj::mv(typeless)) {}
2342 : :
2343 : : inline ::mp::Context::Pipeline getContext();
2344 : : private:
2345 : : ::capnp::AnyPointer::Pipeline _typeless;
2346 : : friend class ::capnp::PipelineHook;
2347 : : template <typename, ::capnp::Kind>
2348 : : friend struct ::capnp::ToDynamic_;
2349 : : };
2350 : : #endif // !CAPNP_LITE
2351 : :
2352 : : class BlockTemplate::GetBlockResults::Reader {
2353 : : public:
2354 : : typedef GetBlockResults Reads;
2355 : :
2356 : : Reader() = default;
2357 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2358 : :
2359 : : inline ::capnp::MessageSize totalSize() const {
2360 : : return _reader.totalSize().asPublic();
2361 : : }
2362 : :
2363 : : #if !CAPNP_LITE
2364 : 0 : inline ::kj::StringTree toString() const {
2365 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2366 : : }
2367 : : #endif // !CAPNP_LITE
2368 : :
2369 : : inline bool hasResult() const;
2370 : : inline ::capnp::Data::Reader getResult() const;
2371 : :
2372 : : private:
2373 : : ::capnp::_::StructReader _reader;
2374 : : template <typename, ::capnp::Kind>
2375 : : friend struct ::capnp::ToDynamic_;
2376 : : template <typename, ::capnp::Kind>
2377 : : friend struct ::capnp::_::PointerHelpers;
2378 : : template <typename, ::capnp::Kind>
2379 : : friend struct ::capnp::List;
2380 : : friend class ::capnp::MessageBuilder;
2381 : : friend class ::capnp::Orphanage;
2382 : : };
2383 : :
2384 : : class BlockTemplate::GetBlockResults::Builder {
2385 : : public:
2386 : : typedef GetBlockResults Builds;
2387 : :
2388 : : Builder() = delete; // Deleted to discourage incorrect usage.
2389 : : // You can explicitly initialize to nullptr instead.
2390 : : inline Builder(decltype(nullptr)) {}
2391 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2392 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
2393 : 0 : inline Reader asReader() const { return *this; }
2394 : :
2395 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2396 : : #if !CAPNP_LITE
2397 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
2398 : : #endif // !CAPNP_LITE
2399 : :
2400 : : inline bool hasResult();
2401 : : inline ::capnp::Data::Builder getResult();
2402 : : inline void setResult( ::capnp::Data::Reader value);
2403 : : inline ::capnp::Data::Builder initResult(unsigned int size);
2404 : : inline void adoptResult(::capnp::Orphan< ::capnp::Data>&& value);
2405 : : inline ::capnp::Orphan< ::capnp::Data> disownResult();
2406 : :
2407 : : private:
2408 : : ::capnp::_::StructBuilder _builder;
2409 : : template <typename, ::capnp::Kind>
2410 : : friend struct ::capnp::ToDynamic_;
2411 : : friend class ::capnp::Orphanage;
2412 : : template <typename, ::capnp::Kind>
2413 : : friend struct ::capnp::_::PointerHelpers;
2414 : : };
2415 : :
2416 : : #if !CAPNP_LITE
2417 [ # # ]: 0 : class BlockTemplate::GetBlockResults::Pipeline {
2418 : : public:
2419 : : typedef GetBlockResults Pipelines;
2420 : :
2421 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2422 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2423 : 0 : : _typeless(kj::mv(typeless)) {}
2424 : :
2425 : : private:
2426 : : ::capnp::AnyPointer::Pipeline _typeless;
2427 : : friend class ::capnp::PipelineHook;
2428 : : template <typename, ::capnp::Kind>
2429 : : friend struct ::capnp::ToDynamic_;
2430 : : };
2431 : : #endif // !CAPNP_LITE
2432 : :
2433 : : class BlockTemplate::GetTxFeesParams::Reader {
2434 : : public:
2435 : : typedef GetTxFeesParams Reads;
2436 : :
2437 : : Reader() = default;
2438 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2439 : :
2440 : : inline ::capnp::MessageSize totalSize() const {
2441 : : return _reader.totalSize().asPublic();
2442 : : }
2443 : :
2444 : : #if !CAPNP_LITE
2445 : 0 : inline ::kj::StringTree toString() const {
2446 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2447 : : }
2448 : : #endif // !CAPNP_LITE
2449 : :
2450 : : inline bool hasContext() const;
2451 : : inline ::mp::Context::Reader getContext() const;
2452 : :
2453 : : private:
2454 : : ::capnp::_::StructReader _reader;
2455 : : template <typename, ::capnp::Kind>
2456 : : friend struct ::capnp::ToDynamic_;
2457 : : template <typename, ::capnp::Kind>
2458 : : friend struct ::capnp::_::PointerHelpers;
2459 : : template <typename, ::capnp::Kind>
2460 : : friend struct ::capnp::List;
2461 : : friend class ::capnp::MessageBuilder;
2462 : : friend class ::capnp::Orphanage;
2463 : : };
2464 : :
2465 : : class BlockTemplate::GetTxFeesParams::Builder {
2466 : : public:
2467 : : typedef GetTxFeesParams Builds;
2468 : :
2469 : : Builder() = delete; // Deleted to discourage incorrect usage.
2470 : : // You can explicitly initialize to nullptr instead.
2471 : : inline Builder(decltype(nullptr)) {}
2472 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2473 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
2474 : 0 : inline Reader asReader() const { return *this; }
2475 : :
2476 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2477 : : #if !CAPNP_LITE
2478 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
2479 : : #endif // !CAPNP_LITE
2480 : :
2481 : : inline bool hasContext();
2482 : : inline ::mp::Context::Builder getContext();
2483 : : inline void setContext( ::mp::Context::Reader value);
2484 : : inline ::mp::Context::Builder initContext();
2485 : : inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
2486 : : inline ::capnp::Orphan< ::mp::Context> disownContext();
2487 : :
2488 : : private:
2489 : : ::capnp::_::StructBuilder _builder;
2490 : : template <typename, ::capnp::Kind>
2491 : : friend struct ::capnp::ToDynamic_;
2492 : : friend class ::capnp::Orphanage;
2493 : : template <typename, ::capnp::Kind>
2494 : : friend struct ::capnp::_::PointerHelpers;
2495 : : };
2496 : :
2497 : : #if !CAPNP_LITE
2498 : : class BlockTemplate::GetTxFeesParams::Pipeline {
2499 : : public:
2500 : : typedef GetTxFeesParams Pipelines;
2501 : :
2502 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2503 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2504 : : : _typeless(kj::mv(typeless)) {}
2505 : :
2506 : : inline ::mp::Context::Pipeline getContext();
2507 : : private:
2508 : : ::capnp::AnyPointer::Pipeline _typeless;
2509 : : friend class ::capnp::PipelineHook;
2510 : : template <typename, ::capnp::Kind>
2511 : : friend struct ::capnp::ToDynamic_;
2512 : : };
2513 : : #endif // !CAPNP_LITE
2514 : :
2515 : : class BlockTemplate::GetTxFeesResults::Reader {
2516 : : public:
2517 : : typedef GetTxFeesResults Reads;
2518 : :
2519 : : Reader() = default;
2520 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2521 : :
2522 : : inline ::capnp::MessageSize totalSize() const {
2523 : : return _reader.totalSize().asPublic();
2524 : : }
2525 : :
2526 : : #if !CAPNP_LITE
2527 : 0 : inline ::kj::StringTree toString() const {
2528 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2529 : : }
2530 : : #endif // !CAPNP_LITE
2531 : :
2532 : : inline bool hasResult() const;
2533 : : inline ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>::Reader getResult() const;
2534 : :
2535 : : private:
2536 : : ::capnp::_::StructReader _reader;
2537 : : template <typename, ::capnp::Kind>
2538 : : friend struct ::capnp::ToDynamic_;
2539 : : template <typename, ::capnp::Kind>
2540 : : friend struct ::capnp::_::PointerHelpers;
2541 : : template <typename, ::capnp::Kind>
2542 : : friend struct ::capnp::List;
2543 : : friend class ::capnp::MessageBuilder;
2544 : : friend class ::capnp::Orphanage;
2545 : : };
2546 : :
2547 : : class BlockTemplate::GetTxFeesResults::Builder {
2548 : : public:
2549 : : typedef GetTxFeesResults Builds;
2550 : :
2551 : : Builder() = delete; // Deleted to discourage incorrect usage.
2552 : : // You can explicitly initialize to nullptr instead.
2553 : : inline Builder(decltype(nullptr)) {}
2554 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2555 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
2556 : 0 : inline Reader asReader() const { return *this; }
2557 : :
2558 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2559 : : #if !CAPNP_LITE
2560 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
2561 : : #endif // !CAPNP_LITE
2562 : :
2563 : : inline bool hasResult();
2564 : : inline ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>::Builder getResult();
2565 : : inline void setResult( ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>::Reader value);
2566 : : inline void setResult(::kj::ArrayPtr<const ::int64_t> value);
2567 : : inline ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>::Builder initResult(unsigned int size);
2568 : : inline void adoptResult(::capnp::Orphan< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>&& value);
2569 : : inline ::capnp::Orphan< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>> disownResult();
2570 : :
2571 : : private:
2572 : : ::capnp::_::StructBuilder _builder;
2573 : : template <typename, ::capnp::Kind>
2574 : : friend struct ::capnp::ToDynamic_;
2575 : : friend class ::capnp::Orphanage;
2576 : : template <typename, ::capnp::Kind>
2577 : : friend struct ::capnp::_::PointerHelpers;
2578 : : };
2579 : :
2580 : : #if !CAPNP_LITE
2581 [ # # ]: 0 : class BlockTemplate::GetTxFeesResults::Pipeline {
2582 : : public:
2583 : : typedef GetTxFeesResults Pipelines;
2584 : :
2585 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2586 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2587 : 0 : : _typeless(kj::mv(typeless)) {}
2588 : :
2589 : : private:
2590 : : ::capnp::AnyPointer::Pipeline _typeless;
2591 : : friend class ::capnp::PipelineHook;
2592 : : template <typename, ::capnp::Kind>
2593 : : friend struct ::capnp::ToDynamic_;
2594 : : };
2595 : : #endif // !CAPNP_LITE
2596 : :
2597 : : class BlockTemplate::GetTxSigopsParams::Reader {
2598 : : public:
2599 : : typedef GetTxSigopsParams Reads;
2600 : :
2601 : : Reader() = default;
2602 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2603 : :
2604 : : inline ::capnp::MessageSize totalSize() const {
2605 : : return _reader.totalSize().asPublic();
2606 : : }
2607 : :
2608 : : #if !CAPNP_LITE
2609 : 0 : inline ::kj::StringTree toString() const {
2610 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2611 : : }
2612 : : #endif // !CAPNP_LITE
2613 : :
2614 : : inline bool hasContext() const;
2615 : : inline ::mp::Context::Reader getContext() const;
2616 : :
2617 : : private:
2618 : : ::capnp::_::StructReader _reader;
2619 : : template <typename, ::capnp::Kind>
2620 : : friend struct ::capnp::ToDynamic_;
2621 : : template <typename, ::capnp::Kind>
2622 : : friend struct ::capnp::_::PointerHelpers;
2623 : : template <typename, ::capnp::Kind>
2624 : : friend struct ::capnp::List;
2625 : : friend class ::capnp::MessageBuilder;
2626 : : friend class ::capnp::Orphanage;
2627 : : };
2628 : :
2629 : : class BlockTemplate::GetTxSigopsParams::Builder {
2630 : : public:
2631 : : typedef GetTxSigopsParams Builds;
2632 : :
2633 : : Builder() = delete; // Deleted to discourage incorrect usage.
2634 : : // You can explicitly initialize to nullptr instead.
2635 : : inline Builder(decltype(nullptr)) {}
2636 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2637 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
2638 : 0 : inline Reader asReader() const { return *this; }
2639 : :
2640 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2641 : : #if !CAPNP_LITE
2642 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
2643 : : #endif // !CAPNP_LITE
2644 : :
2645 : : inline bool hasContext();
2646 : : inline ::mp::Context::Builder getContext();
2647 : : inline void setContext( ::mp::Context::Reader value);
2648 : : inline ::mp::Context::Builder initContext();
2649 : : inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
2650 : : inline ::capnp::Orphan< ::mp::Context> disownContext();
2651 : :
2652 : : private:
2653 : : ::capnp::_::StructBuilder _builder;
2654 : : template <typename, ::capnp::Kind>
2655 : : friend struct ::capnp::ToDynamic_;
2656 : : friend class ::capnp::Orphanage;
2657 : : template <typename, ::capnp::Kind>
2658 : : friend struct ::capnp::_::PointerHelpers;
2659 : : };
2660 : :
2661 : : #if !CAPNP_LITE
2662 : : class BlockTemplate::GetTxSigopsParams::Pipeline {
2663 : : public:
2664 : : typedef GetTxSigopsParams Pipelines;
2665 : :
2666 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2667 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2668 : : : _typeless(kj::mv(typeless)) {}
2669 : :
2670 : : inline ::mp::Context::Pipeline getContext();
2671 : : private:
2672 : : ::capnp::AnyPointer::Pipeline _typeless;
2673 : : friend class ::capnp::PipelineHook;
2674 : : template <typename, ::capnp::Kind>
2675 : : friend struct ::capnp::ToDynamic_;
2676 : : };
2677 : : #endif // !CAPNP_LITE
2678 : :
2679 : : class BlockTemplate::GetTxSigopsResults::Reader {
2680 : : public:
2681 : : typedef GetTxSigopsResults Reads;
2682 : :
2683 : : Reader() = default;
2684 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2685 : :
2686 : : inline ::capnp::MessageSize totalSize() const {
2687 : : return _reader.totalSize().asPublic();
2688 : : }
2689 : :
2690 : : #if !CAPNP_LITE
2691 : 0 : inline ::kj::StringTree toString() const {
2692 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2693 : : }
2694 : : #endif // !CAPNP_LITE
2695 : :
2696 : : inline bool hasResult() const;
2697 : : inline ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>::Reader getResult() const;
2698 : :
2699 : : private:
2700 : : ::capnp::_::StructReader _reader;
2701 : : template <typename, ::capnp::Kind>
2702 : : friend struct ::capnp::ToDynamic_;
2703 : : template <typename, ::capnp::Kind>
2704 : : friend struct ::capnp::_::PointerHelpers;
2705 : : template <typename, ::capnp::Kind>
2706 : : friend struct ::capnp::List;
2707 : : friend class ::capnp::MessageBuilder;
2708 : : friend class ::capnp::Orphanage;
2709 : : };
2710 : :
2711 : : class BlockTemplate::GetTxSigopsResults::Builder {
2712 : : public:
2713 : : typedef GetTxSigopsResults Builds;
2714 : :
2715 : : Builder() = delete; // Deleted to discourage incorrect usage.
2716 : : // You can explicitly initialize to nullptr instead.
2717 : : inline Builder(decltype(nullptr)) {}
2718 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2719 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
2720 : 0 : inline Reader asReader() const { return *this; }
2721 : :
2722 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2723 : : #if !CAPNP_LITE
2724 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
2725 : : #endif // !CAPNP_LITE
2726 : :
2727 : : inline bool hasResult();
2728 : : inline ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>::Builder getResult();
2729 : : inline void setResult( ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>::Reader value);
2730 : : inline void setResult(::kj::ArrayPtr<const ::int64_t> value);
2731 : : inline ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>::Builder initResult(unsigned int size);
2732 : : inline void adoptResult(::capnp::Orphan< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>&& value);
2733 : : inline ::capnp::Orphan< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>> disownResult();
2734 : :
2735 : : private:
2736 : : ::capnp::_::StructBuilder _builder;
2737 : : template <typename, ::capnp::Kind>
2738 : : friend struct ::capnp::ToDynamic_;
2739 : : friend class ::capnp::Orphanage;
2740 : : template <typename, ::capnp::Kind>
2741 : : friend struct ::capnp::_::PointerHelpers;
2742 : : };
2743 : :
2744 : : #if !CAPNP_LITE
2745 [ # # ]: 0 : class BlockTemplate::GetTxSigopsResults::Pipeline {
2746 : : public:
2747 : : typedef GetTxSigopsResults Pipelines;
2748 : :
2749 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2750 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2751 : 0 : : _typeless(kj::mv(typeless)) {}
2752 : :
2753 : : private:
2754 : : ::capnp::AnyPointer::Pipeline _typeless;
2755 : : friend class ::capnp::PipelineHook;
2756 : : template <typename, ::capnp::Kind>
2757 : : friend struct ::capnp::ToDynamic_;
2758 : : };
2759 : : #endif // !CAPNP_LITE
2760 : :
2761 : : class BlockTemplate::GetCoinbaseTxParams::Reader {
2762 : : public:
2763 : : typedef GetCoinbaseTxParams Reads;
2764 : :
2765 : : Reader() = default;
2766 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2767 : :
2768 : : inline ::capnp::MessageSize totalSize() const {
2769 : : return _reader.totalSize().asPublic();
2770 : : }
2771 : :
2772 : : #if !CAPNP_LITE
2773 : 0 : inline ::kj::StringTree toString() const {
2774 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2775 : : }
2776 : : #endif // !CAPNP_LITE
2777 : :
2778 : : inline bool hasContext() const;
2779 : : inline ::mp::Context::Reader getContext() const;
2780 : :
2781 : : private:
2782 : : ::capnp::_::StructReader _reader;
2783 : : template <typename, ::capnp::Kind>
2784 : : friend struct ::capnp::ToDynamic_;
2785 : : template <typename, ::capnp::Kind>
2786 : : friend struct ::capnp::_::PointerHelpers;
2787 : : template <typename, ::capnp::Kind>
2788 : : friend struct ::capnp::List;
2789 : : friend class ::capnp::MessageBuilder;
2790 : : friend class ::capnp::Orphanage;
2791 : : };
2792 : :
2793 : : class BlockTemplate::GetCoinbaseTxParams::Builder {
2794 : : public:
2795 : : typedef GetCoinbaseTxParams Builds;
2796 : :
2797 : : Builder() = delete; // Deleted to discourage incorrect usage.
2798 : : // You can explicitly initialize to nullptr instead.
2799 : : inline Builder(decltype(nullptr)) {}
2800 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2801 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
2802 : 0 : inline Reader asReader() const { return *this; }
2803 : :
2804 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2805 : : #if !CAPNP_LITE
2806 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
2807 : : #endif // !CAPNP_LITE
2808 : :
2809 : : inline bool hasContext();
2810 : : inline ::mp::Context::Builder getContext();
2811 : : inline void setContext( ::mp::Context::Reader value);
2812 : : inline ::mp::Context::Builder initContext();
2813 : : inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
2814 : : inline ::capnp::Orphan< ::mp::Context> disownContext();
2815 : :
2816 : : private:
2817 : : ::capnp::_::StructBuilder _builder;
2818 : : template <typename, ::capnp::Kind>
2819 : : friend struct ::capnp::ToDynamic_;
2820 : : friend class ::capnp::Orphanage;
2821 : : template <typename, ::capnp::Kind>
2822 : : friend struct ::capnp::_::PointerHelpers;
2823 : : };
2824 : :
2825 : : #if !CAPNP_LITE
2826 : : class BlockTemplate::GetCoinbaseTxParams::Pipeline {
2827 : : public:
2828 : : typedef GetCoinbaseTxParams Pipelines;
2829 : :
2830 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2831 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2832 : : : _typeless(kj::mv(typeless)) {}
2833 : :
2834 : : inline ::mp::Context::Pipeline getContext();
2835 : : private:
2836 : : ::capnp::AnyPointer::Pipeline _typeless;
2837 : : friend class ::capnp::PipelineHook;
2838 : : template <typename, ::capnp::Kind>
2839 : : friend struct ::capnp::ToDynamic_;
2840 : : };
2841 : : #endif // !CAPNP_LITE
2842 : :
2843 : : class BlockTemplate::GetCoinbaseTxResults::Reader {
2844 : : public:
2845 : : typedef GetCoinbaseTxResults Reads;
2846 : :
2847 : : Reader() = default;
2848 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2849 : :
2850 : : inline ::capnp::MessageSize totalSize() const {
2851 : : return _reader.totalSize().asPublic();
2852 : : }
2853 : :
2854 : : #if !CAPNP_LITE
2855 : 0 : inline ::kj::StringTree toString() const {
2856 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2857 : : }
2858 : : #endif // !CAPNP_LITE
2859 : :
2860 : : inline bool hasResult() const;
2861 : : inline ::capnp::Data::Reader getResult() const;
2862 : :
2863 : : private:
2864 : : ::capnp::_::StructReader _reader;
2865 : : template <typename, ::capnp::Kind>
2866 : : friend struct ::capnp::ToDynamic_;
2867 : : template <typename, ::capnp::Kind>
2868 : : friend struct ::capnp::_::PointerHelpers;
2869 : : template <typename, ::capnp::Kind>
2870 : : friend struct ::capnp::List;
2871 : : friend class ::capnp::MessageBuilder;
2872 : : friend class ::capnp::Orphanage;
2873 : : };
2874 : :
2875 : : class BlockTemplate::GetCoinbaseTxResults::Builder {
2876 : : public:
2877 : : typedef GetCoinbaseTxResults Builds;
2878 : :
2879 : : Builder() = delete; // Deleted to discourage incorrect usage.
2880 : : // You can explicitly initialize to nullptr instead.
2881 : : inline Builder(decltype(nullptr)) {}
2882 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2883 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
2884 : 0 : inline Reader asReader() const { return *this; }
2885 : :
2886 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2887 : : #if !CAPNP_LITE
2888 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
2889 : : #endif // !CAPNP_LITE
2890 : :
2891 : : inline bool hasResult();
2892 : : inline ::capnp::Data::Builder getResult();
2893 : : inline void setResult( ::capnp::Data::Reader value);
2894 : : inline ::capnp::Data::Builder initResult(unsigned int size);
2895 : : inline void adoptResult(::capnp::Orphan< ::capnp::Data>&& value);
2896 : : inline ::capnp::Orphan< ::capnp::Data> disownResult();
2897 : :
2898 : : private:
2899 : : ::capnp::_::StructBuilder _builder;
2900 : : template <typename, ::capnp::Kind>
2901 : : friend struct ::capnp::ToDynamic_;
2902 : : friend class ::capnp::Orphanage;
2903 : : template <typename, ::capnp::Kind>
2904 : : friend struct ::capnp::_::PointerHelpers;
2905 : : };
2906 : :
2907 : : #if !CAPNP_LITE
2908 [ # # ]: 0 : class BlockTemplate::GetCoinbaseTxResults::Pipeline {
2909 : : public:
2910 : : typedef GetCoinbaseTxResults Pipelines;
2911 : :
2912 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2913 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2914 : 0 : : _typeless(kj::mv(typeless)) {}
2915 : :
2916 : : private:
2917 : : ::capnp::AnyPointer::Pipeline _typeless;
2918 : : friend class ::capnp::PipelineHook;
2919 : : template <typename, ::capnp::Kind>
2920 : : friend struct ::capnp::ToDynamic_;
2921 : : };
2922 : : #endif // !CAPNP_LITE
2923 : :
2924 : : class BlockTemplate::GetCoinbaseCommitmentParams::Reader {
2925 : : public:
2926 : : typedef GetCoinbaseCommitmentParams Reads;
2927 : :
2928 : : Reader() = default;
2929 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2930 : :
2931 : : inline ::capnp::MessageSize totalSize() const {
2932 : : return _reader.totalSize().asPublic();
2933 : : }
2934 : :
2935 : : #if !CAPNP_LITE
2936 : 0 : inline ::kj::StringTree toString() const {
2937 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2938 : : }
2939 : : #endif // !CAPNP_LITE
2940 : :
2941 : : inline bool hasContext() const;
2942 : : inline ::mp::Context::Reader getContext() const;
2943 : :
2944 : : private:
2945 : : ::capnp::_::StructReader _reader;
2946 : : template <typename, ::capnp::Kind>
2947 : : friend struct ::capnp::ToDynamic_;
2948 : : template <typename, ::capnp::Kind>
2949 : : friend struct ::capnp::_::PointerHelpers;
2950 : : template <typename, ::capnp::Kind>
2951 : : friend struct ::capnp::List;
2952 : : friend class ::capnp::MessageBuilder;
2953 : : friend class ::capnp::Orphanage;
2954 : : };
2955 : :
2956 : : class BlockTemplate::GetCoinbaseCommitmentParams::Builder {
2957 : : public:
2958 : : typedef GetCoinbaseCommitmentParams Builds;
2959 : :
2960 : : Builder() = delete; // Deleted to discourage incorrect usage.
2961 : : // You can explicitly initialize to nullptr instead.
2962 : : inline Builder(decltype(nullptr)) {}
2963 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2964 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
2965 : 0 : inline Reader asReader() const { return *this; }
2966 : :
2967 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2968 : : #if !CAPNP_LITE
2969 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
2970 : : #endif // !CAPNP_LITE
2971 : :
2972 : : inline bool hasContext();
2973 : : inline ::mp::Context::Builder getContext();
2974 : : inline void setContext( ::mp::Context::Reader value);
2975 : : inline ::mp::Context::Builder initContext();
2976 : : inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
2977 : : inline ::capnp::Orphan< ::mp::Context> disownContext();
2978 : :
2979 : : private:
2980 : : ::capnp::_::StructBuilder _builder;
2981 : : template <typename, ::capnp::Kind>
2982 : : friend struct ::capnp::ToDynamic_;
2983 : : friend class ::capnp::Orphanage;
2984 : : template <typename, ::capnp::Kind>
2985 : : friend struct ::capnp::_::PointerHelpers;
2986 : : };
2987 : :
2988 : : #if !CAPNP_LITE
2989 : : class BlockTemplate::GetCoinbaseCommitmentParams::Pipeline {
2990 : : public:
2991 : : typedef GetCoinbaseCommitmentParams Pipelines;
2992 : :
2993 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2994 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2995 : : : _typeless(kj::mv(typeless)) {}
2996 : :
2997 : : inline ::mp::Context::Pipeline getContext();
2998 : : private:
2999 : : ::capnp::AnyPointer::Pipeline _typeless;
3000 : : friend class ::capnp::PipelineHook;
3001 : : template <typename, ::capnp::Kind>
3002 : : friend struct ::capnp::ToDynamic_;
3003 : : };
3004 : : #endif // !CAPNP_LITE
3005 : :
3006 : : class BlockTemplate::GetCoinbaseCommitmentResults::Reader {
3007 : : public:
3008 : : typedef GetCoinbaseCommitmentResults Reads;
3009 : :
3010 : : Reader() = default;
3011 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3012 : :
3013 : : inline ::capnp::MessageSize totalSize() const {
3014 : : return _reader.totalSize().asPublic();
3015 : : }
3016 : :
3017 : : #if !CAPNP_LITE
3018 : 0 : inline ::kj::StringTree toString() const {
3019 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3020 : : }
3021 : : #endif // !CAPNP_LITE
3022 : :
3023 : : inline bool hasResult() const;
3024 : : inline ::capnp::Data::Reader getResult() const;
3025 : :
3026 : : private:
3027 : : ::capnp::_::StructReader _reader;
3028 : : template <typename, ::capnp::Kind>
3029 : : friend struct ::capnp::ToDynamic_;
3030 : : template <typename, ::capnp::Kind>
3031 : : friend struct ::capnp::_::PointerHelpers;
3032 : : template <typename, ::capnp::Kind>
3033 : : friend struct ::capnp::List;
3034 : : friend class ::capnp::MessageBuilder;
3035 : : friend class ::capnp::Orphanage;
3036 : : };
3037 : :
3038 : : class BlockTemplate::GetCoinbaseCommitmentResults::Builder {
3039 : : public:
3040 : : typedef GetCoinbaseCommitmentResults Builds;
3041 : :
3042 : : Builder() = delete; // Deleted to discourage incorrect usage.
3043 : : // You can explicitly initialize to nullptr instead.
3044 : : inline Builder(decltype(nullptr)) {}
3045 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3046 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
3047 : 0 : inline Reader asReader() const { return *this; }
3048 : :
3049 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3050 : : #if !CAPNP_LITE
3051 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
3052 : : #endif // !CAPNP_LITE
3053 : :
3054 : : inline bool hasResult();
3055 : : inline ::capnp::Data::Builder getResult();
3056 : : inline void setResult( ::capnp::Data::Reader value);
3057 : : inline ::capnp::Data::Builder initResult(unsigned int size);
3058 : : inline void adoptResult(::capnp::Orphan< ::capnp::Data>&& value);
3059 : : inline ::capnp::Orphan< ::capnp::Data> disownResult();
3060 : :
3061 : : private:
3062 : : ::capnp::_::StructBuilder _builder;
3063 : : template <typename, ::capnp::Kind>
3064 : : friend struct ::capnp::ToDynamic_;
3065 : : friend class ::capnp::Orphanage;
3066 : : template <typename, ::capnp::Kind>
3067 : : friend struct ::capnp::_::PointerHelpers;
3068 : : };
3069 : :
3070 : : #if !CAPNP_LITE
3071 [ # # ]: 0 : class BlockTemplate::GetCoinbaseCommitmentResults::Pipeline {
3072 : : public:
3073 : : typedef GetCoinbaseCommitmentResults Pipelines;
3074 : :
3075 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3076 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3077 : 0 : : _typeless(kj::mv(typeless)) {}
3078 : :
3079 : : private:
3080 : : ::capnp::AnyPointer::Pipeline _typeless;
3081 : : friend class ::capnp::PipelineHook;
3082 : : template <typename, ::capnp::Kind>
3083 : : friend struct ::capnp::ToDynamic_;
3084 : : };
3085 : : #endif // !CAPNP_LITE
3086 : :
3087 : : class BlockTemplate::GetWitnessCommitmentIndexParams::Reader {
3088 : : public:
3089 : : typedef GetWitnessCommitmentIndexParams Reads;
3090 : :
3091 : : Reader() = default;
3092 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3093 : :
3094 : : inline ::capnp::MessageSize totalSize() const {
3095 : : return _reader.totalSize().asPublic();
3096 : : }
3097 : :
3098 : : #if !CAPNP_LITE
3099 : 0 : inline ::kj::StringTree toString() const {
3100 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3101 : : }
3102 : : #endif // !CAPNP_LITE
3103 : :
3104 : : inline bool hasContext() const;
3105 : : inline ::mp::Context::Reader getContext() const;
3106 : :
3107 : : private:
3108 : : ::capnp::_::StructReader _reader;
3109 : : template <typename, ::capnp::Kind>
3110 : : friend struct ::capnp::ToDynamic_;
3111 : : template <typename, ::capnp::Kind>
3112 : : friend struct ::capnp::_::PointerHelpers;
3113 : : template <typename, ::capnp::Kind>
3114 : : friend struct ::capnp::List;
3115 : : friend class ::capnp::MessageBuilder;
3116 : : friend class ::capnp::Orphanage;
3117 : : };
3118 : :
3119 : : class BlockTemplate::GetWitnessCommitmentIndexParams::Builder {
3120 : : public:
3121 : : typedef GetWitnessCommitmentIndexParams Builds;
3122 : :
3123 : : Builder() = delete; // Deleted to discourage incorrect usage.
3124 : : // You can explicitly initialize to nullptr instead.
3125 : : inline Builder(decltype(nullptr)) {}
3126 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3127 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
3128 : 0 : inline Reader asReader() const { return *this; }
3129 : :
3130 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3131 : : #if !CAPNP_LITE
3132 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
3133 : : #endif // !CAPNP_LITE
3134 : :
3135 : : inline bool hasContext();
3136 : : inline ::mp::Context::Builder getContext();
3137 : : inline void setContext( ::mp::Context::Reader value);
3138 : : inline ::mp::Context::Builder initContext();
3139 : : inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
3140 : : inline ::capnp::Orphan< ::mp::Context> disownContext();
3141 : :
3142 : : private:
3143 : : ::capnp::_::StructBuilder _builder;
3144 : : template <typename, ::capnp::Kind>
3145 : : friend struct ::capnp::ToDynamic_;
3146 : : friend class ::capnp::Orphanage;
3147 : : template <typename, ::capnp::Kind>
3148 : : friend struct ::capnp::_::PointerHelpers;
3149 : : };
3150 : :
3151 : : #if !CAPNP_LITE
3152 : : class BlockTemplate::GetWitnessCommitmentIndexParams::Pipeline {
3153 : : public:
3154 : : typedef GetWitnessCommitmentIndexParams Pipelines;
3155 : :
3156 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3157 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3158 : : : _typeless(kj::mv(typeless)) {}
3159 : :
3160 : : inline ::mp::Context::Pipeline getContext();
3161 : : private:
3162 : : ::capnp::AnyPointer::Pipeline _typeless;
3163 : : friend class ::capnp::PipelineHook;
3164 : : template <typename, ::capnp::Kind>
3165 : : friend struct ::capnp::ToDynamic_;
3166 : : };
3167 : : #endif // !CAPNP_LITE
3168 : :
3169 : : class BlockTemplate::GetWitnessCommitmentIndexResults::Reader {
3170 : : public:
3171 : : typedef GetWitnessCommitmentIndexResults Reads;
3172 : :
3173 : : Reader() = default;
3174 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3175 : :
3176 : : inline ::capnp::MessageSize totalSize() const {
3177 : : return _reader.totalSize().asPublic();
3178 : : }
3179 : :
3180 : : #if !CAPNP_LITE
3181 : 0 : inline ::kj::StringTree toString() const {
3182 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3183 : : }
3184 : : #endif // !CAPNP_LITE
3185 : :
3186 : : inline ::int32_t getResult() const;
3187 : :
3188 : : private:
3189 : : ::capnp::_::StructReader _reader;
3190 : : template <typename, ::capnp::Kind>
3191 : : friend struct ::capnp::ToDynamic_;
3192 : : template <typename, ::capnp::Kind>
3193 : : friend struct ::capnp::_::PointerHelpers;
3194 : : template <typename, ::capnp::Kind>
3195 : : friend struct ::capnp::List;
3196 : : friend class ::capnp::MessageBuilder;
3197 : : friend class ::capnp::Orphanage;
3198 : : };
3199 : :
3200 : : class BlockTemplate::GetWitnessCommitmentIndexResults::Builder {
3201 : : public:
3202 : : typedef GetWitnessCommitmentIndexResults Builds;
3203 : :
3204 : : Builder() = delete; // Deleted to discourage incorrect usage.
3205 : : // You can explicitly initialize to nullptr instead.
3206 : : inline Builder(decltype(nullptr)) {}
3207 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3208 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
3209 : 0 : inline Reader asReader() const { return *this; }
3210 : :
3211 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3212 : : #if !CAPNP_LITE
3213 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
3214 : : #endif // !CAPNP_LITE
3215 : :
3216 : : inline ::int32_t getResult();
3217 : : inline void setResult( ::int32_t value);
3218 : :
3219 : : private:
3220 : : ::capnp::_::StructBuilder _builder;
3221 : : template <typename, ::capnp::Kind>
3222 : : friend struct ::capnp::ToDynamic_;
3223 : : friend class ::capnp::Orphanage;
3224 : : template <typename, ::capnp::Kind>
3225 : : friend struct ::capnp::_::PointerHelpers;
3226 : : };
3227 : :
3228 : : #if !CAPNP_LITE
3229 [ # # ]: 0 : class BlockTemplate::GetWitnessCommitmentIndexResults::Pipeline {
3230 : : public:
3231 : : typedef GetWitnessCommitmentIndexResults Pipelines;
3232 : :
3233 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3234 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3235 : 0 : : _typeless(kj::mv(typeless)) {}
3236 : :
3237 : : private:
3238 : : ::capnp::AnyPointer::Pipeline _typeless;
3239 : : friend class ::capnp::PipelineHook;
3240 : : template <typename, ::capnp::Kind>
3241 : : friend struct ::capnp::ToDynamic_;
3242 : : };
3243 : : #endif // !CAPNP_LITE
3244 : :
3245 : : class BlockTemplate::GetCoinbaseMerklePathParams::Reader {
3246 : : public:
3247 : : typedef GetCoinbaseMerklePathParams Reads;
3248 : :
3249 : : Reader() = default;
3250 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3251 : :
3252 : : inline ::capnp::MessageSize totalSize() const {
3253 : : return _reader.totalSize().asPublic();
3254 : : }
3255 : :
3256 : : #if !CAPNP_LITE
3257 : 0 : inline ::kj::StringTree toString() const {
3258 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3259 : : }
3260 : : #endif // !CAPNP_LITE
3261 : :
3262 : : inline bool hasContext() const;
3263 : : inline ::mp::Context::Reader getContext() const;
3264 : :
3265 : : private:
3266 : : ::capnp::_::StructReader _reader;
3267 : : template <typename, ::capnp::Kind>
3268 : : friend struct ::capnp::ToDynamic_;
3269 : : template <typename, ::capnp::Kind>
3270 : : friend struct ::capnp::_::PointerHelpers;
3271 : : template <typename, ::capnp::Kind>
3272 : : friend struct ::capnp::List;
3273 : : friend class ::capnp::MessageBuilder;
3274 : : friend class ::capnp::Orphanage;
3275 : : };
3276 : :
3277 : : class BlockTemplate::GetCoinbaseMerklePathParams::Builder {
3278 : : public:
3279 : : typedef GetCoinbaseMerklePathParams Builds;
3280 : :
3281 : : Builder() = delete; // Deleted to discourage incorrect usage.
3282 : : // You can explicitly initialize to nullptr instead.
3283 : : inline Builder(decltype(nullptr)) {}
3284 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3285 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
3286 : 0 : inline Reader asReader() const { return *this; }
3287 : :
3288 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3289 : : #if !CAPNP_LITE
3290 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
3291 : : #endif // !CAPNP_LITE
3292 : :
3293 : : inline bool hasContext();
3294 : : inline ::mp::Context::Builder getContext();
3295 : : inline void setContext( ::mp::Context::Reader value);
3296 : : inline ::mp::Context::Builder initContext();
3297 : : inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
3298 : : inline ::capnp::Orphan< ::mp::Context> disownContext();
3299 : :
3300 : : private:
3301 : : ::capnp::_::StructBuilder _builder;
3302 : : template <typename, ::capnp::Kind>
3303 : : friend struct ::capnp::ToDynamic_;
3304 : : friend class ::capnp::Orphanage;
3305 : : template <typename, ::capnp::Kind>
3306 : : friend struct ::capnp::_::PointerHelpers;
3307 : : };
3308 : :
3309 : : #if !CAPNP_LITE
3310 : : class BlockTemplate::GetCoinbaseMerklePathParams::Pipeline {
3311 : : public:
3312 : : typedef GetCoinbaseMerklePathParams Pipelines;
3313 : :
3314 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3315 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3316 : : : _typeless(kj::mv(typeless)) {}
3317 : :
3318 : : inline ::mp::Context::Pipeline getContext();
3319 : : private:
3320 : : ::capnp::AnyPointer::Pipeline _typeless;
3321 : : friend class ::capnp::PipelineHook;
3322 : : template <typename, ::capnp::Kind>
3323 : : friend struct ::capnp::ToDynamic_;
3324 : : };
3325 : : #endif // !CAPNP_LITE
3326 : :
3327 : : class BlockTemplate::GetCoinbaseMerklePathResults::Reader {
3328 : : public:
3329 : : typedef GetCoinbaseMerklePathResults Reads;
3330 : :
3331 : : Reader() = default;
3332 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3333 : :
3334 : : inline ::capnp::MessageSize totalSize() const {
3335 : : return _reader.totalSize().asPublic();
3336 : : }
3337 : :
3338 : : #if !CAPNP_LITE
3339 : 0 : inline ::kj::StringTree toString() const {
3340 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3341 : : }
3342 : : #endif // !CAPNP_LITE
3343 : :
3344 : : inline bool hasResult() const;
3345 : : inline ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>::Reader getResult() const;
3346 : :
3347 : : private:
3348 : : ::capnp::_::StructReader _reader;
3349 : : template <typename, ::capnp::Kind>
3350 : : friend struct ::capnp::ToDynamic_;
3351 : : template <typename, ::capnp::Kind>
3352 : : friend struct ::capnp::_::PointerHelpers;
3353 : : template <typename, ::capnp::Kind>
3354 : : friend struct ::capnp::List;
3355 : : friend class ::capnp::MessageBuilder;
3356 : : friend class ::capnp::Orphanage;
3357 : : };
3358 : :
3359 : : class BlockTemplate::GetCoinbaseMerklePathResults::Builder {
3360 : : public:
3361 : : typedef GetCoinbaseMerklePathResults Builds;
3362 : :
3363 : : Builder() = delete; // Deleted to discourage incorrect usage.
3364 : : // You can explicitly initialize to nullptr instead.
3365 : : inline Builder(decltype(nullptr)) {}
3366 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3367 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
3368 : 0 : inline Reader asReader() const { return *this; }
3369 : :
3370 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3371 : : #if !CAPNP_LITE
3372 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
3373 : : #endif // !CAPNP_LITE
3374 : :
3375 : : inline bool hasResult();
3376 : : inline ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>::Builder getResult();
3377 : : inline void setResult( ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>::Reader value);
3378 : : inline void setResult(::kj::ArrayPtr<const ::capnp::Data::Reader> value);
3379 : : inline ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>::Builder initResult(unsigned int size);
3380 : : inline void adoptResult(::capnp::Orphan< ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>>&& value);
3381 : : inline ::capnp::Orphan< ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>> disownResult();
3382 : :
3383 : : private:
3384 : : ::capnp::_::StructBuilder _builder;
3385 : : template <typename, ::capnp::Kind>
3386 : : friend struct ::capnp::ToDynamic_;
3387 : : friend class ::capnp::Orphanage;
3388 : : template <typename, ::capnp::Kind>
3389 : : friend struct ::capnp::_::PointerHelpers;
3390 : : };
3391 : :
3392 : : #if !CAPNP_LITE
3393 [ # # ]: 0 : class BlockTemplate::GetCoinbaseMerklePathResults::Pipeline {
3394 : : public:
3395 : : typedef GetCoinbaseMerklePathResults Pipelines;
3396 : :
3397 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3398 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3399 : 0 : : _typeless(kj::mv(typeless)) {}
3400 : :
3401 : : private:
3402 : : ::capnp::AnyPointer::Pipeline _typeless;
3403 : : friend class ::capnp::PipelineHook;
3404 : : template <typename, ::capnp::Kind>
3405 : : friend struct ::capnp::ToDynamic_;
3406 : : };
3407 : : #endif // !CAPNP_LITE
3408 : :
3409 : : class BlockTemplate::SubmitSolutionParams::Reader {
3410 : : public:
3411 : : typedef SubmitSolutionParams Reads;
3412 : :
3413 : : Reader() = default;
3414 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3415 : :
3416 : : inline ::capnp::MessageSize totalSize() const {
3417 : : return _reader.totalSize().asPublic();
3418 : : }
3419 : :
3420 : : #if !CAPNP_LITE
3421 : 0 : inline ::kj::StringTree toString() const {
3422 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3423 : : }
3424 : : #endif // !CAPNP_LITE
3425 : :
3426 : : inline bool hasContext() const;
3427 : : inline ::mp::Context::Reader getContext() const;
3428 : :
3429 : : inline ::uint32_t getVersion() const;
3430 : :
3431 : : inline ::uint32_t getTimestamp() const;
3432 : :
3433 : : inline ::uint32_t getNonce() const;
3434 : :
3435 : : inline bool hasCoinbase() const;
3436 : : inline ::capnp::Data::Reader getCoinbase() const;
3437 : :
3438 : : private:
3439 : : ::capnp::_::StructReader _reader;
3440 : : template <typename, ::capnp::Kind>
3441 : : friend struct ::capnp::ToDynamic_;
3442 : : template <typename, ::capnp::Kind>
3443 : : friend struct ::capnp::_::PointerHelpers;
3444 : : template <typename, ::capnp::Kind>
3445 : : friend struct ::capnp::List;
3446 : : friend class ::capnp::MessageBuilder;
3447 : : friend class ::capnp::Orphanage;
3448 : : };
3449 : :
3450 : : class BlockTemplate::SubmitSolutionParams::Builder {
3451 : : public:
3452 : : typedef SubmitSolutionParams Builds;
3453 : :
3454 : : Builder() = delete; // Deleted to discourage incorrect usage.
3455 : : // You can explicitly initialize to nullptr instead.
3456 : : inline Builder(decltype(nullptr)) {}
3457 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3458 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
3459 : 0 : inline Reader asReader() const { return *this; }
3460 : :
3461 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3462 : : #if !CAPNP_LITE
3463 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
3464 : : #endif // !CAPNP_LITE
3465 : :
3466 : : inline bool hasContext();
3467 : : inline ::mp::Context::Builder getContext();
3468 : : inline void setContext( ::mp::Context::Reader value);
3469 : : inline ::mp::Context::Builder initContext();
3470 : : inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
3471 : : inline ::capnp::Orphan< ::mp::Context> disownContext();
3472 : :
3473 : : inline ::uint32_t getVersion();
3474 : : inline void setVersion( ::uint32_t value);
3475 : :
3476 : : inline ::uint32_t getTimestamp();
3477 : : inline void setTimestamp( ::uint32_t value);
3478 : :
3479 : : inline ::uint32_t getNonce();
3480 : : inline void setNonce( ::uint32_t value);
3481 : :
3482 : : inline bool hasCoinbase();
3483 : : inline ::capnp::Data::Builder getCoinbase();
3484 : : inline void setCoinbase( ::capnp::Data::Reader value);
3485 : : inline ::capnp::Data::Builder initCoinbase(unsigned int size);
3486 : : inline void adoptCoinbase(::capnp::Orphan< ::capnp::Data>&& value);
3487 : : inline ::capnp::Orphan< ::capnp::Data> disownCoinbase();
3488 : :
3489 : : private:
3490 : : ::capnp::_::StructBuilder _builder;
3491 : : template <typename, ::capnp::Kind>
3492 : : friend struct ::capnp::ToDynamic_;
3493 : : friend class ::capnp::Orphanage;
3494 : : template <typename, ::capnp::Kind>
3495 : : friend struct ::capnp::_::PointerHelpers;
3496 : : };
3497 : :
3498 : : #if !CAPNP_LITE
3499 : : class BlockTemplate::SubmitSolutionParams::Pipeline {
3500 : : public:
3501 : : typedef SubmitSolutionParams Pipelines;
3502 : :
3503 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3504 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3505 : : : _typeless(kj::mv(typeless)) {}
3506 : :
3507 : : inline ::mp::Context::Pipeline getContext();
3508 : : private:
3509 : : ::capnp::AnyPointer::Pipeline _typeless;
3510 : : friend class ::capnp::PipelineHook;
3511 : : template <typename, ::capnp::Kind>
3512 : : friend struct ::capnp::ToDynamic_;
3513 : : };
3514 : : #endif // !CAPNP_LITE
3515 : :
3516 : : class BlockTemplate::SubmitSolutionResults::Reader {
3517 : : public:
3518 : : typedef SubmitSolutionResults Reads;
3519 : :
3520 : : Reader() = default;
3521 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3522 : :
3523 : : inline ::capnp::MessageSize totalSize() const {
3524 : : return _reader.totalSize().asPublic();
3525 : : }
3526 : :
3527 : : #if !CAPNP_LITE
3528 : 0 : inline ::kj::StringTree toString() const {
3529 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3530 : : }
3531 : : #endif // !CAPNP_LITE
3532 : :
3533 : : inline bool getResult() const;
3534 : :
3535 : : private:
3536 : : ::capnp::_::StructReader _reader;
3537 : : template <typename, ::capnp::Kind>
3538 : : friend struct ::capnp::ToDynamic_;
3539 : : template <typename, ::capnp::Kind>
3540 : : friend struct ::capnp::_::PointerHelpers;
3541 : : template <typename, ::capnp::Kind>
3542 : : friend struct ::capnp::List;
3543 : : friend class ::capnp::MessageBuilder;
3544 : : friend class ::capnp::Orphanage;
3545 : : };
3546 : :
3547 : : class BlockTemplate::SubmitSolutionResults::Builder {
3548 : : public:
3549 : : typedef SubmitSolutionResults Builds;
3550 : :
3551 : : Builder() = delete; // Deleted to discourage incorrect usage.
3552 : : // You can explicitly initialize to nullptr instead.
3553 : : inline Builder(decltype(nullptr)) {}
3554 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3555 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
3556 : 0 : inline Reader asReader() const { return *this; }
3557 : :
3558 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3559 : : #if !CAPNP_LITE
3560 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
3561 : : #endif // !CAPNP_LITE
3562 : :
3563 : : inline bool getResult();
3564 : : inline void setResult(bool value);
3565 : :
3566 : : private:
3567 : : ::capnp::_::StructBuilder _builder;
3568 : : template <typename, ::capnp::Kind>
3569 : : friend struct ::capnp::ToDynamic_;
3570 : : friend class ::capnp::Orphanage;
3571 : : template <typename, ::capnp::Kind>
3572 : : friend struct ::capnp::_::PointerHelpers;
3573 : : };
3574 : :
3575 : : #if !CAPNP_LITE
3576 [ # # ]: 0 : class BlockTemplate::SubmitSolutionResults::Pipeline {
3577 : : public:
3578 : : typedef SubmitSolutionResults Pipelines;
3579 : :
3580 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3581 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3582 : 0 : : _typeless(kj::mv(typeless)) {}
3583 : :
3584 : : private:
3585 : : ::capnp::AnyPointer::Pipeline _typeless;
3586 : : friend class ::capnp::PipelineHook;
3587 : : template <typename, ::capnp::Kind>
3588 : : friend struct ::capnp::ToDynamic_;
3589 : : };
3590 : : #endif // !CAPNP_LITE
3591 : :
3592 : : class BlockTemplate::WaitNextParams::Reader {
3593 : : public:
3594 : : typedef WaitNextParams Reads;
3595 : :
3596 : : Reader() = default;
3597 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3598 : :
3599 : : inline ::capnp::MessageSize totalSize() const {
3600 : : return _reader.totalSize().asPublic();
3601 : : }
3602 : :
3603 : : #if !CAPNP_LITE
3604 : 0 : inline ::kj::StringTree toString() const {
3605 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3606 : : }
3607 : : #endif // !CAPNP_LITE
3608 : :
3609 : : inline bool hasContext() const;
3610 : : inline ::mp::Context::Reader getContext() const;
3611 : :
3612 : : inline bool hasOptions() const;
3613 : : inline ::ipc::capnp::messages::BlockWaitOptions::Reader getOptions() const;
3614 : :
3615 : : private:
3616 : : ::capnp::_::StructReader _reader;
3617 : : template <typename, ::capnp::Kind>
3618 : : friend struct ::capnp::ToDynamic_;
3619 : : template <typename, ::capnp::Kind>
3620 : : friend struct ::capnp::_::PointerHelpers;
3621 : : template <typename, ::capnp::Kind>
3622 : : friend struct ::capnp::List;
3623 : : friend class ::capnp::MessageBuilder;
3624 : : friend class ::capnp::Orphanage;
3625 : : };
3626 : :
3627 : : class BlockTemplate::WaitNextParams::Builder {
3628 : : public:
3629 : : typedef WaitNextParams Builds;
3630 : :
3631 : : Builder() = delete; // Deleted to discourage incorrect usage.
3632 : : // You can explicitly initialize to nullptr instead.
3633 : : inline Builder(decltype(nullptr)) {}
3634 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3635 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
3636 : 0 : inline Reader asReader() const { return *this; }
3637 : :
3638 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3639 : : #if !CAPNP_LITE
3640 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
3641 : : #endif // !CAPNP_LITE
3642 : :
3643 : : inline bool hasContext();
3644 : : inline ::mp::Context::Builder getContext();
3645 : : inline void setContext( ::mp::Context::Reader value);
3646 : : inline ::mp::Context::Builder initContext();
3647 : : inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
3648 : : inline ::capnp::Orphan< ::mp::Context> disownContext();
3649 : :
3650 : : inline bool hasOptions();
3651 : : inline ::ipc::capnp::messages::BlockWaitOptions::Builder getOptions();
3652 : : inline void setOptions( ::ipc::capnp::messages::BlockWaitOptions::Reader value);
3653 : : inline ::ipc::capnp::messages::BlockWaitOptions::Builder initOptions();
3654 : : inline void adoptOptions(::capnp::Orphan< ::ipc::capnp::messages::BlockWaitOptions>&& value);
3655 : : inline ::capnp::Orphan< ::ipc::capnp::messages::BlockWaitOptions> disownOptions();
3656 : :
3657 : : private:
3658 : : ::capnp::_::StructBuilder _builder;
3659 : : template <typename, ::capnp::Kind>
3660 : : friend struct ::capnp::ToDynamic_;
3661 : : friend class ::capnp::Orphanage;
3662 : : template <typename, ::capnp::Kind>
3663 : : friend struct ::capnp::_::PointerHelpers;
3664 : : };
3665 : :
3666 : : #if !CAPNP_LITE
3667 : : class BlockTemplate::WaitNextParams::Pipeline {
3668 : : public:
3669 : : typedef WaitNextParams Pipelines;
3670 : :
3671 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3672 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3673 : : : _typeless(kj::mv(typeless)) {}
3674 : :
3675 : : inline ::mp::Context::Pipeline getContext();
3676 : : inline ::ipc::capnp::messages::BlockWaitOptions::Pipeline getOptions();
3677 : : private:
3678 : : ::capnp::AnyPointer::Pipeline _typeless;
3679 : : friend class ::capnp::PipelineHook;
3680 : : template <typename, ::capnp::Kind>
3681 : : friend struct ::capnp::ToDynamic_;
3682 : : };
3683 : : #endif // !CAPNP_LITE
3684 : :
3685 : : class BlockTemplate::WaitNextResults::Reader {
3686 : : public:
3687 : : typedef WaitNextResults Reads;
3688 : :
3689 : : Reader() = default;
3690 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3691 : :
3692 : : inline ::capnp::MessageSize totalSize() const {
3693 : : return _reader.totalSize().asPublic();
3694 : : }
3695 : :
3696 : : #if !CAPNP_LITE
3697 : 0 : inline ::kj::StringTree toString() const {
3698 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3699 : : }
3700 : : #endif // !CAPNP_LITE
3701 : :
3702 : : inline bool hasResult() const;
3703 : : #if !CAPNP_LITE
3704 : : inline ::ipc::capnp::messages::BlockTemplate::Client getResult() const;
3705 : : #endif // !CAPNP_LITE
3706 : :
3707 : : private:
3708 : : ::capnp::_::StructReader _reader;
3709 : : template <typename, ::capnp::Kind>
3710 : : friend struct ::capnp::ToDynamic_;
3711 : : template <typename, ::capnp::Kind>
3712 : : friend struct ::capnp::_::PointerHelpers;
3713 : : template <typename, ::capnp::Kind>
3714 : : friend struct ::capnp::List;
3715 : : friend class ::capnp::MessageBuilder;
3716 : : friend class ::capnp::Orphanage;
3717 : : };
3718 : :
3719 : : class BlockTemplate::WaitNextResults::Builder {
3720 : : public:
3721 : : typedef WaitNextResults Builds;
3722 : :
3723 : : Builder() = delete; // Deleted to discourage incorrect usage.
3724 : : // You can explicitly initialize to nullptr instead.
3725 : : inline Builder(decltype(nullptr)) {}
3726 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3727 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
3728 : 0 : inline Reader asReader() const { return *this; }
3729 : :
3730 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3731 : : #if !CAPNP_LITE
3732 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
3733 : : #endif // !CAPNP_LITE
3734 : :
3735 : : inline bool hasResult();
3736 : : #if !CAPNP_LITE
3737 : : inline ::ipc::capnp::messages::BlockTemplate::Client getResult();
3738 : : inline void setResult( ::ipc::capnp::messages::BlockTemplate::Client&& value);
3739 : : inline void setResult( ::ipc::capnp::messages::BlockTemplate::Client& value);
3740 : : inline void adoptResult(::capnp::Orphan< ::ipc::capnp::messages::BlockTemplate>&& value);
3741 : : inline ::capnp::Orphan< ::ipc::capnp::messages::BlockTemplate> disownResult();
3742 : : #endif // !CAPNP_LITE
3743 : :
3744 : : private:
3745 : : ::capnp::_::StructBuilder _builder;
3746 : : template <typename, ::capnp::Kind>
3747 : : friend struct ::capnp::ToDynamic_;
3748 : : friend class ::capnp::Orphanage;
3749 : : template <typename, ::capnp::Kind>
3750 : : friend struct ::capnp::_::PointerHelpers;
3751 : : };
3752 : :
3753 : : #if !CAPNP_LITE
3754 [ # # ]: 0 : class BlockTemplate::WaitNextResults::Pipeline {
3755 : : public:
3756 : : typedef WaitNextResults Pipelines;
3757 : :
3758 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3759 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3760 : 0 : : _typeless(kj::mv(typeless)) {}
3761 : :
3762 : : inline ::ipc::capnp::messages::BlockTemplate::Client getResult();
3763 : : private:
3764 : : ::capnp::AnyPointer::Pipeline _typeless;
3765 : : friend class ::capnp::PipelineHook;
3766 : : template <typename, ::capnp::Kind>
3767 : : friend struct ::capnp::ToDynamic_;
3768 : : };
3769 : : #endif // !CAPNP_LITE
3770 : :
3771 : : class BlockTemplate::InterruptWaitParams::Reader {
3772 : : public:
3773 : : typedef InterruptWaitParams Reads;
3774 : :
3775 : : Reader() = default;
3776 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3777 : :
3778 : : inline ::capnp::MessageSize totalSize() const {
3779 : : return _reader.totalSize().asPublic();
3780 : : }
3781 : :
3782 : : #if !CAPNP_LITE
3783 : 0 : inline ::kj::StringTree toString() const {
3784 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3785 : : }
3786 : : #endif // !CAPNP_LITE
3787 : :
3788 : : private:
3789 : : ::capnp::_::StructReader _reader;
3790 : : template <typename, ::capnp::Kind>
3791 : : friend struct ::capnp::ToDynamic_;
3792 : : template <typename, ::capnp::Kind>
3793 : : friend struct ::capnp::_::PointerHelpers;
3794 : : template <typename, ::capnp::Kind>
3795 : : friend struct ::capnp::List;
3796 : : friend class ::capnp::MessageBuilder;
3797 : : friend class ::capnp::Orphanage;
3798 : : };
3799 : :
3800 : : class BlockTemplate::InterruptWaitParams::Builder {
3801 : : public:
3802 : : typedef InterruptWaitParams Builds;
3803 : :
3804 : : Builder() = delete; // Deleted to discourage incorrect usage.
3805 : : // You can explicitly initialize to nullptr instead.
3806 : : inline Builder(decltype(nullptr)) {}
3807 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3808 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
3809 : 0 : inline Reader asReader() const { return *this; }
3810 : :
3811 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3812 : : #if !CAPNP_LITE
3813 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
3814 : : #endif // !CAPNP_LITE
3815 : :
3816 : : private:
3817 : : ::capnp::_::StructBuilder _builder;
3818 : : template <typename, ::capnp::Kind>
3819 : : friend struct ::capnp::ToDynamic_;
3820 : : friend class ::capnp::Orphanage;
3821 : : template <typename, ::capnp::Kind>
3822 : : friend struct ::capnp::_::PointerHelpers;
3823 : : };
3824 : :
3825 : : #if !CAPNP_LITE
3826 : : class BlockTemplate::InterruptWaitParams::Pipeline {
3827 : : public:
3828 : : typedef InterruptWaitParams Pipelines;
3829 : :
3830 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3831 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3832 : : : _typeless(kj::mv(typeless)) {}
3833 : :
3834 : : private:
3835 : : ::capnp::AnyPointer::Pipeline _typeless;
3836 : : friend class ::capnp::PipelineHook;
3837 : : template <typename, ::capnp::Kind>
3838 : : friend struct ::capnp::ToDynamic_;
3839 : : };
3840 : : #endif // !CAPNP_LITE
3841 : :
3842 : : class BlockTemplate::InterruptWaitResults::Reader {
3843 : : public:
3844 : : typedef InterruptWaitResults Reads;
3845 : :
3846 : : Reader() = default;
3847 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3848 : :
3849 : : inline ::capnp::MessageSize totalSize() const {
3850 : : return _reader.totalSize().asPublic();
3851 : : }
3852 : :
3853 : : #if !CAPNP_LITE
3854 : 0 : inline ::kj::StringTree toString() const {
3855 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3856 : : }
3857 : : #endif // !CAPNP_LITE
3858 : :
3859 : : private:
3860 : : ::capnp::_::StructReader _reader;
3861 : : template <typename, ::capnp::Kind>
3862 : : friend struct ::capnp::ToDynamic_;
3863 : : template <typename, ::capnp::Kind>
3864 : : friend struct ::capnp::_::PointerHelpers;
3865 : : template <typename, ::capnp::Kind>
3866 : : friend struct ::capnp::List;
3867 : : friend class ::capnp::MessageBuilder;
3868 : : friend class ::capnp::Orphanage;
3869 : : };
3870 : :
3871 : : class BlockTemplate::InterruptWaitResults::Builder {
3872 : : public:
3873 : : typedef InterruptWaitResults Builds;
3874 : :
3875 : : Builder() = delete; // Deleted to discourage incorrect usage.
3876 : : // You can explicitly initialize to nullptr instead.
3877 : : inline Builder(decltype(nullptr)) {}
3878 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3879 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
3880 : 0 : inline Reader asReader() const { return *this; }
3881 : :
3882 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3883 : : #if !CAPNP_LITE
3884 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
3885 : : #endif // !CAPNP_LITE
3886 : :
3887 : : private:
3888 : : ::capnp::_::StructBuilder _builder;
3889 : : template <typename, ::capnp::Kind>
3890 : : friend struct ::capnp::ToDynamic_;
3891 : : friend class ::capnp::Orphanage;
3892 : : template <typename, ::capnp::Kind>
3893 : : friend struct ::capnp::_::PointerHelpers;
3894 : : };
3895 : :
3896 : : #if !CAPNP_LITE
3897 [ # # ]: 0 : class BlockTemplate::InterruptWaitResults::Pipeline {
3898 : : public:
3899 : : typedef InterruptWaitResults Pipelines;
3900 : :
3901 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3902 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3903 : 0 : : _typeless(kj::mv(typeless)) {}
3904 : :
3905 : : private:
3906 : : ::capnp::AnyPointer::Pipeline _typeless;
3907 : : friend class ::capnp::PipelineHook;
3908 : : template <typename, ::capnp::Kind>
3909 : : friend struct ::capnp::ToDynamic_;
3910 : : };
3911 : : #endif // !CAPNP_LITE
3912 : :
3913 : : class BlockCreateOptions::Reader {
3914 : : public:
3915 : : typedef BlockCreateOptions Reads;
3916 : :
3917 : : Reader() = default;
3918 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3919 : :
3920 : : inline ::capnp::MessageSize totalSize() const {
3921 : : return _reader.totalSize().asPublic();
3922 : : }
3923 : :
3924 : : #if !CAPNP_LITE
3925 : : inline ::kj::StringTree toString() const {
3926 : : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3927 : : }
3928 : : #endif // !CAPNP_LITE
3929 : :
3930 : : inline bool getUseMempool() const;
3931 : :
3932 : : inline ::uint64_t getBlockReservedWeight() const;
3933 : :
3934 : : inline ::uint64_t getCoinbaseOutputMaxAdditionalSigops() const;
3935 : :
3936 : : private:
3937 : : ::capnp::_::StructReader _reader;
3938 : : template <typename, ::capnp::Kind>
3939 : : friend struct ::capnp::ToDynamic_;
3940 : : template <typename, ::capnp::Kind>
3941 : : friend struct ::capnp::_::PointerHelpers;
3942 : : template <typename, ::capnp::Kind>
3943 : : friend struct ::capnp::List;
3944 : : friend class ::capnp::MessageBuilder;
3945 : : friend class ::capnp::Orphanage;
3946 : : };
3947 : :
3948 : : class BlockCreateOptions::Builder {
3949 : : public:
3950 : : typedef BlockCreateOptions Builds;
3951 : :
3952 : : Builder() = delete; // Deleted to discourage incorrect usage.
3953 : : // You can explicitly initialize to nullptr instead.
3954 : : inline Builder(decltype(nullptr)) {}
3955 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3956 : : inline operator Reader() const { return Reader(_builder.asReader()); }
3957 : : inline Reader asReader() const { return *this; }
3958 : :
3959 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3960 : : #if !CAPNP_LITE
3961 : : inline ::kj::StringTree toString() const { return asReader().toString(); }
3962 : : #endif // !CAPNP_LITE
3963 : :
3964 : : inline bool getUseMempool();
3965 : : inline void setUseMempool(bool value);
3966 : :
3967 : : inline ::uint64_t getBlockReservedWeight();
3968 : : inline void setBlockReservedWeight( ::uint64_t value);
3969 : :
3970 : : inline ::uint64_t getCoinbaseOutputMaxAdditionalSigops();
3971 : : inline void setCoinbaseOutputMaxAdditionalSigops( ::uint64_t value);
3972 : :
3973 : : private:
3974 : : ::capnp::_::StructBuilder _builder;
3975 : : template <typename, ::capnp::Kind>
3976 : : friend struct ::capnp::ToDynamic_;
3977 : : friend class ::capnp::Orphanage;
3978 : : template <typename, ::capnp::Kind>
3979 : : friend struct ::capnp::_::PointerHelpers;
3980 : : };
3981 : :
3982 : : #if !CAPNP_LITE
3983 : : class BlockCreateOptions::Pipeline {
3984 : : public:
3985 : : typedef BlockCreateOptions Pipelines;
3986 : :
3987 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3988 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3989 : : : _typeless(kj::mv(typeless)) {}
3990 : :
3991 : : private:
3992 : : ::capnp::AnyPointer::Pipeline _typeless;
3993 : : friend class ::capnp::PipelineHook;
3994 : : template <typename, ::capnp::Kind>
3995 : : friend struct ::capnp::ToDynamic_;
3996 : : };
3997 : : #endif // !CAPNP_LITE
3998 : :
3999 : : class BlockWaitOptions::Reader {
4000 : : public:
4001 : : typedef BlockWaitOptions Reads;
4002 : :
4003 : : Reader() = default;
4004 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
4005 : :
4006 : : inline ::capnp::MessageSize totalSize() const {
4007 : : return _reader.totalSize().asPublic();
4008 : : }
4009 : :
4010 : : #if !CAPNP_LITE
4011 : : inline ::kj::StringTree toString() const {
4012 : : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
4013 : : }
4014 : : #endif // !CAPNP_LITE
4015 : :
4016 : : inline double getTimeout() const;
4017 : :
4018 : : inline ::int64_t getFeeThreshold() const;
4019 : :
4020 : : private:
4021 : : ::capnp::_::StructReader _reader;
4022 : : template <typename, ::capnp::Kind>
4023 : : friend struct ::capnp::ToDynamic_;
4024 : : template <typename, ::capnp::Kind>
4025 : : friend struct ::capnp::_::PointerHelpers;
4026 : : template <typename, ::capnp::Kind>
4027 : : friend struct ::capnp::List;
4028 : : friend class ::capnp::MessageBuilder;
4029 : : friend class ::capnp::Orphanage;
4030 : : };
4031 : :
4032 : : class BlockWaitOptions::Builder {
4033 : : public:
4034 : : typedef BlockWaitOptions Builds;
4035 : :
4036 : : Builder() = delete; // Deleted to discourage incorrect usage.
4037 : : // You can explicitly initialize to nullptr instead.
4038 : : inline Builder(decltype(nullptr)) {}
4039 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
4040 : : inline operator Reader() const { return Reader(_builder.asReader()); }
4041 : : inline Reader asReader() const { return *this; }
4042 : :
4043 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
4044 : : #if !CAPNP_LITE
4045 : : inline ::kj::StringTree toString() const { return asReader().toString(); }
4046 : : #endif // !CAPNP_LITE
4047 : :
4048 : : inline double getTimeout();
4049 : : inline void setTimeout(double value);
4050 : :
4051 : : inline ::int64_t getFeeThreshold();
4052 : : inline void setFeeThreshold( ::int64_t value);
4053 : :
4054 : : private:
4055 : : ::capnp::_::StructBuilder _builder;
4056 : : template <typename, ::capnp::Kind>
4057 : : friend struct ::capnp::ToDynamic_;
4058 : : friend class ::capnp::Orphanage;
4059 : : template <typename, ::capnp::Kind>
4060 : : friend struct ::capnp::_::PointerHelpers;
4061 : : };
4062 : :
4063 : : #if !CAPNP_LITE
4064 : : class BlockWaitOptions::Pipeline {
4065 : : public:
4066 : : typedef BlockWaitOptions Pipelines;
4067 : :
4068 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
4069 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
4070 : : : _typeless(kj::mv(typeless)) {}
4071 : :
4072 : : private:
4073 : : ::capnp::AnyPointer::Pipeline _typeless;
4074 : : friend class ::capnp::PipelineHook;
4075 : : template <typename, ::capnp::Kind>
4076 : : friend struct ::capnp::ToDynamic_;
4077 : : };
4078 : : #endif // !CAPNP_LITE
4079 : :
4080 : : class BlockCheckOptions::Reader {
4081 : : public:
4082 : : typedef BlockCheckOptions Reads;
4083 : :
4084 : : Reader() = default;
4085 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
4086 : :
4087 : : inline ::capnp::MessageSize totalSize() const {
4088 : : return _reader.totalSize().asPublic();
4089 : : }
4090 : :
4091 : : #if !CAPNP_LITE
4092 : : inline ::kj::StringTree toString() const {
4093 : : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
4094 : : }
4095 : : #endif // !CAPNP_LITE
4096 : :
4097 : : inline bool getCheckMerkleRoot() const;
4098 : :
4099 : : inline bool getCheckPow() const;
4100 : :
4101 : : private:
4102 : : ::capnp::_::StructReader _reader;
4103 : : template <typename, ::capnp::Kind>
4104 : : friend struct ::capnp::ToDynamic_;
4105 : : template <typename, ::capnp::Kind>
4106 : : friend struct ::capnp::_::PointerHelpers;
4107 : : template <typename, ::capnp::Kind>
4108 : : friend struct ::capnp::List;
4109 : : friend class ::capnp::MessageBuilder;
4110 : : friend class ::capnp::Orphanage;
4111 : : };
4112 : :
4113 : : class BlockCheckOptions::Builder {
4114 : : public:
4115 : : typedef BlockCheckOptions Builds;
4116 : :
4117 : : Builder() = delete; // Deleted to discourage incorrect usage.
4118 : : // You can explicitly initialize to nullptr instead.
4119 : : inline Builder(decltype(nullptr)) {}
4120 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
4121 : : inline operator Reader() const { return Reader(_builder.asReader()); }
4122 : : inline Reader asReader() const { return *this; }
4123 : :
4124 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
4125 : : #if !CAPNP_LITE
4126 : : inline ::kj::StringTree toString() const { return asReader().toString(); }
4127 : : #endif // !CAPNP_LITE
4128 : :
4129 : : inline bool getCheckMerkleRoot();
4130 : : inline void setCheckMerkleRoot(bool value);
4131 : :
4132 : : inline bool getCheckPow();
4133 : : inline void setCheckPow(bool value);
4134 : :
4135 : : private:
4136 : : ::capnp::_::StructBuilder _builder;
4137 : : template <typename, ::capnp::Kind>
4138 : : friend struct ::capnp::ToDynamic_;
4139 : : friend class ::capnp::Orphanage;
4140 : : template <typename, ::capnp::Kind>
4141 : : friend struct ::capnp::_::PointerHelpers;
4142 : : };
4143 : :
4144 : : #if !CAPNP_LITE
4145 : : class BlockCheckOptions::Pipeline {
4146 : : public:
4147 : : typedef BlockCheckOptions Pipelines;
4148 : :
4149 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
4150 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
4151 : : : _typeless(kj::mv(typeless)) {}
4152 : :
4153 : : private:
4154 : : ::capnp::AnyPointer::Pipeline _typeless;
4155 : : friend class ::capnp::PipelineHook;
4156 : : template <typename, ::capnp::Kind>
4157 : : friend struct ::capnp::ToDynamic_;
4158 : : };
4159 : : #endif // !CAPNP_LITE
4160 : :
4161 : : // =======================================================================================
4162 : :
4163 : : #if !CAPNP_LITE
4164 : : inline Mining::Client::Client(decltype(nullptr))
4165 : : : ::capnp::Capability::Client(nullptr) {}
4166 : 0 : inline Mining::Client::Client(
4167 : : ::kj::Own< ::capnp::ClientHook>&& hook)
4168 [ # # ]: 0 : : ::capnp::Capability::Client(::kj::mv(hook)) {}
4169 : : template <typename _t, typename>
4170 : 0 : inline Mining::Client::Client(::kj::Own<_t>&& server)
4171 [ # # ]: 0 : : ::capnp::Capability::Client(::kj::mv(server)) {}
4172 : : template <typename _t, typename>
4173 : : inline Mining::Client::Client(::kj::Promise<_t>&& promise)
4174 : : : ::capnp::Capability::Client(::kj::mv(promise)) {}
4175 : : inline Mining::Client::Client(::kj::Exception&& exception)
4176 : : : ::capnp::Capability::Client(::kj::mv(exception)) {}
4177 : : inline ::ipc::capnp::messages::Mining::Client& Mining::Client::operator=(Client& other) {
4178 : : ::capnp::Capability::Client::operator=(other);
4179 : : return *this;
4180 : : }
4181 : : inline ::ipc::capnp::messages::Mining::Client& Mining::Client::operator=(Client&& other) {
4182 : : ::capnp::Capability::Client::operator=(kj::mv(other));
4183 : : return *this;
4184 : : }
4185 : :
4186 : : #endif // !CAPNP_LITE
4187 : : inline bool Mining::IsTestChainParams::Reader::hasContext() const {
4188 : : return !_reader.getPointerField(
4189 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4190 : : }
4191 : : inline bool Mining::IsTestChainParams::Builder::hasContext() {
4192 : : return !_builder.getPointerField(
4193 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4194 : : }
4195 : 0 : inline ::mp::Context::Reader Mining::IsTestChainParams::Reader::getContext() const {
4196 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
4197 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4198 : : }
4199 : : inline ::mp::Context::Builder Mining::IsTestChainParams::Builder::getContext() {
4200 : : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
4201 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4202 : : }
4203 : : #if !CAPNP_LITE
4204 : : inline ::mp::Context::Pipeline Mining::IsTestChainParams::Pipeline::getContext() {
4205 : : return ::mp::Context::Pipeline(_typeless.getPointerField(0));
4206 : : }
4207 : : #endif // !CAPNP_LITE
4208 : : inline void Mining::IsTestChainParams::Builder::setContext( ::mp::Context::Reader value) {
4209 : : ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
4210 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4211 : : }
4212 : 0 : inline ::mp::Context::Builder Mining::IsTestChainParams::Builder::initContext() {
4213 : 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
4214 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4215 : : }
4216 : : inline void Mining::IsTestChainParams::Builder::adoptContext(
4217 : : ::capnp::Orphan< ::mp::Context>&& value) {
4218 : : ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
4219 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4220 : : }
4221 : : inline ::capnp::Orphan< ::mp::Context> Mining::IsTestChainParams::Builder::disownContext() {
4222 : : return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
4223 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4224 : : }
4225 : :
4226 : 0 : inline bool Mining::IsTestChainResults::Reader::getResult() const {
4227 [ # # ]: 0 : return _reader.getDataField<bool>(
4228 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4229 : : }
4230 : :
4231 : : inline bool Mining::IsTestChainResults::Builder::getResult() {
4232 : : return _builder.getDataField<bool>(
4233 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4234 : : }
4235 : 0 : inline void Mining::IsTestChainResults::Builder::setResult(bool value) {
4236 : 0 : _builder.setDataField<bool>(
4237 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4238 : : }
4239 : :
4240 : : inline bool Mining::IsInitialBlockDownloadParams::Reader::hasContext() const {
4241 : : return !_reader.getPointerField(
4242 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4243 : : }
4244 : : inline bool Mining::IsInitialBlockDownloadParams::Builder::hasContext() {
4245 : : return !_builder.getPointerField(
4246 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4247 : : }
4248 : 0 : inline ::mp::Context::Reader Mining::IsInitialBlockDownloadParams::Reader::getContext() const {
4249 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
4250 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4251 : : }
4252 : : inline ::mp::Context::Builder Mining::IsInitialBlockDownloadParams::Builder::getContext() {
4253 : : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
4254 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4255 : : }
4256 : : #if !CAPNP_LITE
4257 : : inline ::mp::Context::Pipeline Mining::IsInitialBlockDownloadParams::Pipeline::getContext() {
4258 : : return ::mp::Context::Pipeline(_typeless.getPointerField(0));
4259 : : }
4260 : : #endif // !CAPNP_LITE
4261 : : inline void Mining::IsInitialBlockDownloadParams::Builder::setContext( ::mp::Context::Reader value) {
4262 : : ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
4263 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4264 : : }
4265 : 0 : inline ::mp::Context::Builder Mining::IsInitialBlockDownloadParams::Builder::initContext() {
4266 : 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
4267 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4268 : : }
4269 : : inline void Mining::IsInitialBlockDownloadParams::Builder::adoptContext(
4270 : : ::capnp::Orphan< ::mp::Context>&& value) {
4271 : : ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
4272 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4273 : : }
4274 : : inline ::capnp::Orphan< ::mp::Context> Mining::IsInitialBlockDownloadParams::Builder::disownContext() {
4275 : : return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
4276 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4277 : : }
4278 : :
4279 : 0 : inline bool Mining::IsInitialBlockDownloadResults::Reader::getResult() const {
4280 [ # # ]: 0 : return _reader.getDataField<bool>(
4281 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4282 : : }
4283 : :
4284 : : inline bool Mining::IsInitialBlockDownloadResults::Builder::getResult() {
4285 : : return _builder.getDataField<bool>(
4286 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4287 : : }
4288 : 0 : inline void Mining::IsInitialBlockDownloadResults::Builder::setResult(bool value) {
4289 : 0 : _builder.setDataField<bool>(
4290 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4291 : : }
4292 : :
4293 : : inline bool Mining::GetTipParams::Reader::hasContext() const {
4294 : : return !_reader.getPointerField(
4295 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4296 : : }
4297 : : inline bool Mining::GetTipParams::Builder::hasContext() {
4298 : : return !_builder.getPointerField(
4299 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4300 : : }
4301 : 0 : inline ::mp::Context::Reader Mining::GetTipParams::Reader::getContext() const {
4302 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
4303 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4304 : : }
4305 : : inline ::mp::Context::Builder Mining::GetTipParams::Builder::getContext() {
4306 : : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
4307 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4308 : : }
4309 : : #if !CAPNP_LITE
4310 : : inline ::mp::Context::Pipeline Mining::GetTipParams::Pipeline::getContext() {
4311 : : return ::mp::Context::Pipeline(_typeless.getPointerField(0));
4312 : : }
4313 : : #endif // !CAPNP_LITE
4314 : : inline void Mining::GetTipParams::Builder::setContext( ::mp::Context::Reader value) {
4315 : : ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
4316 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4317 : : }
4318 : 0 : inline ::mp::Context::Builder Mining::GetTipParams::Builder::initContext() {
4319 : 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
4320 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4321 : : }
4322 : : inline void Mining::GetTipParams::Builder::adoptContext(
4323 : : ::capnp::Orphan< ::mp::Context>&& value) {
4324 : : ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
4325 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4326 : : }
4327 : : inline ::capnp::Orphan< ::mp::Context> Mining::GetTipParams::Builder::disownContext() {
4328 : : return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
4329 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4330 : : }
4331 : :
4332 : : inline bool Mining::GetTipResults::Reader::hasResult() const {
4333 : : return !_reader.getPointerField(
4334 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4335 : : }
4336 : : inline bool Mining::GetTipResults::Builder::hasResult() {
4337 : : return !_builder.getPointerField(
4338 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4339 : : }
4340 : 0 : inline ::ipc::capnp::messages::BlockRef::Reader Mining::GetTipResults::Reader::getResult() const {
4341 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockRef>::get(_reader.getPointerField(
4342 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4343 : : }
4344 : : inline ::ipc::capnp::messages::BlockRef::Builder Mining::GetTipResults::Builder::getResult() {
4345 : : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockRef>::get(_builder.getPointerField(
4346 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4347 : : }
4348 : : #if !CAPNP_LITE
4349 : : inline ::ipc::capnp::messages::BlockRef::Pipeline Mining::GetTipResults::Pipeline::getResult() {
4350 : : return ::ipc::capnp::messages::BlockRef::Pipeline(_typeless.getPointerField(0));
4351 : : }
4352 : : #endif // !CAPNP_LITE
4353 : : inline void Mining::GetTipResults::Builder::setResult( ::ipc::capnp::messages::BlockRef::Reader value) {
4354 : : ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockRef>::set(_builder.getPointerField(
4355 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4356 : : }
4357 : 0 : inline ::ipc::capnp::messages::BlockRef::Builder Mining::GetTipResults::Builder::initResult() {
4358 : 0 : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockRef>::init(_builder.getPointerField(
4359 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4360 : : }
4361 : : inline void Mining::GetTipResults::Builder::adoptResult(
4362 : : ::capnp::Orphan< ::ipc::capnp::messages::BlockRef>&& value) {
4363 : : ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockRef>::adopt(_builder.getPointerField(
4364 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4365 : : }
4366 : : inline ::capnp::Orphan< ::ipc::capnp::messages::BlockRef> Mining::GetTipResults::Builder::disownResult() {
4367 : : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockRef>::disown(_builder.getPointerField(
4368 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4369 : : }
4370 : :
4371 : 0 : inline bool Mining::GetTipResults::Reader::getHasResult() const {
4372 [ # # # # : 0 : return _reader.getDataField<bool>(
# # ]
4373 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4374 : : }
4375 : :
4376 : : inline bool Mining::GetTipResults::Builder::getHasResult() {
4377 : : return _builder.getDataField<bool>(
4378 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4379 : : }
4380 : 0 : inline void Mining::GetTipResults::Builder::setHasResult(bool value) {
4381 : 0 : _builder.setDataField<bool>(
4382 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4383 : : }
4384 : :
4385 : : inline bool Mining::WaitTipChangedParams::Reader::hasContext() const {
4386 : : return !_reader.getPointerField(
4387 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4388 : : }
4389 : : inline bool Mining::WaitTipChangedParams::Builder::hasContext() {
4390 : : return !_builder.getPointerField(
4391 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4392 : : }
4393 : 0 : inline ::mp::Context::Reader Mining::WaitTipChangedParams::Reader::getContext() const {
4394 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
4395 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4396 : : }
4397 : : inline ::mp::Context::Builder Mining::WaitTipChangedParams::Builder::getContext() {
4398 : : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
4399 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4400 : : }
4401 : : #if !CAPNP_LITE
4402 : : inline ::mp::Context::Pipeline Mining::WaitTipChangedParams::Pipeline::getContext() {
4403 : : return ::mp::Context::Pipeline(_typeless.getPointerField(0));
4404 : : }
4405 : : #endif // !CAPNP_LITE
4406 : : inline void Mining::WaitTipChangedParams::Builder::setContext( ::mp::Context::Reader value) {
4407 : : ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
4408 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4409 : : }
4410 : 0 : inline ::mp::Context::Builder Mining::WaitTipChangedParams::Builder::initContext() {
4411 : 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
4412 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4413 : : }
4414 : : inline void Mining::WaitTipChangedParams::Builder::adoptContext(
4415 : : ::capnp::Orphan< ::mp::Context>&& value) {
4416 : : ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
4417 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4418 : : }
4419 : : inline ::capnp::Orphan< ::mp::Context> Mining::WaitTipChangedParams::Builder::disownContext() {
4420 : : return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
4421 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4422 : : }
4423 : :
4424 : 0 : inline bool Mining::WaitTipChangedParams::Reader::hasCurrentTip() const {
4425 [ # # ]: 0 : return !_reader.getPointerField(
4426 : 0 : ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
4427 : : }
4428 : : inline bool Mining::WaitTipChangedParams::Builder::hasCurrentTip() {
4429 : : return !_builder.getPointerField(
4430 : : ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
4431 : : }
4432 : 0 : inline ::capnp::Data::Reader Mining::WaitTipChangedParams::Reader::getCurrentTip() const {
4433 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
4434 : 0 : ::capnp::bounded<1>() * ::capnp::POINTERS));
4435 : : }
4436 : : inline ::capnp::Data::Builder Mining::WaitTipChangedParams::Builder::getCurrentTip() {
4437 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
4438 : : ::capnp::bounded<1>() * ::capnp::POINTERS));
4439 : : }
4440 : : inline void Mining::WaitTipChangedParams::Builder::setCurrentTip( ::capnp::Data::Reader value) {
4441 : : ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
4442 : : ::capnp::bounded<1>() * ::capnp::POINTERS), value);
4443 : : }
4444 : 0 : inline ::capnp::Data::Builder Mining::WaitTipChangedParams::Builder::initCurrentTip(unsigned int size) {
4445 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
4446 : 0 : ::capnp::bounded<1>() * ::capnp::POINTERS), size);
4447 : : }
4448 : : inline void Mining::WaitTipChangedParams::Builder::adoptCurrentTip(
4449 : : ::capnp::Orphan< ::capnp::Data>&& value) {
4450 : : ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
4451 : : ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
4452 : : }
4453 : : inline ::capnp::Orphan< ::capnp::Data> Mining::WaitTipChangedParams::Builder::disownCurrentTip() {
4454 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
4455 : : ::capnp::bounded<1>() * ::capnp::POINTERS));
4456 : : }
4457 : :
4458 : 0 : inline double Mining::WaitTipChangedParams::Reader::getTimeout() const {
4459 [ # # # # ]: 0 : return _reader.getDataField<double>(
4460 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4461 : : }
4462 : :
4463 : : inline double Mining::WaitTipChangedParams::Builder::getTimeout() {
4464 : : return _builder.getDataField<double>(
4465 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4466 : : }
4467 : 0 : inline void Mining::WaitTipChangedParams::Builder::setTimeout(double value) {
4468 : 0 : _builder.setDataField<double>(
4469 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4470 : : }
4471 : :
4472 : 0 : inline bool Mining::WaitTipChangedResults::Reader::hasResult() const {
4473 [ # # ]: 0 : return !_reader.getPointerField(
4474 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4475 : : }
4476 : : inline bool Mining::WaitTipChangedResults::Builder::hasResult() {
4477 : : return !_builder.getPointerField(
4478 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4479 : : }
4480 : 0 : inline ::ipc::capnp::messages::BlockRef::Reader Mining::WaitTipChangedResults::Reader::getResult() const {
4481 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockRef>::get(_reader.getPointerField(
4482 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4483 : : }
4484 : : inline ::ipc::capnp::messages::BlockRef::Builder Mining::WaitTipChangedResults::Builder::getResult() {
4485 : : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockRef>::get(_builder.getPointerField(
4486 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4487 : : }
4488 : : #if !CAPNP_LITE
4489 : : inline ::ipc::capnp::messages::BlockRef::Pipeline Mining::WaitTipChangedResults::Pipeline::getResult() {
4490 : : return ::ipc::capnp::messages::BlockRef::Pipeline(_typeless.getPointerField(0));
4491 : : }
4492 : : #endif // !CAPNP_LITE
4493 : : inline void Mining::WaitTipChangedResults::Builder::setResult( ::ipc::capnp::messages::BlockRef::Reader value) {
4494 : : ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockRef>::set(_builder.getPointerField(
4495 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4496 : : }
4497 : 0 : inline ::ipc::capnp::messages::BlockRef::Builder Mining::WaitTipChangedResults::Builder::initResult() {
4498 : 0 : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockRef>::init(_builder.getPointerField(
4499 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4500 : : }
4501 : : inline void Mining::WaitTipChangedResults::Builder::adoptResult(
4502 : : ::capnp::Orphan< ::ipc::capnp::messages::BlockRef>&& value) {
4503 : : ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockRef>::adopt(_builder.getPointerField(
4504 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4505 : : }
4506 : : inline ::capnp::Orphan< ::ipc::capnp::messages::BlockRef> Mining::WaitTipChangedResults::Builder::disownResult() {
4507 : : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockRef>::disown(_builder.getPointerField(
4508 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4509 : : }
4510 : :
4511 : : inline bool Mining::CreateNewBlockParams::Reader::hasOptions() const {
4512 : : return !_reader.getPointerField(
4513 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4514 : : }
4515 : : inline bool Mining::CreateNewBlockParams::Builder::hasOptions() {
4516 : : return !_builder.getPointerField(
4517 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4518 : : }
4519 : 0 : inline ::ipc::capnp::messages::BlockCreateOptions::Reader Mining::CreateNewBlockParams::Reader::getOptions() const {
4520 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockCreateOptions>::get(_reader.getPointerField(
4521 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4522 : : }
4523 : : inline ::ipc::capnp::messages::BlockCreateOptions::Builder Mining::CreateNewBlockParams::Builder::getOptions() {
4524 : : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockCreateOptions>::get(_builder.getPointerField(
4525 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4526 : : }
4527 : : #if !CAPNP_LITE
4528 : : inline ::ipc::capnp::messages::BlockCreateOptions::Pipeline Mining::CreateNewBlockParams::Pipeline::getOptions() {
4529 : : return ::ipc::capnp::messages::BlockCreateOptions::Pipeline(_typeless.getPointerField(0));
4530 : : }
4531 : : #endif // !CAPNP_LITE
4532 : : inline void Mining::CreateNewBlockParams::Builder::setOptions( ::ipc::capnp::messages::BlockCreateOptions::Reader value) {
4533 : : ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockCreateOptions>::set(_builder.getPointerField(
4534 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4535 : : }
4536 : 0 : inline ::ipc::capnp::messages::BlockCreateOptions::Builder Mining::CreateNewBlockParams::Builder::initOptions() {
4537 : 0 : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockCreateOptions>::init(_builder.getPointerField(
4538 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4539 : : }
4540 : : inline void Mining::CreateNewBlockParams::Builder::adoptOptions(
4541 : : ::capnp::Orphan< ::ipc::capnp::messages::BlockCreateOptions>&& value) {
4542 : : ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockCreateOptions>::adopt(_builder.getPointerField(
4543 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4544 : : }
4545 : : inline ::capnp::Orphan< ::ipc::capnp::messages::BlockCreateOptions> Mining::CreateNewBlockParams::Builder::disownOptions() {
4546 : : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockCreateOptions>::disown(_builder.getPointerField(
4547 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4548 : : }
4549 : :
4550 : 0 : inline bool Mining::CreateNewBlockResults::Reader::hasResult() const {
4551 [ # # ]: 0 : return !_reader.getPointerField(
4552 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4553 : : }
4554 : : inline bool Mining::CreateNewBlockResults::Builder::hasResult() {
4555 : : return !_builder.getPointerField(
4556 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4557 : : }
4558 : : #if !CAPNP_LITE
4559 : 0 : inline ::ipc::capnp::messages::BlockTemplate::Client Mining::CreateNewBlockResults::Reader::getResult() const {
4560 : 0 : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockTemplate>::get(_reader.getPointerField(
4561 [ # # ]: 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4562 : : }
4563 : : inline ::ipc::capnp::messages::BlockTemplate::Client Mining::CreateNewBlockResults::Builder::getResult() {
4564 : : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockTemplate>::get(_builder.getPointerField(
4565 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4566 : : }
4567 : : inline ::ipc::capnp::messages::BlockTemplate::Client Mining::CreateNewBlockResults::Pipeline::getResult() {
4568 : : return ::ipc::capnp::messages::BlockTemplate::Client(_typeless.getPointerField(0).asCap());
4569 : : }
4570 : 0 : inline void Mining::CreateNewBlockResults::Builder::setResult( ::ipc::capnp::messages::BlockTemplate::Client&& cap) {
4571 : 0 : ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockTemplate>::set(_builder.getPointerField(
4572 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(cap));
4573 : 0 : }
4574 : : inline void Mining::CreateNewBlockResults::Builder::setResult( ::ipc::capnp::messages::BlockTemplate::Client& cap) {
4575 : : ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockTemplate>::set(_builder.getPointerField(
4576 : : ::capnp::bounded<0>() * ::capnp::POINTERS), cap);
4577 : : }
4578 : : inline void Mining::CreateNewBlockResults::Builder::adoptResult(
4579 : : ::capnp::Orphan< ::ipc::capnp::messages::BlockTemplate>&& value) {
4580 : : ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockTemplate>::adopt(_builder.getPointerField(
4581 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4582 : : }
4583 : : inline ::capnp::Orphan< ::ipc::capnp::messages::BlockTemplate> Mining::CreateNewBlockResults::Builder::disownResult() {
4584 : : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockTemplate>::disown(_builder.getPointerField(
4585 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4586 : : }
4587 : : #endif // !CAPNP_LITE
4588 : :
4589 : 0 : inline bool Mining::CheckBlockParams::Reader::hasBlock() const {
4590 [ # # ]: 0 : return !_reader.getPointerField(
4591 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4592 : : }
4593 : : inline bool Mining::CheckBlockParams::Builder::hasBlock() {
4594 : : return !_builder.getPointerField(
4595 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4596 : : }
4597 : 0 : inline ::capnp::Data::Reader Mining::CheckBlockParams::Reader::getBlock() const {
4598 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
4599 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4600 : : }
4601 : : inline ::capnp::Data::Builder Mining::CheckBlockParams::Builder::getBlock() {
4602 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
4603 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4604 : : }
4605 : : inline void Mining::CheckBlockParams::Builder::setBlock( ::capnp::Data::Reader value) {
4606 : : ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
4607 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4608 : : }
4609 : 0 : inline ::capnp::Data::Builder Mining::CheckBlockParams::Builder::initBlock(unsigned int size) {
4610 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
4611 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
4612 : : }
4613 : : inline void Mining::CheckBlockParams::Builder::adoptBlock(
4614 : : ::capnp::Orphan< ::capnp::Data>&& value) {
4615 : : ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
4616 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4617 : : }
4618 : : inline ::capnp::Orphan< ::capnp::Data> Mining::CheckBlockParams::Builder::disownBlock() {
4619 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
4620 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4621 : : }
4622 : :
4623 : : inline bool Mining::CheckBlockParams::Reader::hasOptions() const {
4624 : : return !_reader.getPointerField(
4625 : : ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
4626 : : }
4627 : : inline bool Mining::CheckBlockParams::Builder::hasOptions() {
4628 : : return !_builder.getPointerField(
4629 : : ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
4630 : : }
4631 : 0 : inline ::ipc::capnp::messages::BlockCheckOptions::Reader Mining::CheckBlockParams::Reader::getOptions() const {
4632 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockCheckOptions>::get(_reader.getPointerField(
4633 : 0 : ::capnp::bounded<1>() * ::capnp::POINTERS));
4634 : : }
4635 : : inline ::ipc::capnp::messages::BlockCheckOptions::Builder Mining::CheckBlockParams::Builder::getOptions() {
4636 : : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockCheckOptions>::get(_builder.getPointerField(
4637 : : ::capnp::bounded<1>() * ::capnp::POINTERS));
4638 : : }
4639 : : #if !CAPNP_LITE
4640 : : inline ::ipc::capnp::messages::BlockCheckOptions::Pipeline Mining::CheckBlockParams::Pipeline::getOptions() {
4641 : : return ::ipc::capnp::messages::BlockCheckOptions::Pipeline(_typeless.getPointerField(1));
4642 : : }
4643 : : #endif // !CAPNP_LITE
4644 : : inline void Mining::CheckBlockParams::Builder::setOptions( ::ipc::capnp::messages::BlockCheckOptions::Reader value) {
4645 : : ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockCheckOptions>::set(_builder.getPointerField(
4646 : : ::capnp::bounded<1>() * ::capnp::POINTERS), value);
4647 : : }
4648 : 0 : inline ::ipc::capnp::messages::BlockCheckOptions::Builder Mining::CheckBlockParams::Builder::initOptions() {
4649 : 0 : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockCheckOptions>::init(_builder.getPointerField(
4650 : 0 : ::capnp::bounded<1>() * ::capnp::POINTERS));
4651 : : }
4652 : : inline void Mining::CheckBlockParams::Builder::adoptOptions(
4653 : : ::capnp::Orphan< ::ipc::capnp::messages::BlockCheckOptions>&& value) {
4654 : : ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockCheckOptions>::adopt(_builder.getPointerField(
4655 : : ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
4656 : : }
4657 : : inline ::capnp::Orphan< ::ipc::capnp::messages::BlockCheckOptions> Mining::CheckBlockParams::Builder::disownOptions() {
4658 : : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockCheckOptions>::disown(_builder.getPointerField(
4659 : : ::capnp::bounded<1>() * ::capnp::POINTERS));
4660 : : }
4661 : :
4662 : : inline bool Mining::CheckBlockResults::Reader::hasReason() const {
4663 : : return !_reader.getPointerField(
4664 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4665 : : }
4666 : : inline bool Mining::CheckBlockResults::Builder::hasReason() {
4667 : : return !_builder.getPointerField(
4668 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4669 : : }
4670 : 0 : inline ::capnp::Text::Reader Mining::CheckBlockResults::Reader::getReason() const {
4671 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
4672 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4673 : : }
4674 : : inline ::capnp::Text::Builder Mining::CheckBlockResults::Builder::getReason() {
4675 : : return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
4676 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4677 : : }
4678 : : inline void Mining::CheckBlockResults::Builder::setReason( ::capnp::Text::Reader value) {
4679 : : ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
4680 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4681 : : }
4682 : 0 : inline ::capnp::Text::Builder Mining::CheckBlockResults::Builder::initReason(unsigned int size) {
4683 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
4684 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
4685 : : }
4686 : : inline void Mining::CheckBlockResults::Builder::adoptReason(
4687 : : ::capnp::Orphan< ::capnp::Text>&& value) {
4688 : : ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
4689 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4690 : : }
4691 : : inline ::capnp::Orphan< ::capnp::Text> Mining::CheckBlockResults::Builder::disownReason() {
4692 : : return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
4693 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4694 : : }
4695 : :
4696 : : inline bool Mining::CheckBlockResults::Reader::hasDebug() const {
4697 : : return !_reader.getPointerField(
4698 : : ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
4699 : : }
4700 : : inline bool Mining::CheckBlockResults::Builder::hasDebug() {
4701 : : return !_builder.getPointerField(
4702 : : ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
4703 : : }
4704 : 0 : inline ::capnp::Text::Reader Mining::CheckBlockResults::Reader::getDebug() const {
4705 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
4706 : 0 : ::capnp::bounded<1>() * ::capnp::POINTERS));
4707 : : }
4708 : : inline ::capnp::Text::Builder Mining::CheckBlockResults::Builder::getDebug() {
4709 : : return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
4710 : : ::capnp::bounded<1>() * ::capnp::POINTERS));
4711 : : }
4712 : : inline void Mining::CheckBlockResults::Builder::setDebug( ::capnp::Text::Reader value) {
4713 : : ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
4714 : : ::capnp::bounded<1>() * ::capnp::POINTERS), value);
4715 : : }
4716 : 0 : inline ::capnp::Text::Builder Mining::CheckBlockResults::Builder::initDebug(unsigned int size) {
4717 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
4718 : 0 : ::capnp::bounded<1>() * ::capnp::POINTERS), size);
4719 : : }
4720 : : inline void Mining::CheckBlockResults::Builder::adoptDebug(
4721 : : ::capnp::Orphan< ::capnp::Text>&& value) {
4722 : : ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
4723 : : ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
4724 : : }
4725 : : inline ::capnp::Orphan< ::capnp::Text> Mining::CheckBlockResults::Builder::disownDebug() {
4726 : : return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
4727 : : ::capnp::bounded<1>() * ::capnp::POINTERS));
4728 : : }
4729 : :
4730 : 0 : inline bool Mining::CheckBlockResults::Reader::getResult() const {
4731 [ # # ]: 0 : return _reader.getDataField<bool>(
4732 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4733 : : }
4734 : :
4735 : : inline bool Mining::CheckBlockResults::Builder::getResult() {
4736 : : return _builder.getDataField<bool>(
4737 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4738 : : }
4739 : 0 : inline void Mining::CheckBlockResults::Builder::setResult(bool value) {
4740 : 0 : _builder.setDataField<bool>(
4741 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4742 : : }
4743 : :
4744 : : #if !CAPNP_LITE
4745 : : inline BlockTemplate::Client::Client(decltype(nullptr))
4746 : : : ::capnp::Capability::Client(nullptr) {}
4747 : 0 : inline BlockTemplate::Client::Client(
4748 : : ::kj::Own< ::capnp::ClientHook>&& hook)
4749 [ # # ]: 0 : : ::capnp::Capability::Client(::kj::mv(hook)) {}
4750 : : template <typename _t, typename>
4751 : 0 : inline BlockTemplate::Client::Client(::kj::Own<_t>&& server)
4752 [ # # # # ]: 0 : : ::capnp::Capability::Client(::kj::mv(server)) {}
4753 : : template <typename _t, typename>
4754 : : inline BlockTemplate::Client::Client(::kj::Promise<_t>&& promise)
4755 : : : ::capnp::Capability::Client(::kj::mv(promise)) {}
4756 : : inline BlockTemplate::Client::Client(::kj::Exception&& exception)
4757 : : : ::capnp::Capability::Client(::kj::mv(exception)) {}
4758 : : inline ::ipc::capnp::messages::BlockTemplate::Client& BlockTemplate::Client::operator=(Client& other) {
4759 : : ::capnp::Capability::Client::operator=(other);
4760 : : return *this;
4761 : : }
4762 : : inline ::ipc::capnp::messages::BlockTemplate::Client& BlockTemplate::Client::operator=(Client&& other) {
4763 : : ::capnp::Capability::Client::operator=(kj::mv(other));
4764 : : return *this;
4765 : : }
4766 : :
4767 : : #endif // !CAPNP_LITE
4768 : : inline bool BlockTemplate::DestroyParams::Reader::hasContext() const {
4769 : : return !_reader.getPointerField(
4770 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4771 : : }
4772 : : inline bool BlockTemplate::DestroyParams::Builder::hasContext() {
4773 : : return !_builder.getPointerField(
4774 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4775 : : }
4776 : 0 : inline ::mp::Context::Reader BlockTemplate::DestroyParams::Reader::getContext() const {
4777 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
4778 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4779 : : }
4780 : : inline ::mp::Context::Builder BlockTemplate::DestroyParams::Builder::getContext() {
4781 : : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
4782 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4783 : : }
4784 : : #if !CAPNP_LITE
4785 : : inline ::mp::Context::Pipeline BlockTemplate::DestroyParams::Pipeline::getContext() {
4786 : : return ::mp::Context::Pipeline(_typeless.getPointerField(0));
4787 : : }
4788 : : #endif // !CAPNP_LITE
4789 : : inline void BlockTemplate::DestroyParams::Builder::setContext( ::mp::Context::Reader value) {
4790 : : ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
4791 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4792 : : }
4793 : 0 : inline ::mp::Context::Builder BlockTemplate::DestroyParams::Builder::initContext() {
4794 : 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
4795 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4796 : : }
4797 : : inline void BlockTemplate::DestroyParams::Builder::adoptContext(
4798 : : ::capnp::Orphan< ::mp::Context>&& value) {
4799 : : ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
4800 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4801 : : }
4802 : : inline ::capnp::Orphan< ::mp::Context> BlockTemplate::DestroyParams::Builder::disownContext() {
4803 : : return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
4804 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4805 : : }
4806 : :
4807 : : inline bool BlockTemplate::GetBlockHeaderParams::Reader::hasContext() const {
4808 : : return !_reader.getPointerField(
4809 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4810 : : }
4811 : : inline bool BlockTemplate::GetBlockHeaderParams::Builder::hasContext() {
4812 : : return !_builder.getPointerField(
4813 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4814 : : }
4815 : 0 : inline ::mp::Context::Reader BlockTemplate::GetBlockHeaderParams::Reader::getContext() const {
4816 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
4817 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4818 : : }
4819 : : inline ::mp::Context::Builder BlockTemplate::GetBlockHeaderParams::Builder::getContext() {
4820 : : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
4821 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4822 : : }
4823 : : #if !CAPNP_LITE
4824 : : inline ::mp::Context::Pipeline BlockTemplate::GetBlockHeaderParams::Pipeline::getContext() {
4825 : : return ::mp::Context::Pipeline(_typeless.getPointerField(0));
4826 : : }
4827 : : #endif // !CAPNP_LITE
4828 : : inline void BlockTemplate::GetBlockHeaderParams::Builder::setContext( ::mp::Context::Reader value) {
4829 : : ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
4830 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4831 : : }
4832 : 0 : inline ::mp::Context::Builder BlockTemplate::GetBlockHeaderParams::Builder::initContext() {
4833 : 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
4834 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4835 : : }
4836 : : inline void BlockTemplate::GetBlockHeaderParams::Builder::adoptContext(
4837 : : ::capnp::Orphan< ::mp::Context>&& value) {
4838 : : ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
4839 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4840 : : }
4841 : : inline ::capnp::Orphan< ::mp::Context> BlockTemplate::GetBlockHeaderParams::Builder::disownContext() {
4842 : : return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
4843 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4844 : : }
4845 : :
4846 : 0 : inline bool BlockTemplate::GetBlockHeaderResults::Reader::hasResult() const {
4847 [ # # ]: 0 : return !_reader.getPointerField(
4848 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4849 : : }
4850 : : inline bool BlockTemplate::GetBlockHeaderResults::Builder::hasResult() {
4851 : : return !_builder.getPointerField(
4852 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4853 : : }
4854 : 0 : inline ::capnp::Data::Reader BlockTemplate::GetBlockHeaderResults::Reader::getResult() const {
4855 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
4856 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4857 : : }
4858 : : inline ::capnp::Data::Builder BlockTemplate::GetBlockHeaderResults::Builder::getResult() {
4859 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
4860 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4861 : : }
4862 : : inline void BlockTemplate::GetBlockHeaderResults::Builder::setResult( ::capnp::Data::Reader value) {
4863 : : ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
4864 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4865 : : }
4866 : 0 : inline ::capnp::Data::Builder BlockTemplate::GetBlockHeaderResults::Builder::initResult(unsigned int size) {
4867 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
4868 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
4869 : : }
4870 : : inline void BlockTemplate::GetBlockHeaderResults::Builder::adoptResult(
4871 : : ::capnp::Orphan< ::capnp::Data>&& value) {
4872 : : ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
4873 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4874 : : }
4875 : : inline ::capnp::Orphan< ::capnp::Data> BlockTemplate::GetBlockHeaderResults::Builder::disownResult() {
4876 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
4877 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4878 : : }
4879 : :
4880 : : inline bool BlockTemplate::GetBlockParams::Reader::hasContext() const {
4881 : : return !_reader.getPointerField(
4882 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4883 : : }
4884 : : inline bool BlockTemplate::GetBlockParams::Builder::hasContext() {
4885 : : return !_builder.getPointerField(
4886 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4887 : : }
4888 : 0 : inline ::mp::Context::Reader BlockTemplate::GetBlockParams::Reader::getContext() const {
4889 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
4890 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4891 : : }
4892 : : inline ::mp::Context::Builder BlockTemplate::GetBlockParams::Builder::getContext() {
4893 : : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
4894 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4895 : : }
4896 : : #if !CAPNP_LITE
4897 : : inline ::mp::Context::Pipeline BlockTemplate::GetBlockParams::Pipeline::getContext() {
4898 : : return ::mp::Context::Pipeline(_typeless.getPointerField(0));
4899 : : }
4900 : : #endif // !CAPNP_LITE
4901 : : inline void BlockTemplate::GetBlockParams::Builder::setContext( ::mp::Context::Reader value) {
4902 : : ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
4903 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4904 : : }
4905 : 0 : inline ::mp::Context::Builder BlockTemplate::GetBlockParams::Builder::initContext() {
4906 : 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
4907 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4908 : : }
4909 : : inline void BlockTemplate::GetBlockParams::Builder::adoptContext(
4910 : : ::capnp::Orphan< ::mp::Context>&& value) {
4911 : : ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
4912 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4913 : : }
4914 : : inline ::capnp::Orphan< ::mp::Context> BlockTemplate::GetBlockParams::Builder::disownContext() {
4915 : : return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
4916 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4917 : : }
4918 : :
4919 : 0 : inline bool BlockTemplate::GetBlockResults::Reader::hasResult() const {
4920 [ # # ]: 0 : return !_reader.getPointerField(
4921 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4922 : : }
4923 : : inline bool BlockTemplate::GetBlockResults::Builder::hasResult() {
4924 : : return !_builder.getPointerField(
4925 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4926 : : }
4927 : 0 : inline ::capnp::Data::Reader BlockTemplate::GetBlockResults::Reader::getResult() const {
4928 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
4929 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4930 : : }
4931 : : inline ::capnp::Data::Builder BlockTemplate::GetBlockResults::Builder::getResult() {
4932 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
4933 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4934 : : }
4935 : : inline void BlockTemplate::GetBlockResults::Builder::setResult( ::capnp::Data::Reader value) {
4936 : : ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
4937 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4938 : : }
4939 : 0 : inline ::capnp::Data::Builder BlockTemplate::GetBlockResults::Builder::initResult(unsigned int size) {
4940 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
4941 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
4942 : : }
4943 : : inline void BlockTemplate::GetBlockResults::Builder::adoptResult(
4944 : : ::capnp::Orphan< ::capnp::Data>&& value) {
4945 : : ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
4946 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4947 : : }
4948 : : inline ::capnp::Orphan< ::capnp::Data> BlockTemplate::GetBlockResults::Builder::disownResult() {
4949 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
4950 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4951 : : }
4952 : :
4953 : : inline bool BlockTemplate::GetTxFeesParams::Reader::hasContext() const {
4954 : : return !_reader.getPointerField(
4955 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4956 : : }
4957 : : inline bool BlockTemplate::GetTxFeesParams::Builder::hasContext() {
4958 : : return !_builder.getPointerField(
4959 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4960 : : }
4961 : 0 : inline ::mp::Context::Reader BlockTemplate::GetTxFeesParams::Reader::getContext() const {
4962 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
4963 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4964 : : }
4965 : : inline ::mp::Context::Builder BlockTemplate::GetTxFeesParams::Builder::getContext() {
4966 : : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
4967 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4968 : : }
4969 : : #if !CAPNP_LITE
4970 : : inline ::mp::Context::Pipeline BlockTemplate::GetTxFeesParams::Pipeline::getContext() {
4971 : : return ::mp::Context::Pipeline(_typeless.getPointerField(0));
4972 : : }
4973 : : #endif // !CAPNP_LITE
4974 : : inline void BlockTemplate::GetTxFeesParams::Builder::setContext( ::mp::Context::Reader value) {
4975 : : ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
4976 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4977 : : }
4978 : 0 : inline ::mp::Context::Builder BlockTemplate::GetTxFeesParams::Builder::initContext() {
4979 : 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
4980 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
4981 : : }
4982 : : inline void BlockTemplate::GetTxFeesParams::Builder::adoptContext(
4983 : : ::capnp::Orphan< ::mp::Context>&& value) {
4984 : : ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
4985 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4986 : : }
4987 : : inline ::capnp::Orphan< ::mp::Context> BlockTemplate::GetTxFeesParams::Builder::disownContext() {
4988 : : return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
4989 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
4990 : : }
4991 : :
4992 : : inline bool BlockTemplate::GetTxFeesResults::Reader::hasResult() const {
4993 : : return !_reader.getPointerField(
4994 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4995 : : }
4996 : : inline bool BlockTemplate::GetTxFeesResults::Builder::hasResult() {
4997 : : return !_builder.getPointerField(
4998 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4999 : : }
5000 : 0 : inline ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>::Reader BlockTemplate::GetTxFeesResults::Reader::getResult() const {
5001 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>::get(_reader.getPointerField(
5002 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5003 : : }
5004 : : inline ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>::Builder BlockTemplate::GetTxFeesResults::Builder::getResult() {
5005 : : return ::capnp::_::PointerHelpers< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>::get(_builder.getPointerField(
5006 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5007 : : }
5008 : : inline void BlockTemplate::GetTxFeesResults::Builder::setResult( ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>::Reader value) {
5009 : : ::capnp::_::PointerHelpers< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>::set(_builder.getPointerField(
5010 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5011 : : }
5012 : : inline void BlockTemplate::GetTxFeesResults::Builder::setResult(::kj::ArrayPtr<const ::int64_t> value) {
5013 : : ::capnp::_::PointerHelpers< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>::set(_builder.getPointerField(
5014 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5015 : : }
5016 : 0 : inline ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>::Builder BlockTemplate::GetTxFeesResults::Builder::initResult(unsigned int size) {
5017 : 0 : return ::capnp::_::PointerHelpers< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>::init(_builder.getPointerField(
5018 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
5019 : : }
5020 : : inline void BlockTemplate::GetTxFeesResults::Builder::adoptResult(
5021 : : ::capnp::Orphan< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>&& value) {
5022 : : ::capnp::_::PointerHelpers< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>::adopt(_builder.getPointerField(
5023 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5024 : : }
5025 : : inline ::capnp::Orphan< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>> BlockTemplate::GetTxFeesResults::Builder::disownResult() {
5026 : : return ::capnp::_::PointerHelpers< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>::disown(_builder.getPointerField(
5027 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5028 : : }
5029 : :
5030 : : inline bool BlockTemplate::GetTxSigopsParams::Reader::hasContext() const {
5031 : : return !_reader.getPointerField(
5032 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5033 : : }
5034 : : inline bool BlockTemplate::GetTxSigopsParams::Builder::hasContext() {
5035 : : return !_builder.getPointerField(
5036 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5037 : : }
5038 : 0 : inline ::mp::Context::Reader BlockTemplate::GetTxSigopsParams::Reader::getContext() const {
5039 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
5040 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5041 : : }
5042 : : inline ::mp::Context::Builder BlockTemplate::GetTxSigopsParams::Builder::getContext() {
5043 : : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
5044 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5045 : : }
5046 : : #if !CAPNP_LITE
5047 : : inline ::mp::Context::Pipeline BlockTemplate::GetTxSigopsParams::Pipeline::getContext() {
5048 : : return ::mp::Context::Pipeline(_typeless.getPointerField(0));
5049 : : }
5050 : : #endif // !CAPNP_LITE
5051 : : inline void BlockTemplate::GetTxSigopsParams::Builder::setContext( ::mp::Context::Reader value) {
5052 : : ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
5053 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5054 : : }
5055 : 0 : inline ::mp::Context::Builder BlockTemplate::GetTxSigopsParams::Builder::initContext() {
5056 : 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
5057 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5058 : : }
5059 : : inline void BlockTemplate::GetTxSigopsParams::Builder::adoptContext(
5060 : : ::capnp::Orphan< ::mp::Context>&& value) {
5061 : : ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
5062 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5063 : : }
5064 : : inline ::capnp::Orphan< ::mp::Context> BlockTemplate::GetTxSigopsParams::Builder::disownContext() {
5065 : : return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
5066 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5067 : : }
5068 : :
5069 : : inline bool BlockTemplate::GetTxSigopsResults::Reader::hasResult() const {
5070 : : return !_reader.getPointerField(
5071 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5072 : : }
5073 : : inline bool BlockTemplate::GetTxSigopsResults::Builder::hasResult() {
5074 : : return !_builder.getPointerField(
5075 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5076 : : }
5077 : 0 : inline ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>::Reader BlockTemplate::GetTxSigopsResults::Reader::getResult() const {
5078 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>::get(_reader.getPointerField(
5079 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5080 : : }
5081 : : inline ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>::Builder BlockTemplate::GetTxSigopsResults::Builder::getResult() {
5082 : : return ::capnp::_::PointerHelpers< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>::get(_builder.getPointerField(
5083 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5084 : : }
5085 : : inline void BlockTemplate::GetTxSigopsResults::Builder::setResult( ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>::Reader value) {
5086 : : ::capnp::_::PointerHelpers< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>::set(_builder.getPointerField(
5087 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5088 : : }
5089 : : inline void BlockTemplate::GetTxSigopsResults::Builder::setResult(::kj::ArrayPtr<const ::int64_t> value) {
5090 : : ::capnp::_::PointerHelpers< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>::set(_builder.getPointerField(
5091 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5092 : : }
5093 : 0 : inline ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>::Builder BlockTemplate::GetTxSigopsResults::Builder::initResult(unsigned int size) {
5094 : 0 : return ::capnp::_::PointerHelpers< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>::init(_builder.getPointerField(
5095 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
5096 : : }
5097 : : inline void BlockTemplate::GetTxSigopsResults::Builder::adoptResult(
5098 : : ::capnp::Orphan< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>&& value) {
5099 : : ::capnp::_::PointerHelpers< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>::adopt(_builder.getPointerField(
5100 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5101 : : }
5102 : : inline ::capnp::Orphan< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>> BlockTemplate::GetTxSigopsResults::Builder::disownResult() {
5103 : : return ::capnp::_::PointerHelpers< ::capnp::List< ::int64_t, ::capnp::Kind::PRIMITIVE>>::disown(_builder.getPointerField(
5104 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5105 : : }
5106 : :
5107 : : inline bool BlockTemplate::GetCoinbaseTxParams::Reader::hasContext() const {
5108 : : return !_reader.getPointerField(
5109 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5110 : : }
5111 : : inline bool BlockTemplate::GetCoinbaseTxParams::Builder::hasContext() {
5112 : : return !_builder.getPointerField(
5113 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5114 : : }
5115 : 0 : inline ::mp::Context::Reader BlockTemplate::GetCoinbaseTxParams::Reader::getContext() const {
5116 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
5117 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5118 : : }
5119 : : inline ::mp::Context::Builder BlockTemplate::GetCoinbaseTxParams::Builder::getContext() {
5120 : : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
5121 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5122 : : }
5123 : : #if !CAPNP_LITE
5124 : : inline ::mp::Context::Pipeline BlockTemplate::GetCoinbaseTxParams::Pipeline::getContext() {
5125 : : return ::mp::Context::Pipeline(_typeless.getPointerField(0));
5126 : : }
5127 : : #endif // !CAPNP_LITE
5128 : : inline void BlockTemplate::GetCoinbaseTxParams::Builder::setContext( ::mp::Context::Reader value) {
5129 : : ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
5130 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5131 : : }
5132 : 0 : inline ::mp::Context::Builder BlockTemplate::GetCoinbaseTxParams::Builder::initContext() {
5133 : 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
5134 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5135 : : }
5136 : : inline void BlockTemplate::GetCoinbaseTxParams::Builder::adoptContext(
5137 : : ::capnp::Orphan< ::mp::Context>&& value) {
5138 : : ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
5139 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5140 : : }
5141 : : inline ::capnp::Orphan< ::mp::Context> BlockTemplate::GetCoinbaseTxParams::Builder::disownContext() {
5142 : : return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
5143 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5144 : : }
5145 : :
5146 : 0 : inline bool BlockTemplate::GetCoinbaseTxResults::Reader::hasResult() const {
5147 [ # # ]: 0 : return !_reader.getPointerField(
5148 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5149 : : }
5150 : : inline bool BlockTemplate::GetCoinbaseTxResults::Builder::hasResult() {
5151 : : return !_builder.getPointerField(
5152 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5153 : : }
5154 : 0 : inline ::capnp::Data::Reader BlockTemplate::GetCoinbaseTxResults::Reader::getResult() const {
5155 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
5156 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5157 : : }
5158 : : inline ::capnp::Data::Builder BlockTemplate::GetCoinbaseTxResults::Builder::getResult() {
5159 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
5160 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5161 : : }
5162 : : inline void BlockTemplate::GetCoinbaseTxResults::Builder::setResult( ::capnp::Data::Reader value) {
5163 : : ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
5164 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5165 : : }
5166 : 0 : inline ::capnp::Data::Builder BlockTemplate::GetCoinbaseTxResults::Builder::initResult(unsigned int size) {
5167 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
5168 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
5169 : : }
5170 : : inline void BlockTemplate::GetCoinbaseTxResults::Builder::adoptResult(
5171 : : ::capnp::Orphan< ::capnp::Data>&& value) {
5172 : : ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
5173 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5174 : : }
5175 : : inline ::capnp::Orphan< ::capnp::Data> BlockTemplate::GetCoinbaseTxResults::Builder::disownResult() {
5176 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
5177 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5178 : : }
5179 : :
5180 : : inline bool BlockTemplate::GetCoinbaseCommitmentParams::Reader::hasContext() const {
5181 : : return !_reader.getPointerField(
5182 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5183 : : }
5184 : : inline bool BlockTemplate::GetCoinbaseCommitmentParams::Builder::hasContext() {
5185 : : return !_builder.getPointerField(
5186 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5187 : : }
5188 : 0 : inline ::mp::Context::Reader BlockTemplate::GetCoinbaseCommitmentParams::Reader::getContext() const {
5189 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
5190 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5191 : : }
5192 : : inline ::mp::Context::Builder BlockTemplate::GetCoinbaseCommitmentParams::Builder::getContext() {
5193 : : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
5194 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5195 : : }
5196 : : #if !CAPNP_LITE
5197 : : inline ::mp::Context::Pipeline BlockTemplate::GetCoinbaseCommitmentParams::Pipeline::getContext() {
5198 : : return ::mp::Context::Pipeline(_typeless.getPointerField(0));
5199 : : }
5200 : : #endif // !CAPNP_LITE
5201 : : inline void BlockTemplate::GetCoinbaseCommitmentParams::Builder::setContext( ::mp::Context::Reader value) {
5202 : : ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
5203 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5204 : : }
5205 : 0 : inline ::mp::Context::Builder BlockTemplate::GetCoinbaseCommitmentParams::Builder::initContext() {
5206 : 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
5207 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5208 : : }
5209 : : inline void BlockTemplate::GetCoinbaseCommitmentParams::Builder::adoptContext(
5210 : : ::capnp::Orphan< ::mp::Context>&& value) {
5211 : : ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
5212 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5213 : : }
5214 : : inline ::capnp::Orphan< ::mp::Context> BlockTemplate::GetCoinbaseCommitmentParams::Builder::disownContext() {
5215 : : return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
5216 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5217 : : }
5218 : :
5219 : : inline bool BlockTemplate::GetCoinbaseCommitmentResults::Reader::hasResult() const {
5220 : : return !_reader.getPointerField(
5221 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5222 : : }
5223 : : inline bool BlockTemplate::GetCoinbaseCommitmentResults::Builder::hasResult() {
5224 : : return !_builder.getPointerField(
5225 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5226 : : }
5227 : 0 : inline ::capnp::Data::Reader BlockTemplate::GetCoinbaseCommitmentResults::Reader::getResult() const {
5228 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
5229 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5230 : : }
5231 : : inline ::capnp::Data::Builder BlockTemplate::GetCoinbaseCommitmentResults::Builder::getResult() {
5232 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
5233 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5234 : : }
5235 : : inline void BlockTemplate::GetCoinbaseCommitmentResults::Builder::setResult( ::capnp::Data::Reader value) {
5236 : : ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
5237 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5238 : : }
5239 : 0 : inline ::capnp::Data::Builder BlockTemplate::GetCoinbaseCommitmentResults::Builder::initResult(unsigned int size) {
5240 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
5241 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
5242 : : }
5243 : : inline void BlockTemplate::GetCoinbaseCommitmentResults::Builder::adoptResult(
5244 : : ::capnp::Orphan< ::capnp::Data>&& value) {
5245 : : ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
5246 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5247 : : }
5248 : : inline ::capnp::Orphan< ::capnp::Data> BlockTemplate::GetCoinbaseCommitmentResults::Builder::disownResult() {
5249 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
5250 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5251 : : }
5252 : :
5253 : : inline bool BlockTemplate::GetWitnessCommitmentIndexParams::Reader::hasContext() const {
5254 : : return !_reader.getPointerField(
5255 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5256 : : }
5257 : : inline bool BlockTemplate::GetWitnessCommitmentIndexParams::Builder::hasContext() {
5258 : : return !_builder.getPointerField(
5259 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5260 : : }
5261 : 0 : inline ::mp::Context::Reader BlockTemplate::GetWitnessCommitmentIndexParams::Reader::getContext() const {
5262 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
5263 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5264 : : }
5265 : : inline ::mp::Context::Builder BlockTemplate::GetWitnessCommitmentIndexParams::Builder::getContext() {
5266 : : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
5267 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5268 : : }
5269 : : #if !CAPNP_LITE
5270 : : inline ::mp::Context::Pipeline BlockTemplate::GetWitnessCommitmentIndexParams::Pipeline::getContext() {
5271 : : return ::mp::Context::Pipeline(_typeless.getPointerField(0));
5272 : : }
5273 : : #endif // !CAPNP_LITE
5274 : : inline void BlockTemplate::GetWitnessCommitmentIndexParams::Builder::setContext( ::mp::Context::Reader value) {
5275 : : ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
5276 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5277 : : }
5278 : 0 : inline ::mp::Context::Builder BlockTemplate::GetWitnessCommitmentIndexParams::Builder::initContext() {
5279 : 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
5280 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5281 : : }
5282 : : inline void BlockTemplate::GetWitnessCommitmentIndexParams::Builder::adoptContext(
5283 : : ::capnp::Orphan< ::mp::Context>&& value) {
5284 : : ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
5285 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5286 : : }
5287 : : inline ::capnp::Orphan< ::mp::Context> BlockTemplate::GetWitnessCommitmentIndexParams::Builder::disownContext() {
5288 : : return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
5289 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5290 : : }
5291 : :
5292 : 0 : inline ::int32_t BlockTemplate::GetWitnessCommitmentIndexResults::Reader::getResult() const {
5293 [ # # ]: 0 : return _reader.getDataField< ::int32_t>(
5294 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5295 : : }
5296 : :
5297 : : inline ::int32_t BlockTemplate::GetWitnessCommitmentIndexResults::Builder::getResult() {
5298 : : return _builder.getDataField< ::int32_t>(
5299 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5300 : : }
5301 : 0 : inline void BlockTemplate::GetWitnessCommitmentIndexResults::Builder::setResult( ::int32_t value) {
5302 : 0 : _builder.setDataField< ::int32_t>(
5303 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5304 : : }
5305 : :
5306 : : inline bool BlockTemplate::GetCoinbaseMerklePathParams::Reader::hasContext() const {
5307 : : return !_reader.getPointerField(
5308 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5309 : : }
5310 : : inline bool BlockTemplate::GetCoinbaseMerklePathParams::Builder::hasContext() {
5311 : : return !_builder.getPointerField(
5312 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5313 : : }
5314 : 0 : inline ::mp::Context::Reader BlockTemplate::GetCoinbaseMerklePathParams::Reader::getContext() const {
5315 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
5316 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5317 : : }
5318 : : inline ::mp::Context::Builder BlockTemplate::GetCoinbaseMerklePathParams::Builder::getContext() {
5319 : : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
5320 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5321 : : }
5322 : : #if !CAPNP_LITE
5323 : : inline ::mp::Context::Pipeline BlockTemplate::GetCoinbaseMerklePathParams::Pipeline::getContext() {
5324 : : return ::mp::Context::Pipeline(_typeless.getPointerField(0));
5325 : : }
5326 : : #endif // !CAPNP_LITE
5327 : : inline void BlockTemplate::GetCoinbaseMerklePathParams::Builder::setContext( ::mp::Context::Reader value) {
5328 : : ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
5329 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5330 : : }
5331 : 0 : inline ::mp::Context::Builder BlockTemplate::GetCoinbaseMerklePathParams::Builder::initContext() {
5332 : 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
5333 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5334 : : }
5335 : : inline void BlockTemplate::GetCoinbaseMerklePathParams::Builder::adoptContext(
5336 : : ::capnp::Orphan< ::mp::Context>&& value) {
5337 : : ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
5338 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5339 : : }
5340 : : inline ::capnp::Orphan< ::mp::Context> BlockTemplate::GetCoinbaseMerklePathParams::Builder::disownContext() {
5341 : : return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
5342 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5343 : : }
5344 : :
5345 : : inline bool BlockTemplate::GetCoinbaseMerklePathResults::Reader::hasResult() const {
5346 : : return !_reader.getPointerField(
5347 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5348 : : }
5349 : : inline bool BlockTemplate::GetCoinbaseMerklePathResults::Builder::hasResult() {
5350 : : return !_builder.getPointerField(
5351 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5352 : : }
5353 : 0 : inline ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>::Reader BlockTemplate::GetCoinbaseMerklePathResults::Reader::getResult() const {
5354 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>>::get(_reader.getPointerField(
5355 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5356 : : }
5357 : : inline ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>::Builder BlockTemplate::GetCoinbaseMerklePathResults::Builder::getResult() {
5358 : : return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>>::get(_builder.getPointerField(
5359 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5360 : : }
5361 : : inline void BlockTemplate::GetCoinbaseMerklePathResults::Builder::setResult( ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>::Reader value) {
5362 : : ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>>::set(_builder.getPointerField(
5363 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5364 : : }
5365 : : inline void BlockTemplate::GetCoinbaseMerklePathResults::Builder::setResult(::kj::ArrayPtr<const ::capnp::Data::Reader> value) {
5366 : : ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>>::set(_builder.getPointerField(
5367 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5368 : : }
5369 : 0 : inline ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>::Builder BlockTemplate::GetCoinbaseMerklePathResults::Builder::initResult(unsigned int size) {
5370 : 0 : return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>>::init(_builder.getPointerField(
5371 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
5372 : : }
5373 : : inline void BlockTemplate::GetCoinbaseMerklePathResults::Builder::adoptResult(
5374 : : ::capnp::Orphan< ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>>&& value) {
5375 : : ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>>::adopt(_builder.getPointerField(
5376 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5377 : : }
5378 : : inline ::capnp::Orphan< ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>> BlockTemplate::GetCoinbaseMerklePathResults::Builder::disownResult() {
5379 : : return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Data, ::capnp::Kind::BLOB>>::disown(_builder.getPointerField(
5380 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5381 : : }
5382 : :
5383 : : inline bool BlockTemplate::SubmitSolutionParams::Reader::hasContext() const {
5384 : : return !_reader.getPointerField(
5385 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5386 : : }
5387 : : inline bool BlockTemplate::SubmitSolutionParams::Builder::hasContext() {
5388 : : return !_builder.getPointerField(
5389 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5390 : : }
5391 : 0 : inline ::mp::Context::Reader BlockTemplate::SubmitSolutionParams::Reader::getContext() const {
5392 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
5393 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5394 : : }
5395 : : inline ::mp::Context::Builder BlockTemplate::SubmitSolutionParams::Builder::getContext() {
5396 : : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
5397 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5398 : : }
5399 : : #if !CAPNP_LITE
5400 : : inline ::mp::Context::Pipeline BlockTemplate::SubmitSolutionParams::Pipeline::getContext() {
5401 : : return ::mp::Context::Pipeline(_typeless.getPointerField(0));
5402 : : }
5403 : : #endif // !CAPNP_LITE
5404 : : inline void BlockTemplate::SubmitSolutionParams::Builder::setContext( ::mp::Context::Reader value) {
5405 : : ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
5406 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5407 : : }
5408 : 0 : inline ::mp::Context::Builder BlockTemplate::SubmitSolutionParams::Builder::initContext() {
5409 : 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
5410 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5411 : : }
5412 : : inline void BlockTemplate::SubmitSolutionParams::Builder::adoptContext(
5413 : : ::capnp::Orphan< ::mp::Context>&& value) {
5414 : : ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
5415 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5416 : : }
5417 : : inline ::capnp::Orphan< ::mp::Context> BlockTemplate::SubmitSolutionParams::Builder::disownContext() {
5418 : : return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
5419 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5420 : : }
5421 : :
5422 : 0 : inline ::uint32_t BlockTemplate::SubmitSolutionParams::Reader::getVersion() const {
5423 [ # # # # ]: 0 : return _reader.getDataField< ::uint32_t>(
5424 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5425 : : }
5426 : :
5427 : : inline ::uint32_t BlockTemplate::SubmitSolutionParams::Builder::getVersion() {
5428 : : return _builder.getDataField< ::uint32_t>(
5429 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5430 : : }
5431 : 0 : inline void BlockTemplate::SubmitSolutionParams::Builder::setVersion( ::uint32_t value) {
5432 : 0 : _builder.setDataField< ::uint32_t>(
5433 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5434 : : }
5435 : :
5436 : 0 : inline ::uint32_t BlockTemplate::SubmitSolutionParams::Reader::getTimestamp() const {
5437 [ # # # # ]: 0 : return _reader.getDataField< ::uint32_t>(
5438 : : ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5439 : : }
5440 : :
5441 : : inline ::uint32_t BlockTemplate::SubmitSolutionParams::Builder::getTimestamp() {
5442 : : return _builder.getDataField< ::uint32_t>(
5443 : : ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5444 : : }
5445 : 0 : inline void BlockTemplate::SubmitSolutionParams::Builder::setTimestamp( ::uint32_t value) {
5446 : 0 : _builder.setDataField< ::uint32_t>(
5447 : : ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
5448 : : }
5449 : :
5450 : 0 : inline ::uint32_t BlockTemplate::SubmitSolutionParams::Reader::getNonce() const {
5451 [ # # # # ]: 0 : return _reader.getDataField< ::uint32_t>(
5452 : : ::capnp::bounded<2>() * ::capnp::ELEMENTS);
5453 : : }
5454 : :
5455 : : inline ::uint32_t BlockTemplate::SubmitSolutionParams::Builder::getNonce() {
5456 : : return _builder.getDataField< ::uint32_t>(
5457 : : ::capnp::bounded<2>() * ::capnp::ELEMENTS);
5458 : : }
5459 : 0 : inline void BlockTemplate::SubmitSolutionParams::Builder::setNonce( ::uint32_t value) {
5460 : 0 : _builder.setDataField< ::uint32_t>(
5461 : : ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
5462 : : }
5463 : :
5464 : 0 : inline bool BlockTemplate::SubmitSolutionParams::Reader::hasCoinbase() const {
5465 [ # # ]: 0 : return !_reader.getPointerField(
5466 : 0 : ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
5467 : : }
5468 : : inline bool BlockTemplate::SubmitSolutionParams::Builder::hasCoinbase() {
5469 : : return !_builder.getPointerField(
5470 : : ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
5471 : : }
5472 : 0 : inline ::capnp::Data::Reader BlockTemplate::SubmitSolutionParams::Reader::getCoinbase() const {
5473 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
5474 : 0 : ::capnp::bounded<1>() * ::capnp::POINTERS));
5475 : : }
5476 : : inline ::capnp::Data::Builder BlockTemplate::SubmitSolutionParams::Builder::getCoinbase() {
5477 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
5478 : : ::capnp::bounded<1>() * ::capnp::POINTERS));
5479 : : }
5480 : : inline void BlockTemplate::SubmitSolutionParams::Builder::setCoinbase( ::capnp::Data::Reader value) {
5481 : : ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
5482 : : ::capnp::bounded<1>() * ::capnp::POINTERS), value);
5483 : : }
5484 : 0 : inline ::capnp::Data::Builder BlockTemplate::SubmitSolutionParams::Builder::initCoinbase(unsigned int size) {
5485 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
5486 : 0 : ::capnp::bounded<1>() * ::capnp::POINTERS), size);
5487 : : }
5488 : : inline void BlockTemplate::SubmitSolutionParams::Builder::adoptCoinbase(
5489 : : ::capnp::Orphan< ::capnp::Data>&& value) {
5490 : : ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
5491 : : ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
5492 : : }
5493 : : inline ::capnp::Orphan< ::capnp::Data> BlockTemplate::SubmitSolutionParams::Builder::disownCoinbase() {
5494 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
5495 : : ::capnp::bounded<1>() * ::capnp::POINTERS));
5496 : : }
5497 : :
5498 : 0 : inline bool BlockTemplate::SubmitSolutionResults::Reader::getResult() const {
5499 [ # # ]: 0 : return _reader.getDataField<bool>(
5500 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5501 : : }
5502 : :
5503 : : inline bool BlockTemplate::SubmitSolutionResults::Builder::getResult() {
5504 : : return _builder.getDataField<bool>(
5505 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5506 : : }
5507 : 0 : inline void BlockTemplate::SubmitSolutionResults::Builder::setResult(bool value) {
5508 : 0 : _builder.setDataField<bool>(
5509 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5510 : : }
5511 : :
5512 : : inline bool BlockTemplate::WaitNextParams::Reader::hasContext() const {
5513 : : return !_reader.getPointerField(
5514 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5515 : : }
5516 : : inline bool BlockTemplate::WaitNextParams::Builder::hasContext() {
5517 : : return !_builder.getPointerField(
5518 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5519 : : }
5520 : 0 : inline ::mp::Context::Reader BlockTemplate::WaitNextParams::Reader::getContext() const {
5521 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
5522 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5523 : : }
5524 : : inline ::mp::Context::Builder BlockTemplate::WaitNextParams::Builder::getContext() {
5525 : : return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
5526 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5527 : : }
5528 : : #if !CAPNP_LITE
5529 : : inline ::mp::Context::Pipeline BlockTemplate::WaitNextParams::Pipeline::getContext() {
5530 : : return ::mp::Context::Pipeline(_typeless.getPointerField(0));
5531 : : }
5532 : : #endif // !CAPNP_LITE
5533 : : inline void BlockTemplate::WaitNextParams::Builder::setContext( ::mp::Context::Reader value) {
5534 : : ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
5535 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5536 : : }
5537 : 0 : inline ::mp::Context::Builder BlockTemplate::WaitNextParams::Builder::initContext() {
5538 : 0 : return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
5539 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5540 : : }
5541 : : inline void BlockTemplate::WaitNextParams::Builder::adoptContext(
5542 : : ::capnp::Orphan< ::mp::Context>&& value) {
5543 : : ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
5544 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5545 : : }
5546 : : inline ::capnp::Orphan< ::mp::Context> BlockTemplate::WaitNextParams::Builder::disownContext() {
5547 : : return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
5548 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5549 : : }
5550 : :
5551 : : inline bool BlockTemplate::WaitNextParams::Reader::hasOptions() const {
5552 : : return !_reader.getPointerField(
5553 : : ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
5554 : : }
5555 : : inline bool BlockTemplate::WaitNextParams::Builder::hasOptions() {
5556 : : return !_builder.getPointerField(
5557 : : ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
5558 : : }
5559 : 0 : inline ::ipc::capnp::messages::BlockWaitOptions::Reader BlockTemplate::WaitNextParams::Reader::getOptions() const {
5560 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockWaitOptions>::get(_reader.getPointerField(
5561 : 0 : ::capnp::bounded<1>() * ::capnp::POINTERS));
5562 : : }
5563 : : inline ::ipc::capnp::messages::BlockWaitOptions::Builder BlockTemplate::WaitNextParams::Builder::getOptions() {
5564 : : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockWaitOptions>::get(_builder.getPointerField(
5565 : : ::capnp::bounded<1>() * ::capnp::POINTERS));
5566 : : }
5567 : : #if !CAPNP_LITE
5568 : : inline ::ipc::capnp::messages::BlockWaitOptions::Pipeline BlockTemplate::WaitNextParams::Pipeline::getOptions() {
5569 : : return ::ipc::capnp::messages::BlockWaitOptions::Pipeline(_typeless.getPointerField(1));
5570 : : }
5571 : : #endif // !CAPNP_LITE
5572 : : inline void BlockTemplate::WaitNextParams::Builder::setOptions( ::ipc::capnp::messages::BlockWaitOptions::Reader value) {
5573 : : ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockWaitOptions>::set(_builder.getPointerField(
5574 : : ::capnp::bounded<1>() * ::capnp::POINTERS), value);
5575 : : }
5576 : 0 : inline ::ipc::capnp::messages::BlockWaitOptions::Builder BlockTemplate::WaitNextParams::Builder::initOptions() {
5577 : 0 : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockWaitOptions>::init(_builder.getPointerField(
5578 : 0 : ::capnp::bounded<1>() * ::capnp::POINTERS));
5579 : : }
5580 : : inline void BlockTemplate::WaitNextParams::Builder::adoptOptions(
5581 : : ::capnp::Orphan< ::ipc::capnp::messages::BlockWaitOptions>&& value) {
5582 : : ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockWaitOptions>::adopt(_builder.getPointerField(
5583 : : ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
5584 : : }
5585 : : inline ::capnp::Orphan< ::ipc::capnp::messages::BlockWaitOptions> BlockTemplate::WaitNextParams::Builder::disownOptions() {
5586 : : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockWaitOptions>::disown(_builder.getPointerField(
5587 : : ::capnp::bounded<1>() * ::capnp::POINTERS));
5588 : : }
5589 : :
5590 : 0 : inline bool BlockTemplate::WaitNextResults::Reader::hasResult() const {
5591 [ # # ]: 0 : return !_reader.getPointerField(
5592 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5593 : : }
5594 : : inline bool BlockTemplate::WaitNextResults::Builder::hasResult() {
5595 : : return !_builder.getPointerField(
5596 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5597 : : }
5598 : : #if !CAPNP_LITE
5599 : 0 : inline ::ipc::capnp::messages::BlockTemplate::Client BlockTemplate::WaitNextResults::Reader::getResult() const {
5600 : 0 : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockTemplate>::get(_reader.getPointerField(
5601 [ # # ]: 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
5602 : : }
5603 : : inline ::ipc::capnp::messages::BlockTemplate::Client BlockTemplate::WaitNextResults::Builder::getResult() {
5604 : : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockTemplate>::get(_builder.getPointerField(
5605 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5606 : : }
5607 : : inline ::ipc::capnp::messages::BlockTemplate::Client BlockTemplate::WaitNextResults::Pipeline::getResult() {
5608 : : return ::ipc::capnp::messages::BlockTemplate::Client(_typeless.getPointerField(0).asCap());
5609 : : }
5610 : 0 : inline void BlockTemplate::WaitNextResults::Builder::setResult( ::ipc::capnp::messages::BlockTemplate::Client&& cap) {
5611 : 0 : ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockTemplate>::set(_builder.getPointerField(
5612 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(cap));
5613 : 0 : }
5614 : : inline void BlockTemplate::WaitNextResults::Builder::setResult( ::ipc::capnp::messages::BlockTemplate::Client& cap) {
5615 : : ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockTemplate>::set(_builder.getPointerField(
5616 : : ::capnp::bounded<0>() * ::capnp::POINTERS), cap);
5617 : : }
5618 : : inline void BlockTemplate::WaitNextResults::Builder::adoptResult(
5619 : : ::capnp::Orphan< ::ipc::capnp::messages::BlockTemplate>&& value) {
5620 : : ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockTemplate>::adopt(_builder.getPointerField(
5621 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5622 : : }
5623 : : inline ::capnp::Orphan< ::ipc::capnp::messages::BlockTemplate> BlockTemplate::WaitNextResults::Builder::disownResult() {
5624 : : return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::BlockTemplate>::disown(_builder.getPointerField(
5625 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
5626 : : }
5627 : : #endif // !CAPNP_LITE
5628 : :
5629 : 0 : inline bool BlockCreateOptions::Reader::getUseMempool() const {
5630 [ # # ]: 0 : return _reader.getDataField<bool>(
5631 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5632 : : }
5633 : :
5634 : : inline bool BlockCreateOptions::Builder::getUseMempool() {
5635 : : return _builder.getDataField<bool>(
5636 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5637 : : }
5638 : 0 : inline void BlockCreateOptions::Builder::setUseMempool(bool value) {
5639 : 0 : _builder.setDataField<bool>(
5640 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5641 : : }
5642 : :
5643 : 0 : inline ::uint64_t BlockCreateOptions::Reader::getBlockReservedWeight() const {
5644 [ # # ]: 0 : return _reader.getDataField< ::uint64_t>(
5645 : : ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5646 : : }
5647 : :
5648 : : inline ::uint64_t BlockCreateOptions::Builder::getBlockReservedWeight() {
5649 : : return _builder.getDataField< ::uint64_t>(
5650 : : ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5651 : : }
5652 : 0 : inline void BlockCreateOptions::Builder::setBlockReservedWeight( ::uint64_t value) {
5653 : 0 : _builder.setDataField< ::uint64_t>(
5654 : : ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
5655 : : }
5656 : :
5657 : 0 : inline ::uint64_t BlockCreateOptions::Reader::getCoinbaseOutputMaxAdditionalSigops() const {
5658 [ # # ]: 0 : return _reader.getDataField< ::uint64_t>(
5659 : : ::capnp::bounded<2>() * ::capnp::ELEMENTS);
5660 : : }
5661 : :
5662 : : inline ::uint64_t BlockCreateOptions::Builder::getCoinbaseOutputMaxAdditionalSigops() {
5663 : : return _builder.getDataField< ::uint64_t>(
5664 : : ::capnp::bounded<2>() * ::capnp::ELEMENTS);
5665 : : }
5666 : 0 : inline void BlockCreateOptions::Builder::setCoinbaseOutputMaxAdditionalSigops( ::uint64_t value) {
5667 : 0 : _builder.setDataField< ::uint64_t>(
5668 : : ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
5669 : : }
5670 : :
5671 : 0 : inline double BlockWaitOptions::Reader::getTimeout() const {
5672 [ # # ]: 0 : return _reader.getDataField<double>(
5673 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5674 : : }
5675 : :
5676 : : inline double BlockWaitOptions::Builder::getTimeout() {
5677 : : return _builder.getDataField<double>(
5678 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5679 : : }
5680 : 0 : inline void BlockWaitOptions::Builder::setTimeout(double value) {
5681 : 0 : _builder.setDataField<double>(
5682 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5683 : : }
5684 : :
5685 : 0 : inline ::int64_t BlockWaitOptions::Reader::getFeeThreshold() const {
5686 [ # # ]: 0 : return _reader.getDataField< ::int64_t>(
5687 : : ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5688 : : }
5689 : :
5690 : : inline ::int64_t BlockWaitOptions::Builder::getFeeThreshold() {
5691 : : return _builder.getDataField< ::int64_t>(
5692 : : ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5693 : : }
5694 : 0 : inline void BlockWaitOptions::Builder::setFeeThreshold( ::int64_t value) {
5695 : 0 : _builder.setDataField< ::int64_t>(
5696 : : ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
5697 : : }
5698 : :
5699 : 0 : inline bool BlockCheckOptions::Reader::getCheckMerkleRoot() const {
5700 [ # # ]: 0 : return _reader.getDataField<bool>(
5701 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5702 : : }
5703 : :
5704 : : inline bool BlockCheckOptions::Builder::getCheckMerkleRoot() {
5705 : : return _builder.getDataField<bool>(
5706 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5707 : : }
5708 : 0 : inline void BlockCheckOptions::Builder::setCheckMerkleRoot(bool value) {
5709 : 0 : _builder.setDataField<bool>(
5710 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5711 : : }
5712 : :
5713 : 0 : inline bool BlockCheckOptions::Reader::getCheckPow() const {
5714 [ # # ]: 0 : return _reader.getDataField<bool>(
5715 : : ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5716 : : }
5717 : :
5718 : : inline bool BlockCheckOptions::Builder::getCheckPow() {
5719 : : return _builder.getDataField<bool>(
5720 : : ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5721 : : }
5722 : 0 : inline void BlockCheckOptions::Builder::setCheckPow(bool value) {
5723 : 0 : _builder.setDataField<bool>(
5724 : : ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
5725 : : }
5726 : :
5727 : : } // namespace
5728 : : } // namespace
5729 : : } // namespace
5730 : :
5731 : : CAPNP_END_HEADER
5732 : :
|