Line data Source code
1 : // This is an auto-generated file. To add entries, edit fd_types.json
2 : #ifndef HEADER_FD_RUNTIME_TYPES
3 : #define HEADER_FD_RUNTIME_TYPES
4 :
5 : #include "fd_bincode.h"
6 : #include "../../ballet/utf8/fd_utf8.h"
7 : #include "fd_types_custom.h"
8 2501634 : #define FD_ACCOUNT_META_MAGIC 9823
9 :
10 : /* sdk/program/src/feature.rs#L22 */
11 : /* Encoded Size: Dynamic */
12 : struct __attribute__((aligned(8UL))) fd_feature {
13 : ulong activated_at;
14 : uchar has_activated_at;
15 : };
16 : typedef struct fd_feature fd_feature_t;
17 0 : #define FD_FEATURE_FOOTPRINT sizeof(fd_feature_t)
18 0 : #define FD_FEATURE_ALIGN (8UL)
19 :
20 : struct __attribute__((aligned(8UL))) fd_feature_off {
21 : uint activated_at_off;
22 : };
23 : typedef struct fd_feature_off fd_feature_off_t;
24 : #define FD_FEATURE_OFF_FOOTPRINT sizeof(fd_feature_off_t)
25 : #define FD_FEATURE_OFF_ALIGN (8UL)
26 :
27 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/fee_calculator.rs#L9 */
28 : /* Encoded Size: Fixed (8 bytes) */
29 : struct __attribute__((aligned(8UL))) fd_fee_calculator {
30 : ulong lamports_per_signature;
31 : };
32 : typedef struct fd_fee_calculator fd_fee_calculator_t;
33 0 : #define FD_FEE_CALCULATOR_FOOTPRINT sizeof(fd_fee_calculator_t)
34 0 : #define FD_FEE_CALCULATOR_ALIGN (8UL)
35 :
36 : struct __attribute__((aligned(8UL))) fd_fee_calculator_off {
37 : uint lamports_per_signature_off;
38 : };
39 : typedef struct fd_fee_calculator_off fd_fee_calculator_off_t;
40 : #define FD_FEE_CALCULATOR_OFF_FOOTPRINT sizeof(fd_fee_calculator_off_t)
41 : #define FD_FEE_CALCULATOR_OFF_ALIGN (8UL)
42 :
43 : /* Encoded Size: Fixed (24 bytes) */
44 : struct __attribute__((aligned(8UL))) fd_hash_age {
45 : fd_fee_calculator_t fee_calculator;
46 : ulong hash_index;
47 : ulong timestamp;
48 : };
49 : typedef struct fd_hash_age fd_hash_age_t;
50 0 : #define FD_HASH_AGE_FOOTPRINT sizeof(fd_hash_age_t)
51 0 : #define FD_HASH_AGE_ALIGN (8UL)
52 :
53 : struct __attribute__((aligned(8UL))) fd_hash_age_off {
54 : uint fee_calculator_off;
55 : uint hash_index_off;
56 : uint timestamp_off;
57 : };
58 : typedef struct fd_hash_age_off fd_hash_age_off_t;
59 : #define FD_HASH_AGE_OFF_FOOTPRINT sizeof(fd_hash_age_off_t)
60 : #define FD_HASH_AGE_OFF_ALIGN (8UL)
61 :
62 : /* Encoded Size: Fixed (56 bytes) */
63 : struct __attribute__((aligned(8UL))) fd_hash_hash_age_pair {
64 : fd_hash_t key;
65 : fd_hash_age_t val;
66 : };
67 : typedef struct fd_hash_hash_age_pair fd_hash_hash_age_pair_t;
68 0 : #define FD_HASH_HASH_AGE_PAIR_FOOTPRINT sizeof(fd_hash_hash_age_pair_t)
69 0 : #define FD_HASH_HASH_AGE_PAIR_ALIGN (8UL)
70 :
71 : struct __attribute__((aligned(8UL))) fd_hash_hash_age_pair_off {
72 : uint key_off;
73 : uint val_off;
74 : };
75 : typedef struct fd_hash_hash_age_pair_off fd_hash_hash_age_pair_off_t;
76 : #define FD_HASH_HASH_AGE_PAIR_OFF_FOOTPRINT sizeof(fd_hash_hash_age_pair_off_t)
77 : #define FD_HASH_HASH_AGE_PAIR_OFF_ALIGN (8UL)
78 :
79 : /* Encoded Size: Dynamic */
80 : struct __attribute__((aligned(8UL))) fd_block_hash_vec {
81 : ulong last_hash_index;
82 : fd_hash_t * last_hash;
83 : ulong ages_len;
84 : fd_hash_hash_age_pair_t * ages;
85 : ulong max_age;
86 : };
87 : typedef struct fd_block_hash_vec fd_block_hash_vec_t;
88 0 : #define FD_BLOCK_HASH_VEC_FOOTPRINT sizeof(fd_block_hash_vec_t)
89 0 : #define FD_BLOCK_HASH_VEC_ALIGN (8UL)
90 :
91 : struct __attribute__((aligned(8UL))) fd_block_hash_vec_off {
92 : uint last_hash_index_off;
93 : uint last_hash_off;
94 : uint ages_off;
95 : uint max_age_off;
96 : };
97 : typedef struct fd_block_hash_vec_off fd_block_hash_vec_off_t;
98 : #define FD_BLOCK_HASH_VEC_OFF_FOOTPRINT sizeof(fd_block_hash_vec_off_t)
99 : #define FD_BLOCK_HASH_VEC_OFF_ALIGN (8UL)
100 :
101 : typedef struct fd_hash_hash_age_pair_t_mapnode fd_hash_hash_age_pair_t_mapnode_t;
102 : #define REDBLK_T fd_hash_hash_age_pair_t_mapnode_t
103 : #define REDBLK_NAME fd_hash_hash_age_pair_t_map
104 : #define REDBLK_IMPL_STYLE 1
105 : #include "../../util/tmpl/fd_redblack.c"
106 : struct fd_hash_hash_age_pair_t_mapnode {
107 : fd_hash_hash_age_pair_t elem;
108 : ulong redblack_parent;
109 : ulong redblack_left;
110 : ulong redblack_right;
111 : int redblack_color;
112 : };
113 : static inline fd_hash_hash_age_pair_t_mapnode_t *
114 12741 : fd_hash_hash_age_pair_t_map_alloc( fd_valloc_t valloc, ulong len ) {
115 12741 : if( FD_UNLIKELY( 0 == len ) ) len = 1; // prevent underflow
116 12741 : void * mem = fd_valloc_malloc( valloc, fd_hash_hash_age_pair_t_map_align(), fd_hash_hash_age_pair_t_map_footprint(len));
117 12741 : return fd_hash_hash_age_pair_t_map_join(fd_hash_hash_age_pair_t_map_new(mem, len));
118 12741 : }
119 : /* Encoded Size: Dynamic */
120 : struct __attribute__((aligned(8UL))) fd_block_hash_queue {
121 : ulong last_hash_index;
122 : fd_hash_t * last_hash;
123 : fd_hash_hash_age_pair_t_mapnode_t * ages_pool;
124 : fd_hash_hash_age_pair_t_mapnode_t * ages_root;
125 : ulong max_age;
126 : };
127 : typedef struct fd_block_hash_queue fd_block_hash_queue_t;
128 0 : #define FD_BLOCK_HASH_QUEUE_FOOTPRINT sizeof(fd_block_hash_queue_t)
129 0 : #define FD_BLOCK_HASH_QUEUE_ALIGN (8UL)
130 :
131 : struct __attribute__((aligned(8UL))) fd_block_hash_queue_off {
132 : uint last_hash_index_off;
133 : uint last_hash_off;
134 : uint ages_off;
135 : uint max_age_off;
136 : };
137 : typedef struct fd_block_hash_queue_off fd_block_hash_queue_off_t;
138 : #define FD_BLOCK_HASH_QUEUE_OFF_FOOTPRINT sizeof(fd_block_hash_queue_off_t)
139 : #define FD_BLOCK_HASH_QUEUE_OFF_ALIGN (8UL)
140 :
141 : /* Encoded Size: Fixed (33 bytes) */
142 : struct __attribute__((aligned(8UL))) fd_fee_rate_governor {
143 : ulong target_lamports_per_signature;
144 : ulong target_signatures_per_slot;
145 : ulong min_lamports_per_signature;
146 : ulong max_lamports_per_signature;
147 : uchar burn_percent;
148 : };
149 : typedef struct fd_fee_rate_governor fd_fee_rate_governor_t;
150 0 : #define FD_FEE_RATE_GOVERNOR_FOOTPRINT sizeof(fd_fee_rate_governor_t)
151 0 : #define FD_FEE_RATE_GOVERNOR_ALIGN (8UL)
152 :
153 : struct __attribute__((aligned(8UL))) fd_fee_rate_governor_off {
154 : uint target_lamports_per_signature_off;
155 : uint target_signatures_per_slot_off;
156 : uint min_lamports_per_signature_off;
157 : uint max_lamports_per_signature_off;
158 : uint burn_percent_off;
159 : };
160 : typedef struct fd_fee_rate_governor_off fd_fee_rate_governor_off_t;
161 : #define FD_FEE_RATE_GOVERNOR_OFF_FOOTPRINT sizeof(fd_fee_rate_governor_off_t)
162 : #define FD_FEE_RATE_GOVERNOR_OFF_ALIGN (8UL)
163 :
164 : /* Encoded Size: Fixed (16 bytes) */
165 : struct __attribute__((aligned(8UL))) fd_slot_pair {
166 : ulong slot;
167 : ulong val;
168 : };
169 : typedef struct fd_slot_pair fd_slot_pair_t;
170 0 : #define FD_SLOT_PAIR_FOOTPRINT sizeof(fd_slot_pair_t)
171 0 : #define FD_SLOT_PAIR_ALIGN (8UL)
172 :
173 : struct __attribute__((aligned(8UL))) fd_slot_pair_off {
174 : uint slot_off;
175 : uint val_off;
176 : };
177 : typedef struct fd_slot_pair_off fd_slot_pair_off_t;
178 : #define FD_SLOT_PAIR_OFF_FOOTPRINT sizeof(fd_slot_pair_off_t)
179 : #define FD_SLOT_PAIR_OFF_ALIGN (8UL)
180 :
181 : /* Encoded Size: Dynamic */
182 : struct __attribute__((aligned(8UL))) fd_hard_forks {
183 : ulong hard_forks_len;
184 : fd_slot_pair_t * hard_forks;
185 : };
186 : typedef struct fd_hard_forks fd_hard_forks_t;
187 0 : #define FD_HARD_FORKS_FOOTPRINT sizeof(fd_hard_forks_t)
188 0 : #define FD_HARD_FORKS_ALIGN (8UL)
189 :
190 : struct __attribute__((aligned(8UL))) fd_hard_forks_off {
191 : uint hard_forks_off;
192 : };
193 : typedef struct fd_hard_forks_off fd_hard_forks_off_t;
194 : #define FD_HARD_FORKS_OFF_FOOTPRINT sizeof(fd_hard_forks_off_t)
195 : #define FD_HARD_FORKS_OFF_ALIGN (8UL)
196 :
197 : /* Encoded Size: Fixed (48 bytes) */
198 : struct __attribute__((aligned(8UL))) fd_inflation {
199 : double initial;
200 : double terminal;
201 : double taper;
202 : double foundation;
203 : double foundation_term;
204 : double unused;
205 : };
206 : typedef struct fd_inflation fd_inflation_t;
207 0 : #define FD_INFLATION_FOOTPRINT sizeof(fd_inflation_t)
208 0 : #define FD_INFLATION_ALIGN (8UL)
209 :
210 : struct __attribute__((aligned(8UL))) fd_inflation_off {
211 : uint initial_off;
212 : uint terminal_off;
213 : uint taper_off;
214 : uint foundation_off;
215 : uint foundation_term_off;
216 : uint unused_off;
217 : };
218 : typedef struct fd_inflation_off fd_inflation_off_t;
219 : #define FD_INFLATION_OFF_FOOTPRINT sizeof(fd_inflation_off_t)
220 : #define FD_INFLATION_OFF_ALIGN (8UL)
221 :
222 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/rent.rs#L11 */
223 : /* Encoded Size: Fixed (17 bytes) */
224 : struct __attribute__((aligned(8UL))) fd_rent {
225 : ulong lamports_per_uint8_year;
226 : double exemption_threshold;
227 : uchar burn_percent;
228 : };
229 : typedef struct fd_rent fd_rent_t;
230 0 : #define FD_RENT_FOOTPRINT sizeof(fd_rent_t)
231 0 : #define FD_RENT_ALIGN (8UL)
232 :
233 : struct __attribute__((aligned(8UL))) fd_rent_off {
234 : uint lamports_per_uint8_year_off;
235 : uint exemption_threshold_off;
236 : uint burn_percent_off;
237 : };
238 : typedef struct fd_rent_off fd_rent_off_t;
239 : #define FD_RENT_OFF_FOOTPRINT sizeof(fd_rent_off_t)
240 : #define FD_RENT_OFF_ALIGN (8UL)
241 :
242 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/epoch_schedule.rs#L26 */
243 : /* Encoded Size: Fixed (33 bytes) */
244 : struct __attribute__((aligned(1UL))) fd_epoch_schedule {
245 : ulong slots_per_epoch;
246 : ulong leader_schedule_slot_offset;
247 : uchar warmup;
248 : ulong first_normal_epoch;
249 : ulong first_normal_slot;
250 : };
251 : typedef struct fd_epoch_schedule fd_epoch_schedule_t;
252 6 : #define FD_EPOCH_SCHEDULE_FOOTPRINT sizeof(fd_epoch_schedule_t)
253 0 : #define FD_EPOCH_SCHEDULE_ALIGN (1UL)
254 :
255 : struct __attribute__((aligned(1UL))) fd_epoch_schedule_off {
256 : uint slots_per_epoch_off;
257 : uint leader_schedule_slot_offset_off;
258 : uint warmup_off;
259 : uint first_normal_epoch_off;
260 : uint first_normal_slot_off;
261 : };
262 : typedef struct fd_epoch_schedule_off fd_epoch_schedule_off_t;
263 : #define FD_EPOCH_SCHEDULE_OFF_FOOTPRINT sizeof(fd_epoch_schedule_off_t)
264 : #define FD_EPOCH_SCHEDULE_OFF_ALIGN (1UL)
265 :
266 : /* Encoded Size: Fixed (66 bytes) */
267 : struct __attribute__((aligned(8UL))) fd_rent_collector {
268 : ulong epoch;
269 : fd_epoch_schedule_t epoch_schedule;
270 : double slots_per_year;
271 : fd_rent_t rent;
272 : };
273 : typedef struct fd_rent_collector fd_rent_collector_t;
274 0 : #define FD_RENT_COLLECTOR_FOOTPRINT sizeof(fd_rent_collector_t)
275 0 : #define FD_RENT_COLLECTOR_ALIGN (8UL)
276 :
277 : struct __attribute__((aligned(8UL))) fd_rent_collector_off {
278 : uint epoch_off;
279 : uint epoch_schedule_off;
280 : uint slots_per_year_off;
281 : uint rent_off;
282 : };
283 : typedef struct fd_rent_collector_off fd_rent_collector_off_t;
284 : #define FD_RENT_COLLECTOR_OFF_FOOTPRINT sizeof(fd_rent_collector_off_t)
285 : #define FD_RENT_COLLECTOR_OFF_ALIGN (8UL)
286 :
287 : /* Encoded Size: Fixed (32 bytes) */
288 : struct __attribute__((aligned(8UL))) fd_stake_history_entry {
289 : ulong epoch;
290 : ulong effective;
291 : ulong activating;
292 : ulong deactivating;
293 : };
294 : typedef struct fd_stake_history_entry fd_stake_history_entry_t;
295 0 : #define FD_STAKE_HISTORY_ENTRY_FOOTPRINT sizeof(fd_stake_history_entry_t)
296 0 : #define FD_STAKE_HISTORY_ENTRY_ALIGN (8UL)
297 :
298 : struct __attribute__((aligned(8UL))) fd_stake_history_entry_off {
299 : uint epoch_off;
300 : uint effective_off;
301 : uint activating_off;
302 : uint deactivating_off;
303 : };
304 : typedef struct fd_stake_history_entry_off fd_stake_history_entry_off_t;
305 : #define FD_STAKE_HISTORY_ENTRY_OFF_FOOTPRINT sizeof(fd_stake_history_entry_off_t)
306 : #define FD_STAKE_HISTORY_ENTRY_OFF_ALIGN (8UL)
307 :
308 : /* https://github.com/firedancer-io/solana/blob/v1.17/sdk/program/src/stake_history.rs#L12-L75 */
309 : /* Encoded Size: Dynamic */
310 : struct __attribute__((aligned(8UL))) fd_stake_history {
311 : ulong fd_stake_history_len;
312 : ulong fd_stake_history_size;
313 : ulong fd_stake_history_offset;
314 : fd_stake_history_entry_t fd_stake_history[512];
315 : };
316 : typedef struct fd_stake_history fd_stake_history_t;
317 0 : #define FD_STAKE_HISTORY_FOOTPRINT sizeof(fd_stake_history_t)
318 0 : #define FD_STAKE_HISTORY_ALIGN (8UL)
319 :
320 : struct __attribute__((aligned(8UL))) fd_stake_history_off {
321 : uint fd_stake_history_off;
322 : };
323 : typedef struct fd_stake_history_off fd_stake_history_off_t;
324 : #define FD_STAKE_HISTORY_OFF_FOOTPRINT sizeof(fd_stake_history_off_t)
325 : #define FD_STAKE_HISTORY_OFF_ALIGN (8UL)
326 :
327 : /* https://github.com/anza-xyz/agave/blob/6ac4fe32e28d8ceb4085072b61fa0c6cb09baac1/sdk/src/account.rs#L37 */
328 : /* Encoded Size: Dynamic */
329 : struct __attribute__((aligned(8UL))) fd_solana_account {
330 : ulong lamports;
331 : ulong data_len;
332 : uchar* data;
333 : fd_pubkey_t owner;
334 : uchar executable;
335 : ulong rent_epoch;
336 : };
337 : typedef struct fd_solana_account fd_solana_account_t;
338 0 : #define FD_SOLANA_ACCOUNT_FOOTPRINT sizeof(fd_solana_account_t)
339 0 : #define FD_SOLANA_ACCOUNT_ALIGN (8UL)
340 :
341 : struct __attribute__((aligned(8UL))) fd_solana_account_off {
342 : uint lamports_off;
343 : uint data_off;
344 : uint owner_off;
345 : uint executable_off;
346 : uint rent_epoch_off;
347 : };
348 : typedef struct fd_solana_account_off fd_solana_account_off_t;
349 : #define FD_SOLANA_ACCOUNT_OFF_FOOTPRINT sizeof(fd_solana_account_off_t)
350 : #define FD_SOLANA_ACCOUNT_OFF_ALIGN (8UL)
351 :
352 : /* Encoded Size: Fixed (48 bytes) */
353 : struct __attribute__((packed)) fd_solana_account_stored_meta {
354 : ulong write_version_obsolete;
355 : ulong data_len;
356 : uchar pubkey[32];
357 : };
358 : typedef struct fd_solana_account_stored_meta fd_solana_account_stored_meta_t;
359 : #define FD_SOLANA_ACCOUNT_STORED_META_FOOTPRINT sizeof(fd_solana_account_stored_meta_t)
360 : #define FD_SOLANA_ACCOUNT_STORED_META_ALIGN (8UL)
361 :
362 : struct __attribute__((packed)) fd_solana_account_stored_meta_off {
363 : uint write_version_obsolete_off;
364 : uint data_len_off;
365 : uint pubkey_off;
366 : };
367 : typedef struct fd_solana_account_stored_meta_off fd_solana_account_stored_meta_off_t;
368 : #define FD_SOLANA_ACCOUNT_STORED_META_OFF_FOOTPRINT sizeof(fd_solana_account_stored_meta_off_t)
369 : #define FD_SOLANA_ACCOUNT_STORED_META_OFF_ALIGN (8UL)
370 :
371 : /* Encoded Size: Fixed (52 bytes) */
372 : struct __attribute__((packed)) fd_solana_account_meta {
373 : ulong lamports;
374 : ulong rent_epoch;
375 : uchar owner[32];
376 : uchar executable;
377 : uchar padding[3];
378 : };
379 : typedef struct fd_solana_account_meta fd_solana_account_meta_t;
380 : #define FD_SOLANA_ACCOUNT_META_FOOTPRINT sizeof(fd_solana_account_meta_t)
381 : #define FD_SOLANA_ACCOUNT_META_ALIGN (8UL)
382 :
383 : struct __attribute__((packed)) fd_solana_account_meta_off {
384 : uint lamports_off;
385 : uint rent_epoch_off;
386 : uint owner_off;
387 : uint executable_off;
388 : uint padding_off;
389 : };
390 : typedef struct fd_solana_account_meta_off fd_solana_account_meta_off_t;
391 : #define FD_SOLANA_ACCOUNT_META_OFF_FOOTPRINT sizeof(fd_solana_account_meta_off_t)
392 : #define FD_SOLANA_ACCOUNT_META_OFF_ALIGN (8UL)
393 :
394 : /* Encoded Size: Fixed (136 bytes) */
395 : struct __attribute__((packed)) fd_solana_account_hdr {
396 : fd_solana_account_stored_meta_t meta;
397 : fd_solana_account_meta_t info;
398 : uchar padding[4];
399 : fd_hash_t hash;
400 : };
401 : typedef struct fd_solana_account_hdr fd_solana_account_hdr_t;
402 : #define FD_SOLANA_ACCOUNT_HDR_FOOTPRINT sizeof(fd_solana_account_hdr_t)
403 : #define FD_SOLANA_ACCOUNT_HDR_ALIGN (8UL)
404 :
405 : struct __attribute__((packed)) fd_solana_account_hdr_off {
406 : uint meta_off;
407 : uint info_off;
408 : uint padding_off;
409 : uint hash_off;
410 : };
411 : typedef struct fd_solana_account_hdr_off fd_solana_account_hdr_off_t;
412 : #define FD_SOLANA_ACCOUNT_HDR_OFF_FOOTPRINT sizeof(fd_solana_account_hdr_off_t)
413 : #define FD_SOLANA_ACCOUNT_HDR_OFF_ALIGN (8UL)
414 :
415 : /* Encoded Size: Fixed (104 bytes) */
416 : struct __attribute__((packed)) fd_account_meta {
417 : ushort magic;
418 : ushort hlen;
419 : ulong dlen;
420 : uchar hash[32];
421 : ulong slot;
422 : fd_solana_account_meta_t info;
423 : };
424 : typedef struct fd_account_meta fd_account_meta_t;
425 999810 : #define FD_ACCOUNT_META_FOOTPRINT sizeof(fd_account_meta_t)
426 : #define FD_ACCOUNT_META_ALIGN (8UL)
427 :
428 : struct __attribute__((packed)) fd_account_meta_off {
429 : uint magic_off;
430 : uint hlen_off;
431 : uint dlen_off;
432 : uint hash_off;
433 : uint slot_off;
434 : uint info_off;
435 : };
436 : typedef struct fd_account_meta_off fd_account_meta_off_t;
437 : #define FD_ACCOUNT_META_OFF_FOOTPRINT sizeof(fd_account_meta_off_t)
438 : #define FD_ACCOUNT_META_OFF_ALIGN (8UL)
439 :
440 : /* Encoded Size: Dynamic */
441 : struct __attribute__((aligned(8UL))) fd_vote_accounts_pair {
442 : fd_pubkey_t key;
443 : ulong stake;
444 : fd_solana_vote_account_t value;
445 : };
446 : typedef struct fd_vote_accounts_pair fd_vote_accounts_pair_t;
447 0 : #define FD_VOTE_ACCOUNTS_PAIR_FOOTPRINT sizeof(fd_vote_accounts_pair_t)
448 0 : #define FD_VOTE_ACCOUNTS_PAIR_ALIGN (8UL)
449 :
450 : struct __attribute__((aligned(8UL))) fd_vote_accounts_pair_off {
451 : uint key_off;
452 : uint stake_off;
453 : uint value_off;
454 : };
455 : typedef struct fd_vote_accounts_pair_off fd_vote_accounts_pair_off_t;
456 : #define FD_VOTE_ACCOUNTS_PAIR_OFF_FOOTPRINT sizeof(fd_vote_accounts_pair_off_t)
457 : #define FD_VOTE_ACCOUNTS_PAIR_OFF_ALIGN (8UL)
458 :
459 : /* Encoded Size: Dynamic */
460 : struct __attribute__((aligned(8UL))) fd_vote_accounts_pair_serializable {
461 : fd_pubkey_t key;
462 : ulong stake;
463 : fd_solana_account_t value;
464 : };
465 : typedef struct fd_vote_accounts_pair_serializable fd_vote_accounts_pair_serializable_t;
466 0 : #define FD_VOTE_ACCOUNTS_PAIR_SERIALIZABLE_FOOTPRINT sizeof(fd_vote_accounts_pair_serializable_t)
467 0 : #define FD_VOTE_ACCOUNTS_PAIR_SERIALIZABLE_ALIGN (8UL)
468 :
469 : struct __attribute__((aligned(8UL))) fd_vote_accounts_pair_serializable_off {
470 : uint key_off;
471 : uint stake_off;
472 : uint value_off;
473 : };
474 : typedef struct fd_vote_accounts_pair_serializable_off fd_vote_accounts_pair_serializable_off_t;
475 : #define FD_VOTE_ACCOUNTS_PAIR_SERIALIZABLE_OFF_FOOTPRINT sizeof(fd_vote_accounts_pair_serializable_off_t)
476 : #define FD_VOTE_ACCOUNTS_PAIR_SERIALIZABLE_OFF_ALIGN (8UL)
477 :
478 : typedef struct fd_vote_accounts_pair_serializable_t_mapnode fd_vote_accounts_pair_serializable_t_mapnode_t;
479 : #define REDBLK_T fd_vote_accounts_pair_serializable_t_mapnode_t
480 : #define REDBLK_NAME fd_vote_accounts_pair_serializable_t_map
481 : #define REDBLK_IMPL_STYLE 1
482 : #include "../../util/tmpl/fd_redblack.c"
483 : struct fd_vote_accounts_pair_serializable_t_mapnode {
484 : fd_vote_accounts_pair_serializable_t elem;
485 : ulong redblack_parent;
486 : ulong redblack_left;
487 : ulong redblack_right;
488 : int redblack_color;
489 : };
490 : static inline fd_vote_accounts_pair_serializable_t_mapnode_t *
491 0 : fd_vote_accounts_pair_serializable_t_map_alloc( fd_valloc_t valloc, ulong len ) {
492 0 : if( FD_UNLIKELY( 0 == len ) ) len = 1; // prevent underflow
493 0 : void * mem = fd_valloc_malloc( valloc, fd_vote_accounts_pair_serializable_t_map_align(), fd_vote_accounts_pair_serializable_t_map_footprint(len));
494 0 : return fd_vote_accounts_pair_serializable_t_map_join(fd_vote_accounts_pair_serializable_t_map_new(mem, len));
495 0 : }
496 : /* Encoded Size: Dynamic */
497 : struct __attribute__((aligned(8UL))) fd_vote_accounts_serializable {
498 : fd_vote_accounts_pair_serializable_t_mapnode_t * vote_accounts_pool;
499 : fd_vote_accounts_pair_serializable_t_mapnode_t * vote_accounts_root;
500 : };
501 : typedef struct fd_vote_accounts_serializable fd_vote_accounts_serializable_t;
502 0 : #define FD_VOTE_ACCOUNTS_SERIALIZABLE_FOOTPRINT sizeof(fd_vote_accounts_serializable_t)
503 0 : #define FD_VOTE_ACCOUNTS_SERIALIZABLE_ALIGN (8UL)
504 :
505 : struct __attribute__((aligned(8UL))) fd_vote_accounts_serializable_off {
506 : uint vote_accounts_off;
507 : };
508 : typedef struct fd_vote_accounts_serializable_off fd_vote_accounts_serializable_off_t;
509 : #define FD_VOTE_ACCOUNTS_SERIALIZABLE_OFF_FOOTPRINT sizeof(fd_vote_accounts_serializable_off_t)
510 : #define FD_VOTE_ACCOUNTS_SERIALIZABLE_OFF_ALIGN (8UL)
511 :
512 : typedef struct fd_vote_accounts_pair_t_mapnode fd_vote_accounts_pair_t_mapnode_t;
513 : #define REDBLK_T fd_vote_accounts_pair_t_mapnode_t
514 : #define REDBLK_NAME fd_vote_accounts_pair_t_map
515 : #define REDBLK_IMPL_STYLE 1
516 : #include "../../util/tmpl/fd_redblack.c"
517 : struct fd_vote_accounts_pair_t_mapnode {
518 : fd_vote_accounts_pair_t elem;
519 : ulong redblack_parent;
520 : ulong redblack_left;
521 : ulong redblack_right;
522 : int redblack_color;
523 : };
524 : static inline fd_vote_accounts_pair_t_mapnode_t *
525 6 : fd_vote_accounts_pair_t_map_alloc( fd_valloc_t valloc, ulong len ) {
526 6 : if( FD_UNLIKELY( 0 == len ) ) len = 1; // prevent underflow
527 6 : void * mem = fd_valloc_malloc( valloc, fd_vote_accounts_pair_t_map_align(), fd_vote_accounts_pair_t_map_footprint(len));
528 6 : return fd_vote_accounts_pair_t_map_join(fd_vote_accounts_pair_t_map_new(mem, len));
529 6 : }
530 : /* Encoded Size: Dynamic */
531 : struct __attribute__((aligned(8UL))) fd_vote_accounts {
532 : fd_vote_accounts_pair_t_mapnode_t * vote_accounts_pool;
533 : fd_vote_accounts_pair_t_mapnode_t * vote_accounts_root;
534 : };
535 : typedef struct fd_vote_accounts fd_vote_accounts_t;
536 0 : #define FD_VOTE_ACCOUNTS_FOOTPRINT sizeof(fd_vote_accounts_t)
537 0 : #define FD_VOTE_ACCOUNTS_ALIGN (8UL)
538 :
539 : struct __attribute__((aligned(8UL))) fd_vote_accounts_off {
540 : uint vote_accounts_off;
541 : };
542 : typedef struct fd_vote_accounts_off fd_vote_accounts_off_t;
543 : #define FD_VOTE_ACCOUNTS_OFF_FOOTPRINT sizeof(fd_vote_accounts_off_t)
544 : #define FD_VOTE_ACCOUNTS_OFF_ALIGN (8UL)
545 :
546 : /* Encoded Size: Fixed (36 bytes) */
547 : struct __attribute__((aligned(8UL))) fd_stake_accounts_pair {
548 : fd_pubkey_t key;
549 : uint exists;
550 : };
551 : typedef struct fd_stake_accounts_pair fd_stake_accounts_pair_t;
552 0 : #define FD_STAKE_ACCOUNTS_PAIR_FOOTPRINT sizeof(fd_stake_accounts_pair_t)
553 0 : #define FD_STAKE_ACCOUNTS_PAIR_ALIGN (8UL)
554 :
555 : struct __attribute__((aligned(8UL))) fd_stake_accounts_pair_off {
556 : uint key_off;
557 : uint exists_off;
558 : };
559 : typedef struct fd_stake_accounts_pair_off fd_stake_accounts_pair_off_t;
560 : #define FD_STAKE_ACCOUNTS_PAIR_OFF_FOOTPRINT sizeof(fd_stake_accounts_pair_off_t)
561 : #define FD_STAKE_ACCOUNTS_PAIR_OFF_ALIGN (8UL)
562 :
563 : typedef struct fd_stake_accounts_pair_t_mapnode fd_stake_accounts_pair_t_mapnode_t;
564 : #define REDBLK_T fd_stake_accounts_pair_t_mapnode_t
565 : #define REDBLK_NAME fd_stake_accounts_pair_t_map
566 : #define REDBLK_IMPL_STYLE 1
567 : #include "../../util/tmpl/fd_redblack.c"
568 : struct fd_stake_accounts_pair_t_mapnode {
569 : fd_stake_accounts_pair_t elem;
570 : ulong redblack_parent;
571 : ulong redblack_left;
572 : ulong redblack_right;
573 : int redblack_color;
574 : };
575 : static inline fd_stake_accounts_pair_t_mapnode_t *
576 0 : fd_stake_accounts_pair_t_map_alloc( fd_valloc_t valloc, ulong len ) {
577 0 : if( FD_UNLIKELY( 0 == len ) ) len = 1; // prevent underflow
578 0 : void * mem = fd_valloc_malloc( valloc, fd_stake_accounts_pair_t_map_align(), fd_stake_accounts_pair_t_map_footprint(len));
579 0 : return fd_stake_accounts_pair_t_map_join(fd_stake_accounts_pair_t_map_new(mem, len));
580 0 : }
581 : /* Encoded Size: Dynamic */
582 : struct __attribute__((aligned(8UL))) fd_stake_accounts {
583 : fd_stake_accounts_pair_t_mapnode_t * stake_accounts_pool;
584 : fd_stake_accounts_pair_t_mapnode_t * stake_accounts_root;
585 : };
586 : typedef struct fd_stake_accounts fd_stake_accounts_t;
587 0 : #define FD_STAKE_ACCOUNTS_FOOTPRINT sizeof(fd_stake_accounts_t)
588 0 : #define FD_STAKE_ACCOUNTS_ALIGN (8UL)
589 :
590 : struct __attribute__((aligned(8UL))) fd_stake_accounts_off {
591 : uint stake_accounts_off;
592 : };
593 : typedef struct fd_stake_accounts_off fd_stake_accounts_off_t;
594 : #define FD_STAKE_ACCOUNTS_OFF_FOOTPRINT sizeof(fd_stake_accounts_off_t)
595 : #define FD_STAKE_ACCOUNTS_OFF_ALIGN (8UL)
596 :
597 : /* fd_stake_weight_t assigns an Ed25519 public key (node identity) a stake weight number measured in lamports */
598 : /* Encoded Size: Fixed (40 bytes) */
599 : struct __attribute__((aligned(8UL))) fd_stake_weight {
600 : fd_pubkey_t key;
601 : ulong stake;
602 : };
603 : typedef struct fd_stake_weight fd_stake_weight_t;
604 0 : #define FD_STAKE_WEIGHT_FOOTPRINT sizeof(fd_stake_weight_t)
605 0 : #define FD_STAKE_WEIGHT_ALIGN (8UL)
606 :
607 : struct __attribute__((aligned(8UL))) fd_stake_weight_off {
608 : uint key_off;
609 : uint stake_off;
610 : };
611 : typedef struct fd_stake_weight_off fd_stake_weight_off_t;
612 : #define FD_STAKE_WEIGHT_OFF_FOOTPRINT sizeof(fd_stake_weight_off_t)
613 : #define FD_STAKE_WEIGHT_OFF_ALIGN (8UL)
614 :
615 : typedef struct fd_stake_weight_t_mapnode fd_stake_weight_t_mapnode_t;
616 : #define REDBLK_T fd_stake_weight_t_mapnode_t
617 : #define REDBLK_NAME fd_stake_weight_t_map
618 : #define REDBLK_IMPL_STYLE 1
619 : #include "../../util/tmpl/fd_redblack.c"
620 : struct fd_stake_weight_t_mapnode {
621 : fd_stake_weight_t elem;
622 : ulong redblack_parent;
623 : ulong redblack_left;
624 : ulong redblack_right;
625 : int redblack_color;
626 : };
627 : static inline fd_stake_weight_t_mapnode_t *
628 0 : fd_stake_weight_t_map_alloc( fd_valloc_t valloc, ulong len ) {
629 0 : if( FD_UNLIKELY( 0 == len ) ) len = 1; // prevent underflow
630 0 : void * mem = fd_valloc_malloc( valloc, fd_stake_weight_t_map_align(), fd_stake_weight_t_map_footprint(len));
631 0 : return fd_stake_weight_t_map_join(fd_stake_weight_t_map_new(mem, len));
632 0 : }
633 : /* Encoded Size: Dynamic */
634 : struct __attribute__((aligned(8UL))) fd_stake_weights {
635 : fd_stake_weight_t_mapnode_t * stake_weights_pool;
636 : fd_stake_weight_t_mapnode_t * stake_weights_root;
637 : };
638 : typedef struct fd_stake_weights fd_stake_weights_t;
639 0 : #define FD_STAKE_WEIGHTS_FOOTPRINT sizeof(fd_stake_weights_t)
640 0 : #define FD_STAKE_WEIGHTS_ALIGN (8UL)
641 :
642 : struct __attribute__((aligned(8UL))) fd_stake_weights_off {
643 : uint stake_weights_off;
644 : };
645 : typedef struct fd_stake_weights_off fd_stake_weights_off_t;
646 : #define FD_STAKE_WEIGHTS_OFF_FOOTPRINT sizeof(fd_stake_weights_off_t)
647 : #define FD_STAKE_WEIGHTS_OFF_ALIGN (8UL)
648 :
649 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/stake/state.rs#L303 */
650 : /* Encoded Size: Fixed (64 bytes) */
651 : struct __attribute__((aligned(8UL))) fd_delegation {
652 : fd_pubkey_t voter_pubkey;
653 : ulong stake;
654 : ulong activation_epoch;
655 : ulong deactivation_epoch;
656 : double warmup_cooldown_rate;
657 : };
658 : typedef struct fd_delegation fd_delegation_t;
659 0 : #define FD_DELEGATION_FOOTPRINT sizeof(fd_delegation_t)
660 0 : #define FD_DELEGATION_ALIGN (8UL)
661 :
662 : struct __attribute__((aligned(8UL))) fd_delegation_off {
663 : uint voter_pubkey_off;
664 : uint stake_off;
665 : uint activation_epoch_off;
666 : uint deactivation_epoch_off;
667 : uint warmup_cooldown_rate_off;
668 : };
669 : typedef struct fd_delegation_off fd_delegation_off_t;
670 : #define FD_DELEGATION_OFF_FOOTPRINT sizeof(fd_delegation_off_t)
671 : #define FD_DELEGATION_OFF_ALIGN (8UL)
672 :
673 : /* Encoded Size: Fixed (96 bytes) */
674 : struct __attribute__((aligned(8UL))) fd_delegation_pair {
675 : fd_pubkey_t account;
676 : fd_delegation_t delegation;
677 : };
678 : typedef struct fd_delegation_pair fd_delegation_pair_t;
679 0 : #define FD_DELEGATION_PAIR_FOOTPRINT sizeof(fd_delegation_pair_t)
680 0 : #define FD_DELEGATION_PAIR_ALIGN (8UL)
681 :
682 : struct __attribute__((aligned(8UL))) fd_delegation_pair_off {
683 : uint account_off;
684 : uint delegation_off;
685 : };
686 : typedef struct fd_delegation_pair_off fd_delegation_pair_off_t;
687 : #define FD_DELEGATION_PAIR_OFF_FOOTPRINT sizeof(fd_delegation_pair_off_t)
688 : #define FD_DELEGATION_PAIR_OFF_ALIGN (8UL)
689 :
690 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/stake/state.rs#L539 */
691 : /* Encoded Size: Fixed (72 bytes) */
692 : struct __attribute__((aligned(8UL))) fd_stake {
693 : fd_delegation_t delegation;
694 : ulong credits_observed;
695 : };
696 : typedef struct fd_stake fd_stake_t;
697 0 : #define FD_STAKE_FOOTPRINT sizeof(fd_stake_t)
698 0 : #define FD_STAKE_ALIGN (8UL)
699 :
700 : struct __attribute__((aligned(8UL))) fd_stake_off {
701 : uint delegation_off;
702 : uint credits_observed_off;
703 : };
704 : typedef struct fd_stake_off fd_stake_off_t;
705 : #define FD_STAKE_OFF_FOOTPRINT sizeof(fd_stake_off_t)
706 : #define FD_STAKE_OFF_ALIGN (8UL)
707 :
708 : /* Encoded Size: Fixed (104 bytes) */
709 : struct __attribute__((aligned(8UL))) fd_epoch_info_pair {
710 : fd_pubkey_t account;
711 : fd_stake_t stake;
712 : };
713 : typedef struct fd_epoch_info_pair fd_epoch_info_pair_t;
714 0 : #define FD_EPOCH_INFO_PAIR_FOOTPRINT sizeof(fd_epoch_info_pair_t)
715 0 : #define FD_EPOCH_INFO_PAIR_ALIGN (8UL)
716 :
717 : struct __attribute__((aligned(8UL))) fd_epoch_info_pair_off {
718 : uint account_off;
719 : uint stake_off;
720 : };
721 : typedef struct fd_epoch_info_pair_off fd_epoch_info_pair_off_t;
722 : #define FD_EPOCH_INFO_PAIR_OFF_FOOTPRINT sizeof(fd_epoch_info_pair_off_t)
723 : #define FD_EPOCH_INFO_PAIR_OFF_ALIGN (8UL)
724 :
725 : /* Encoded Size: Dynamic */
726 : struct __attribute__((aligned(8UL))) fd_epoch_info {
727 : ulong infos_len;
728 : fd_epoch_info_pair_t * infos;
729 : };
730 : typedef struct fd_epoch_info fd_epoch_info_t;
731 0 : #define FD_EPOCH_INFO_FOOTPRINT sizeof(fd_epoch_info_t)
732 0 : #define FD_EPOCH_INFO_ALIGN (8UL)
733 :
734 : struct __attribute__((aligned(8UL))) fd_epoch_info_off {
735 : uint infos_off;
736 : };
737 : typedef struct fd_epoch_info_off fd_epoch_info_off_t;
738 : #define FD_EPOCH_INFO_OFF_FOOTPRINT sizeof(fd_epoch_info_off_t)
739 : #define FD_EPOCH_INFO_OFF_ALIGN (8UL)
740 :
741 : /* Encoded Size: Fixed (104 bytes) */
742 : struct __attribute__((aligned(8UL))) fd_stake_pair {
743 : fd_pubkey_t account;
744 : fd_stake_t stake;
745 : };
746 : typedef struct fd_stake_pair fd_stake_pair_t;
747 0 : #define FD_STAKE_PAIR_FOOTPRINT sizeof(fd_stake_pair_t)
748 0 : #define FD_STAKE_PAIR_ALIGN (8UL)
749 :
750 : struct __attribute__((aligned(8UL))) fd_stake_pair_off {
751 : uint account_off;
752 : uint stake_off;
753 : };
754 : typedef struct fd_stake_pair_off fd_stake_pair_off_t;
755 : #define FD_STAKE_PAIR_OFF_FOOTPRINT sizeof(fd_stake_pair_off_t)
756 : #define FD_STAKE_PAIR_OFF_ALIGN (8UL)
757 :
758 : typedef struct fd_delegation_pair_t_mapnode fd_delegation_pair_t_mapnode_t;
759 : #define REDBLK_T fd_delegation_pair_t_mapnode_t
760 : #define REDBLK_NAME fd_delegation_pair_t_map
761 : #define REDBLK_IMPL_STYLE 1
762 : #include "../../util/tmpl/fd_redblack.c"
763 : struct fd_delegation_pair_t_mapnode {
764 : fd_delegation_pair_t elem;
765 : ulong redblack_parent;
766 : ulong redblack_left;
767 : ulong redblack_right;
768 : int redblack_color;
769 : };
770 : static inline fd_delegation_pair_t_mapnode_t *
771 6 : fd_delegation_pair_t_map_alloc( fd_valloc_t valloc, ulong len ) {
772 6 : if( FD_UNLIKELY( 0 == len ) ) len = 1; // prevent underflow
773 6 : void * mem = fd_valloc_malloc( valloc, fd_delegation_pair_t_map_align(), fd_delegation_pair_t_map_footprint(len));
774 6 : return fd_delegation_pair_t_map_join(fd_delegation_pair_t_map_new(mem, len));
775 6 : }
776 : /* https://github.com/anza-xyz/agave/blob/beb3f582f784a96e59e06ef8f34e855258bcd98c/runtime/src/stakes.rs#L202 */
777 : /* Encoded Size: Dynamic */
778 : struct __attribute__((aligned(8UL))) fd_stakes {
779 : fd_vote_accounts_t vote_accounts;
780 : fd_delegation_pair_t_mapnode_t * stake_delegations_pool;
781 : fd_delegation_pair_t_mapnode_t * stake_delegations_root;
782 : ulong unused;
783 : ulong epoch;
784 : fd_stake_history_t stake_history;
785 : };
786 : typedef struct fd_stakes fd_stakes_t;
787 0 : #define FD_STAKES_FOOTPRINT sizeof(fd_stakes_t)
788 0 : #define FD_STAKES_ALIGN (8UL)
789 :
790 : struct __attribute__((aligned(8UL))) fd_stakes_off {
791 : uint vote_accounts_off;
792 : uint stake_delegations_off;
793 : uint unused_off;
794 : uint epoch_off;
795 : uint stake_history_off;
796 : };
797 : typedef struct fd_stakes_off fd_stakes_off_t;
798 : #define FD_STAKES_OFF_FOOTPRINT sizeof(fd_stakes_off_t)
799 : #define FD_STAKES_OFF_ALIGN (8UL)
800 :
801 : /* https://github.com/anza-xyz/agave/blob/beb3f582f784a96e59e06ef8f34e855258bcd98c/runtime/src/stakes.rs#L202 */
802 : /* Encoded Size: Dynamic */
803 : struct __attribute__((aligned(8UL))) fd_stakes_serializable {
804 : fd_vote_accounts_serializable_t vote_accounts;
805 : fd_delegation_pair_t_mapnode_t * stake_delegations_pool;
806 : fd_delegation_pair_t_mapnode_t * stake_delegations_root;
807 : ulong unused;
808 : ulong epoch;
809 : fd_stake_history_t stake_history;
810 : };
811 : typedef struct fd_stakes_serializable fd_stakes_serializable_t;
812 0 : #define FD_STAKES_SERIALIZABLE_FOOTPRINT sizeof(fd_stakes_serializable_t)
813 0 : #define FD_STAKES_SERIALIZABLE_ALIGN (8UL)
814 :
815 : struct __attribute__((aligned(8UL))) fd_stakes_serializable_off {
816 : uint vote_accounts_off;
817 : uint stake_delegations_off;
818 : uint unused_off;
819 : uint epoch_off;
820 : uint stake_history_off;
821 : };
822 : typedef struct fd_stakes_serializable_off fd_stakes_serializable_off_t;
823 : #define FD_STAKES_SERIALIZABLE_OFF_FOOTPRINT sizeof(fd_stakes_serializable_off_t)
824 : #define FD_STAKES_SERIALIZABLE_OFF_ALIGN (8UL)
825 :
826 : typedef struct fd_stake_pair_t_mapnode fd_stake_pair_t_mapnode_t;
827 : #define REDBLK_T fd_stake_pair_t_mapnode_t
828 : #define REDBLK_NAME fd_stake_pair_t_map
829 : #define REDBLK_IMPL_STYLE 1
830 : #include "../../util/tmpl/fd_redblack.c"
831 : struct fd_stake_pair_t_mapnode {
832 : fd_stake_pair_t elem;
833 : ulong redblack_parent;
834 : ulong redblack_left;
835 : ulong redblack_right;
836 : int redblack_color;
837 : };
838 : static inline fd_stake_pair_t_mapnode_t *
839 0 : fd_stake_pair_t_map_alloc( fd_valloc_t valloc, ulong len ) {
840 0 : if( FD_UNLIKELY( 0 == len ) ) len = 1; // prevent underflow
841 0 : void * mem = fd_valloc_malloc( valloc, fd_stake_pair_t_map_align(), fd_stake_pair_t_map_footprint(len));
842 0 : return fd_stake_pair_t_map_join(fd_stake_pair_t_map_new(mem, len));
843 0 : }
844 : /* https://github.com/anza-xyz/agave/blob/beb3f582f784a96e59e06ef8f34e855258bcd98c/runtime/src/stakes.rs#L202 */
845 : /* Encoded Size: Dynamic */
846 : struct __attribute__((aligned(8UL))) fd_stakes_stake {
847 : fd_vote_accounts_t vote_accounts;
848 : fd_stake_pair_t_mapnode_t * stake_delegations_pool;
849 : fd_stake_pair_t_mapnode_t * stake_delegations_root;
850 : ulong unused;
851 : ulong epoch;
852 : fd_stake_history_t stake_history;
853 : };
854 : typedef struct fd_stakes_stake fd_stakes_stake_t;
855 0 : #define FD_STAKES_STAKE_FOOTPRINT sizeof(fd_stakes_stake_t)
856 0 : #define FD_STAKES_STAKE_ALIGN (8UL)
857 :
858 : struct __attribute__((aligned(8UL))) fd_stakes_stake_off {
859 : uint vote_accounts_off;
860 : uint stake_delegations_off;
861 : uint unused_off;
862 : uint epoch_off;
863 : uint stake_history_off;
864 : };
865 : typedef struct fd_stakes_stake_off fd_stakes_stake_off_t;
866 : #define FD_STAKES_STAKE_OFF_FOOTPRINT sizeof(fd_stakes_stake_off_t)
867 : #define FD_STAKES_STAKE_OFF_ALIGN (8UL)
868 :
869 : /* Encoded Size: Fixed (88 bytes) */
870 : struct __attribute__((aligned(8UL))) fd_bank_incremental_snapshot_persistence {
871 : ulong full_slot;
872 : fd_hash_t full_hash;
873 : ulong full_capitalization;
874 : fd_hash_t incremental_hash;
875 : ulong incremental_capitalization;
876 : };
877 : typedef struct fd_bank_incremental_snapshot_persistence fd_bank_incremental_snapshot_persistence_t;
878 0 : #define FD_BANK_INCREMENTAL_SNAPSHOT_PERSISTENCE_FOOTPRINT sizeof(fd_bank_incremental_snapshot_persistence_t)
879 0 : #define FD_BANK_INCREMENTAL_SNAPSHOT_PERSISTENCE_ALIGN (8UL)
880 :
881 : struct __attribute__((aligned(8UL))) fd_bank_incremental_snapshot_persistence_off {
882 : uint full_slot_off;
883 : uint full_hash_off;
884 : uint full_capitalization_off;
885 : uint incremental_hash_off;
886 : uint incremental_capitalization_off;
887 : };
888 : typedef struct fd_bank_incremental_snapshot_persistence_off fd_bank_incremental_snapshot_persistence_off_t;
889 : #define FD_BANK_INCREMENTAL_SNAPSHOT_PERSISTENCE_OFF_FOOTPRINT sizeof(fd_bank_incremental_snapshot_persistence_off_t)
890 : #define FD_BANK_INCREMENTAL_SNAPSHOT_PERSISTENCE_OFF_ALIGN (8UL)
891 :
892 : /* Encoded Size: Dynamic */
893 : struct __attribute__((aligned(8UL))) fd_node_vote_accounts {
894 : ulong vote_accounts_len;
895 : fd_pubkey_t * vote_accounts;
896 : ulong total_stake;
897 : };
898 : typedef struct fd_node_vote_accounts fd_node_vote_accounts_t;
899 0 : #define FD_NODE_VOTE_ACCOUNTS_FOOTPRINT sizeof(fd_node_vote_accounts_t)
900 0 : #define FD_NODE_VOTE_ACCOUNTS_ALIGN (8UL)
901 :
902 : struct __attribute__((aligned(8UL))) fd_node_vote_accounts_off {
903 : uint vote_accounts_off;
904 : uint total_stake_off;
905 : };
906 : typedef struct fd_node_vote_accounts_off fd_node_vote_accounts_off_t;
907 : #define FD_NODE_VOTE_ACCOUNTS_OFF_FOOTPRINT sizeof(fd_node_vote_accounts_off_t)
908 : #define FD_NODE_VOTE_ACCOUNTS_OFF_ALIGN (8UL)
909 :
910 : /* Encoded Size: Dynamic */
911 : struct __attribute__((aligned(8UL))) fd_pubkey_node_vote_accounts_pair {
912 : fd_pubkey_t key;
913 : fd_node_vote_accounts_t value;
914 : };
915 : typedef struct fd_pubkey_node_vote_accounts_pair fd_pubkey_node_vote_accounts_pair_t;
916 0 : #define FD_PUBKEY_NODE_VOTE_ACCOUNTS_PAIR_FOOTPRINT sizeof(fd_pubkey_node_vote_accounts_pair_t)
917 0 : #define FD_PUBKEY_NODE_VOTE_ACCOUNTS_PAIR_ALIGN (8UL)
918 :
919 : struct __attribute__((aligned(8UL))) fd_pubkey_node_vote_accounts_pair_off {
920 : uint key_off;
921 : uint value_off;
922 : };
923 : typedef struct fd_pubkey_node_vote_accounts_pair_off fd_pubkey_node_vote_accounts_pair_off_t;
924 : #define FD_PUBKEY_NODE_VOTE_ACCOUNTS_PAIR_OFF_FOOTPRINT sizeof(fd_pubkey_node_vote_accounts_pair_off_t)
925 : #define FD_PUBKEY_NODE_VOTE_ACCOUNTS_PAIR_OFF_ALIGN (8UL)
926 :
927 : /* Encoded Size: Fixed (64 bytes) */
928 : struct __attribute__((aligned(8UL))) fd_pubkey_pubkey_pair {
929 : fd_pubkey_t key;
930 : fd_pubkey_t value;
931 : };
932 : typedef struct fd_pubkey_pubkey_pair fd_pubkey_pubkey_pair_t;
933 0 : #define FD_PUBKEY_PUBKEY_PAIR_FOOTPRINT sizeof(fd_pubkey_pubkey_pair_t)
934 0 : #define FD_PUBKEY_PUBKEY_PAIR_ALIGN (8UL)
935 :
936 : struct __attribute__((aligned(8UL))) fd_pubkey_pubkey_pair_off {
937 : uint key_off;
938 : uint value_off;
939 : };
940 : typedef struct fd_pubkey_pubkey_pair_off fd_pubkey_pubkey_pair_off_t;
941 : #define FD_PUBKEY_PUBKEY_PAIR_OFF_FOOTPRINT sizeof(fd_pubkey_pubkey_pair_off_t)
942 : #define FD_PUBKEY_PUBKEY_PAIR_OFF_ALIGN (8UL)
943 :
944 : /* Encoded Size: Dynamic */
945 : struct __attribute__((aligned(8UL))) fd_epoch_stakes {
946 : fd_stakes_t stakes;
947 : ulong total_stake;
948 : ulong node_id_to_vote_accounts_len;
949 : fd_pubkey_node_vote_accounts_pair_t * node_id_to_vote_accounts;
950 : ulong epoch_authorized_voters_len;
951 : fd_pubkey_pubkey_pair_t * epoch_authorized_voters;
952 : };
953 : typedef struct fd_epoch_stakes fd_epoch_stakes_t;
954 0 : #define FD_EPOCH_STAKES_FOOTPRINT sizeof(fd_epoch_stakes_t)
955 0 : #define FD_EPOCH_STAKES_ALIGN (8UL)
956 :
957 : struct __attribute__((aligned(8UL))) fd_epoch_stakes_off {
958 : uint stakes_off;
959 : uint total_stake_off;
960 : uint node_id_to_vote_accounts_off;
961 : uint epoch_authorized_voters_off;
962 : };
963 : typedef struct fd_epoch_stakes_off fd_epoch_stakes_off_t;
964 : #define FD_EPOCH_STAKES_OFF_FOOTPRINT sizeof(fd_epoch_stakes_off_t)
965 : #define FD_EPOCH_STAKES_OFF_ALIGN (8UL)
966 :
967 : /* Encoded Size: Dynamic */
968 : struct __attribute__((aligned(8UL))) fd_epoch_epoch_stakes_pair {
969 : ulong key;
970 : fd_epoch_stakes_t value;
971 : };
972 : typedef struct fd_epoch_epoch_stakes_pair fd_epoch_epoch_stakes_pair_t;
973 0 : #define FD_EPOCH_EPOCH_STAKES_PAIR_FOOTPRINT sizeof(fd_epoch_epoch_stakes_pair_t)
974 0 : #define FD_EPOCH_EPOCH_STAKES_PAIR_ALIGN (8UL)
975 :
976 : struct __attribute__((aligned(8UL))) fd_epoch_epoch_stakes_pair_off {
977 : uint key_off;
978 : uint value_off;
979 : };
980 : typedef struct fd_epoch_epoch_stakes_pair_off fd_epoch_epoch_stakes_pair_off_t;
981 : #define FD_EPOCH_EPOCH_STAKES_PAIR_OFF_FOOTPRINT sizeof(fd_epoch_epoch_stakes_pair_off_t)
982 : #define FD_EPOCH_EPOCH_STAKES_PAIR_OFF_ALIGN (8UL)
983 :
984 : /* Encoded Size: Fixed (40 bytes) */
985 : struct __attribute__((aligned(8UL))) fd_pubkey_u64_pair {
986 : fd_pubkey_t _0;
987 : ulong _1;
988 : };
989 : typedef struct fd_pubkey_u64_pair fd_pubkey_u64_pair_t;
990 0 : #define FD_PUBKEY_U64_PAIR_FOOTPRINT sizeof(fd_pubkey_u64_pair_t)
991 0 : #define FD_PUBKEY_U64_PAIR_ALIGN (8UL)
992 :
993 : struct __attribute__((aligned(8UL))) fd_pubkey_u64_pair_off {
994 : uint _0_off;
995 : uint _1_off;
996 : };
997 : typedef struct fd_pubkey_u64_pair_off fd_pubkey_u64_pair_off_t;
998 : #define FD_PUBKEY_U64_PAIR_OFF_FOOTPRINT sizeof(fd_pubkey_u64_pair_off_t)
999 : #define FD_PUBKEY_U64_PAIR_OFF_ALIGN (8UL)
1000 :
1001 : /* Encoded Size: Dynamic */
1002 : struct __attribute__((aligned(8UL))) fd_unused_accounts {
1003 : ulong unused1_len;
1004 : fd_pubkey_t * unused1;
1005 : ulong unused2_len;
1006 : fd_pubkey_t * unused2;
1007 : ulong unused3_len;
1008 : fd_pubkey_u64_pair_t * unused3;
1009 : };
1010 : typedef struct fd_unused_accounts fd_unused_accounts_t;
1011 0 : #define FD_UNUSED_ACCOUNTS_FOOTPRINT sizeof(fd_unused_accounts_t)
1012 0 : #define FD_UNUSED_ACCOUNTS_ALIGN (8UL)
1013 :
1014 : struct __attribute__((aligned(8UL))) fd_unused_accounts_off {
1015 : uint unused1_off;
1016 : uint unused2_off;
1017 : uint unused3_off;
1018 : };
1019 : typedef struct fd_unused_accounts_off fd_unused_accounts_off_t;
1020 : #define FD_UNUSED_ACCOUNTS_OFF_FOOTPRINT sizeof(fd_unused_accounts_off_t)
1021 : #define FD_UNUSED_ACCOUNTS_OFF_ALIGN (8UL)
1022 :
1023 : /* https://github.com/solana-labs/solana/blob/88aeaa82a856fc807234e7da0b31b89f2dc0e091/runtime/src/bank.rs#L967 */
1024 : /* Encoded Size: Dynamic */
1025 : struct __attribute__((aligned(16UL))) fd_deserializable_versioned_bank {
1026 : fd_block_hash_vec_t blockhash_queue;
1027 : ulong ancestors_len;
1028 : fd_slot_pair_t * ancestors;
1029 : fd_hash_t hash;
1030 : fd_hash_t parent_hash;
1031 : ulong parent_slot;
1032 : fd_hard_forks_t hard_forks;
1033 : ulong transaction_count;
1034 : ulong tick_height;
1035 : ulong signature_count;
1036 : ulong capitalization;
1037 : ulong max_tick_height;
1038 : ulong* hashes_per_tick;
1039 : ulong ticks_per_slot;
1040 : uint128 ns_per_slot;
1041 : ulong genesis_creation_time;
1042 : double slots_per_year;
1043 : ulong accounts_data_len;
1044 : ulong slot;
1045 : ulong epoch;
1046 : ulong block_height;
1047 : fd_pubkey_t collector_id;
1048 : ulong collector_fees;
1049 : fd_fee_calculator_t fee_calculator;
1050 : fd_fee_rate_governor_t fee_rate_governor;
1051 : ulong collected_rent;
1052 : fd_rent_collector_t rent_collector;
1053 : fd_epoch_schedule_t epoch_schedule;
1054 : fd_inflation_t inflation;
1055 : fd_stakes_t stakes;
1056 : fd_unused_accounts_t unused_accounts;
1057 : ulong epoch_stakes_len;
1058 : fd_epoch_epoch_stakes_pair_t * epoch_stakes;
1059 : uchar is_delta;
1060 : };
1061 : typedef struct fd_deserializable_versioned_bank fd_deserializable_versioned_bank_t;
1062 0 : #define FD_DESERIALIZABLE_VERSIONED_BANK_FOOTPRINT sizeof(fd_deserializable_versioned_bank_t)
1063 0 : #define FD_DESERIALIZABLE_VERSIONED_BANK_ALIGN (16UL)
1064 :
1065 : struct __attribute__((aligned(16UL))) fd_deserializable_versioned_bank_off {
1066 : uint blockhash_queue_off;
1067 : uint ancestors_off;
1068 : uint hash_off;
1069 : uint parent_hash_off;
1070 : uint parent_slot_off;
1071 : uint hard_forks_off;
1072 : uint transaction_count_off;
1073 : uint tick_height_off;
1074 : uint signature_count_off;
1075 : uint capitalization_off;
1076 : uint max_tick_height_off;
1077 : uint hashes_per_tick_off;
1078 : uint ticks_per_slot_off;
1079 : uint ns_per_slot_off;
1080 : uint genesis_creation_time_off;
1081 : uint slots_per_year_off;
1082 : uint accounts_data_len_off;
1083 : uint slot_off;
1084 : uint epoch_off;
1085 : uint block_height_off;
1086 : uint collector_id_off;
1087 : uint collector_fees_off;
1088 : uint fee_calculator_off;
1089 : uint fee_rate_governor_off;
1090 : uint collected_rent_off;
1091 : uint rent_collector_off;
1092 : uint epoch_schedule_off;
1093 : uint inflation_off;
1094 : uint stakes_off;
1095 : uint unused_accounts_off;
1096 : uint epoch_stakes_off;
1097 : uint is_delta_off;
1098 : };
1099 : typedef struct fd_deserializable_versioned_bank_off fd_deserializable_versioned_bank_off_t;
1100 : #define FD_DESERIALIZABLE_VERSIONED_BANK_OFF_FOOTPRINT sizeof(fd_deserializable_versioned_bank_off_t)
1101 : #define FD_DESERIALIZABLE_VERSIONED_BANK_OFF_ALIGN (16UL)
1102 :
1103 : /* TODO: This should replace the deserializable_versioned_bank */
1104 : /* Encoded Size: Dynamic */
1105 : struct __attribute__((aligned(16UL))) fd_serializable_versioned_bank {
1106 : fd_block_hash_vec_t blockhash_queue;
1107 : ulong ancestors_len;
1108 : fd_slot_pair_t * ancestors;
1109 : fd_hash_t hash;
1110 : fd_hash_t parent_hash;
1111 : ulong parent_slot;
1112 : fd_hard_forks_t hard_forks;
1113 : ulong transaction_count;
1114 : ulong tick_height;
1115 : ulong signature_count;
1116 : ulong capitalization;
1117 : ulong max_tick_height;
1118 : ulong* hashes_per_tick;
1119 : ulong ticks_per_slot;
1120 : uint128 ns_per_slot;
1121 : ulong genesis_creation_time;
1122 : double slots_per_year;
1123 : ulong accounts_data_len;
1124 : ulong slot;
1125 : ulong epoch;
1126 : ulong block_height;
1127 : fd_pubkey_t collector_id;
1128 : ulong collector_fees;
1129 : fd_fee_calculator_t fee_calculator;
1130 : fd_fee_rate_governor_t fee_rate_governor;
1131 : ulong collected_rent;
1132 : fd_rent_collector_t rent_collector;
1133 : fd_epoch_schedule_t epoch_schedule;
1134 : fd_inflation_t inflation;
1135 : fd_stakes_serializable_t stakes;
1136 : fd_unused_accounts_t unused_accounts;
1137 : ulong epoch_stakes_len;
1138 : fd_epoch_epoch_stakes_pair_t * epoch_stakes;
1139 : uchar is_delta;
1140 : };
1141 : typedef struct fd_serializable_versioned_bank fd_serializable_versioned_bank_t;
1142 0 : #define FD_SERIALIZABLE_VERSIONED_BANK_FOOTPRINT sizeof(fd_serializable_versioned_bank_t)
1143 0 : #define FD_SERIALIZABLE_VERSIONED_BANK_ALIGN (16UL)
1144 :
1145 : struct __attribute__((aligned(16UL))) fd_serializable_versioned_bank_off {
1146 : uint blockhash_queue_off;
1147 : uint ancestors_off;
1148 : uint hash_off;
1149 : uint parent_hash_off;
1150 : uint parent_slot_off;
1151 : uint hard_forks_off;
1152 : uint transaction_count_off;
1153 : uint tick_height_off;
1154 : uint signature_count_off;
1155 : uint capitalization_off;
1156 : uint max_tick_height_off;
1157 : uint hashes_per_tick_off;
1158 : uint ticks_per_slot_off;
1159 : uint ns_per_slot_off;
1160 : uint genesis_creation_time_off;
1161 : uint slots_per_year_off;
1162 : uint accounts_data_len_off;
1163 : uint slot_off;
1164 : uint epoch_off;
1165 : uint block_height_off;
1166 : uint collector_id_off;
1167 : uint collector_fees_off;
1168 : uint fee_calculator_off;
1169 : uint fee_rate_governor_off;
1170 : uint collected_rent_off;
1171 : uint rent_collector_off;
1172 : uint epoch_schedule_off;
1173 : uint inflation_off;
1174 : uint stakes_off;
1175 : uint unused_accounts_off;
1176 : uint epoch_stakes_off;
1177 : uint is_delta_off;
1178 : };
1179 : typedef struct fd_serializable_versioned_bank_off fd_serializable_versioned_bank_off_t;
1180 : #define FD_SERIALIZABLE_VERSIONED_BANK_OFF_FOOTPRINT sizeof(fd_serializable_versioned_bank_off_t)
1181 : #define FD_SERIALIZABLE_VERSIONED_BANK_OFF_ALIGN (16UL)
1182 :
1183 : /* Encoded Size: Fixed (40 bytes) */
1184 : struct __attribute__((aligned(8UL))) fd_bank_hash_stats {
1185 : ulong num_updated_accounts;
1186 : ulong num_removed_accounts;
1187 : ulong num_lamports_stored;
1188 : ulong total_data_len;
1189 : ulong num_executable_accounts;
1190 : };
1191 : typedef struct fd_bank_hash_stats fd_bank_hash_stats_t;
1192 0 : #define FD_BANK_HASH_STATS_FOOTPRINT sizeof(fd_bank_hash_stats_t)
1193 0 : #define FD_BANK_HASH_STATS_ALIGN (8UL)
1194 :
1195 : struct __attribute__((aligned(8UL))) fd_bank_hash_stats_off {
1196 : uint num_updated_accounts_off;
1197 : uint num_removed_accounts_off;
1198 : uint num_lamports_stored_off;
1199 : uint total_data_len_off;
1200 : uint num_executable_accounts_off;
1201 : };
1202 : typedef struct fd_bank_hash_stats_off fd_bank_hash_stats_off_t;
1203 : #define FD_BANK_HASH_STATS_OFF_FOOTPRINT sizeof(fd_bank_hash_stats_off_t)
1204 : #define FD_BANK_HASH_STATS_OFF_ALIGN (8UL)
1205 :
1206 : /* Encoded Size: Fixed (104 bytes) */
1207 : struct __attribute__((aligned(8UL))) fd_bank_hash_info {
1208 : fd_hash_t accounts_delta_hash;
1209 : fd_hash_t accounts_hash;
1210 : fd_bank_hash_stats_t stats;
1211 : };
1212 : typedef struct fd_bank_hash_info fd_bank_hash_info_t;
1213 0 : #define FD_BANK_HASH_INFO_FOOTPRINT sizeof(fd_bank_hash_info_t)
1214 0 : #define FD_BANK_HASH_INFO_ALIGN (8UL)
1215 :
1216 : struct __attribute__((aligned(8UL))) fd_bank_hash_info_off {
1217 : uint accounts_delta_hash_off;
1218 : uint accounts_hash_off;
1219 : uint stats_off;
1220 : };
1221 : typedef struct fd_bank_hash_info_off fd_bank_hash_info_off_t;
1222 : #define FD_BANK_HASH_INFO_OFF_FOOTPRINT sizeof(fd_bank_hash_info_off_t)
1223 : #define FD_BANK_HASH_INFO_OFF_ALIGN (8UL)
1224 :
1225 : /* Encoded Size: Fixed (40 bytes) */
1226 : struct __attribute__((aligned(8UL))) fd_slot_map_pair {
1227 : ulong slot;
1228 : fd_hash_t hash;
1229 : };
1230 : typedef struct fd_slot_map_pair fd_slot_map_pair_t;
1231 0 : #define FD_SLOT_MAP_PAIR_FOOTPRINT sizeof(fd_slot_map_pair_t)
1232 0 : #define FD_SLOT_MAP_PAIR_ALIGN (8UL)
1233 :
1234 : struct __attribute__((aligned(8UL))) fd_slot_map_pair_off {
1235 : uint slot_off;
1236 : uint hash_off;
1237 : };
1238 : typedef struct fd_slot_map_pair_off fd_slot_map_pair_off_t;
1239 : #define FD_SLOT_MAP_PAIR_OFF_FOOTPRINT sizeof(fd_slot_map_pair_off_t)
1240 : #define FD_SLOT_MAP_PAIR_OFF_ALIGN (8UL)
1241 :
1242 : /* Encoded Size: Fixed (16 bytes) */
1243 : struct __attribute__((aligned(8UL))) fd_snapshot_acc_vec {
1244 : ulong id;
1245 : ulong file_sz;
1246 : };
1247 : typedef struct fd_snapshot_acc_vec fd_snapshot_acc_vec_t;
1248 0 : #define FD_SNAPSHOT_ACC_VEC_FOOTPRINT sizeof(fd_snapshot_acc_vec_t)
1249 0 : #define FD_SNAPSHOT_ACC_VEC_ALIGN (8UL)
1250 :
1251 : struct __attribute__((aligned(8UL))) fd_snapshot_acc_vec_off {
1252 : uint id_off;
1253 : uint file_sz_off;
1254 : };
1255 : typedef struct fd_snapshot_acc_vec_off fd_snapshot_acc_vec_off_t;
1256 : #define FD_SNAPSHOT_ACC_VEC_OFF_FOOTPRINT sizeof(fd_snapshot_acc_vec_off_t)
1257 : #define FD_SNAPSHOT_ACC_VEC_OFF_ALIGN (8UL)
1258 :
1259 : /* Encoded Size: Dynamic */
1260 : struct __attribute__((aligned(8UL))) fd_snapshot_slot_acc_vecs {
1261 : ulong slot;
1262 : ulong account_vecs_len;
1263 : fd_snapshot_acc_vec_t * account_vecs;
1264 : };
1265 : typedef struct fd_snapshot_slot_acc_vecs fd_snapshot_slot_acc_vecs_t;
1266 0 : #define FD_SNAPSHOT_SLOT_ACC_VECS_FOOTPRINT sizeof(fd_snapshot_slot_acc_vecs_t)
1267 0 : #define FD_SNAPSHOT_SLOT_ACC_VECS_ALIGN (8UL)
1268 :
1269 : struct __attribute__((aligned(8UL))) fd_snapshot_slot_acc_vecs_off {
1270 : uint slot_off;
1271 : uint account_vecs_off;
1272 : };
1273 : typedef struct fd_snapshot_slot_acc_vecs_off fd_snapshot_slot_acc_vecs_off_t;
1274 : #define FD_SNAPSHOT_SLOT_ACC_VECS_OFF_FOOTPRINT sizeof(fd_snapshot_slot_acc_vecs_off_t)
1275 : #define FD_SNAPSHOT_SLOT_ACC_VECS_OFF_ALIGN (8UL)
1276 :
1277 : union fd_reward_type_inner {
1278 : uchar nonempty; /* Hack to support enums with no inner structures */
1279 : };
1280 : typedef union fd_reward_type_inner fd_reward_type_inner_t;
1281 :
1282 : /* https://github.com/anza-xyz/agave/blob/7117ed9653ce19e8b2dea108eff1f3eb6a3378a7/sdk/src/reward_type.rs#L7 */
1283 : struct fd_reward_type {
1284 : uint discriminant;
1285 : fd_reward_type_inner_t inner;
1286 : };
1287 : typedef struct fd_reward_type fd_reward_type_t;
1288 0 : #define FD_REWARD_TYPE_FOOTPRINT sizeof(fd_reward_type_t)
1289 0 : #define FD_REWARD_TYPE_ALIGN (8UL)
1290 :
1291 : /* Accounts DB related fields in a snapshot */
1292 : /* Encoded Size: Dynamic */
1293 : struct __attribute__((aligned(8UL))) fd_solana_accounts_db_fields {
1294 : ulong storages_len;
1295 : fd_snapshot_slot_acc_vecs_t * storages;
1296 : ulong version;
1297 : ulong slot;
1298 : fd_bank_hash_info_t bank_hash_info;
1299 : ulong historical_roots_len;
1300 : ulong* historical_roots;
1301 : ulong historical_roots_with_hash_len;
1302 : fd_slot_map_pair_t * historical_roots_with_hash;
1303 : };
1304 : typedef struct fd_solana_accounts_db_fields fd_solana_accounts_db_fields_t;
1305 0 : #define FD_SOLANA_ACCOUNTS_DB_FIELDS_FOOTPRINT sizeof(fd_solana_accounts_db_fields_t)
1306 0 : #define FD_SOLANA_ACCOUNTS_DB_FIELDS_ALIGN (8UL)
1307 :
1308 : struct __attribute__((aligned(8UL))) fd_solana_accounts_db_fields_off {
1309 : uint storages_off;
1310 : uint version_off;
1311 : uint slot_off;
1312 : uint bank_hash_info_off;
1313 : uint historical_roots_off;
1314 : uint historical_roots_with_hash_off;
1315 : };
1316 : typedef struct fd_solana_accounts_db_fields_off fd_solana_accounts_db_fields_off_t;
1317 : #define FD_SOLANA_ACCOUNTS_DB_FIELDS_OFF_FOOTPRINT sizeof(fd_solana_accounts_db_fields_off_t)
1318 : #define FD_SOLANA_ACCOUNTS_DB_FIELDS_OFF_ALIGN (8UL)
1319 :
1320 : /* Encoded Size: Dynamic */
1321 : struct __attribute__((aligned(8UL))) fd_versioned_epoch_stakes_current {
1322 : fd_stakes_stake_t stakes;
1323 : ulong total_stake;
1324 : ulong node_id_to_vote_accounts_len;
1325 : fd_pubkey_node_vote_accounts_pair_t * node_id_to_vote_accounts;
1326 : ulong epoch_authorized_voters_len;
1327 : fd_pubkey_pubkey_pair_t * epoch_authorized_voters;
1328 : };
1329 : typedef struct fd_versioned_epoch_stakes_current fd_versioned_epoch_stakes_current_t;
1330 0 : #define FD_VERSIONED_EPOCH_STAKES_CURRENT_FOOTPRINT sizeof(fd_versioned_epoch_stakes_current_t)
1331 0 : #define FD_VERSIONED_EPOCH_STAKES_CURRENT_ALIGN (8UL)
1332 :
1333 : struct __attribute__((aligned(8UL))) fd_versioned_epoch_stakes_current_off {
1334 : uint stakes_off;
1335 : uint total_stake_off;
1336 : uint node_id_to_vote_accounts_off;
1337 : uint epoch_authorized_voters_off;
1338 : };
1339 : typedef struct fd_versioned_epoch_stakes_current_off fd_versioned_epoch_stakes_current_off_t;
1340 : #define FD_VERSIONED_EPOCH_STAKES_CURRENT_OFF_FOOTPRINT sizeof(fd_versioned_epoch_stakes_current_off_t)
1341 : #define FD_VERSIONED_EPOCH_STAKES_CURRENT_OFF_ALIGN (8UL)
1342 :
1343 : union fd_versioned_epoch_stakes_inner {
1344 : fd_versioned_epoch_stakes_current_t Current;
1345 : };
1346 : typedef union fd_versioned_epoch_stakes_inner fd_versioned_epoch_stakes_inner_t;
1347 :
1348 : struct fd_versioned_epoch_stakes {
1349 : uint discriminant;
1350 : fd_versioned_epoch_stakes_inner_t inner;
1351 : };
1352 : typedef struct fd_versioned_epoch_stakes fd_versioned_epoch_stakes_t;
1353 0 : #define FD_VERSIONED_EPOCH_STAKES_FOOTPRINT sizeof(fd_versioned_epoch_stakes_t)
1354 0 : #define FD_VERSIONED_EPOCH_STAKES_ALIGN (8UL)
1355 :
1356 : /* Encoded Size: Dynamic */
1357 : struct __attribute__((aligned(8UL))) fd_versioned_epoch_stakes_pair {
1358 : ulong epoch;
1359 : fd_versioned_epoch_stakes_t val;
1360 : };
1361 : typedef struct fd_versioned_epoch_stakes_pair fd_versioned_epoch_stakes_pair_t;
1362 0 : #define FD_VERSIONED_EPOCH_STAKES_PAIR_FOOTPRINT sizeof(fd_versioned_epoch_stakes_pair_t)
1363 0 : #define FD_VERSIONED_EPOCH_STAKES_PAIR_ALIGN (8UL)
1364 :
1365 : struct __attribute__((aligned(8UL))) fd_versioned_epoch_stakes_pair_off {
1366 : uint epoch_off;
1367 : uint val_off;
1368 : };
1369 : typedef struct fd_versioned_epoch_stakes_pair_off fd_versioned_epoch_stakes_pair_off_t;
1370 : #define FD_VERSIONED_EPOCH_STAKES_PAIR_OFF_FOOTPRINT sizeof(fd_versioned_epoch_stakes_pair_off_t)
1371 : #define FD_VERSIONED_EPOCH_STAKES_PAIR_OFF_ALIGN (8UL)
1372 :
1373 : /* https://github.com/anza-xyz/agave/blob/7117ed9653ce19e8b2dea108eff1f3eb6a3378a7/sdk/src/reward_info.rs#L5 */
1374 : /* Encoded Size: Fixed (28 bytes) */
1375 : struct __attribute__((aligned(8UL))) fd_reward_info {
1376 : fd_reward_type_t reward_type;
1377 : ulong lamports;
1378 : ulong post_balance;
1379 : ulong commission;
1380 : };
1381 : typedef struct fd_reward_info fd_reward_info_t;
1382 0 : #define FD_REWARD_INFO_FOOTPRINT sizeof(fd_reward_info_t)
1383 0 : #define FD_REWARD_INFO_ALIGN (8UL)
1384 :
1385 : struct __attribute__((aligned(8UL))) fd_reward_info_off {
1386 : uint reward_type_off;
1387 : uint lamports_off;
1388 : uint post_balance_off;
1389 : uint commission_off;
1390 : };
1391 : typedef struct fd_reward_info_off fd_reward_info_off_t;
1392 : #define FD_REWARD_INFO_OFF_FOOTPRINT sizeof(fd_reward_info_off_t)
1393 : #define FD_REWARD_INFO_OFF_ALIGN (8UL)
1394 :
1395 : /* You can cast this to a (fd_lthash_value_t *) and use it directly since the alignment is preserved */
1396 : /* Encoded Size: Fixed (2048 bytes) */
1397 : struct __attribute__((aligned(128UL))) fd_slot_lthash {
1398 : uchar lthash[2048];
1399 : };
1400 : typedef struct fd_slot_lthash fd_slot_lthash_t;
1401 0 : #define FD_SLOT_LTHASH_FOOTPRINT sizeof(fd_slot_lthash_t)
1402 0 : #define FD_SLOT_LTHASH_ALIGN (128UL)
1403 :
1404 : struct __attribute__((aligned(128UL))) fd_slot_lthash_off {
1405 : uint lthash_off;
1406 : };
1407 : typedef struct fd_slot_lthash_off fd_slot_lthash_off_t;
1408 : #define FD_SLOT_LTHASH_OFF_FOOTPRINT sizeof(fd_slot_lthash_off_t)
1409 : #define FD_SLOT_LTHASH_OFF_ALIGN (128UL)
1410 :
1411 : /* Encoded Size: Dynamic */
1412 : struct __attribute__((aligned(16UL))) fd_solana_manifest {
1413 : fd_deserializable_versioned_bank_t bank;
1414 : fd_solana_accounts_db_fields_t accounts_db;
1415 : ulong lamports_per_signature;
1416 : fd_bank_incremental_snapshot_persistence_t * bank_incremental_snapshot_persistence;
1417 : fd_hash_t * epoch_account_hash;
1418 : ulong versioned_epoch_stakes_len;
1419 : fd_versioned_epoch_stakes_pair_t * versioned_epoch_stakes;
1420 : fd_slot_lthash_t * lthash;
1421 : };
1422 : typedef struct fd_solana_manifest fd_solana_manifest_t;
1423 0 : #define FD_SOLANA_MANIFEST_FOOTPRINT sizeof(fd_solana_manifest_t)
1424 0 : #define FD_SOLANA_MANIFEST_ALIGN (16UL)
1425 :
1426 : struct __attribute__((aligned(16UL))) fd_solana_manifest_off {
1427 : uint bank_off;
1428 : uint accounts_db_off;
1429 : uint lamports_per_signature_off;
1430 : uint bank_incremental_snapshot_persistence_off;
1431 : uint epoch_account_hash_off;
1432 : uint versioned_epoch_stakes_off;
1433 : uint lthash_off;
1434 : };
1435 : typedef struct fd_solana_manifest_off fd_solana_manifest_off_t;
1436 : #define FD_SOLANA_MANIFEST_OFF_FOOTPRINT sizeof(fd_solana_manifest_off_t)
1437 : #define FD_SOLANA_MANIFEST_OFF_ALIGN (16UL)
1438 :
1439 : /* Encoded Size: Dynamic */
1440 : struct __attribute__((aligned(16UL))) fd_solana_manifest_serializable {
1441 : fd_serializable_versioned_bank_t bank;
1442 : fd_solana_accounts_db_fields_t accounts_db;
1443 : ulong lamports_per_signature;
1444 : fd_bank_incremental_snapshot_persistence_t * bank_incremental_snapshot_persistence;
1445 : fd_hash_t * epoch_account_hash;
1446 : ulong versioned_epoch_stakes_len;
1447 : fd_versioned_epoch_stakes_pair_t * versioned_epoch_stakes;
1448 : };
1449 : typedef struct fd_solana_manifest_serializable fd_solana_manifest_serializable_t;
1450 0 : #define FD_SOLANA_MANIFEST_SERIALIZABLE_FOOTPRINT sizeof(fd_solana_manifest_serializable_t)
1451 0 : #define FD_SOLANA_MANIFEST_SERIALIZABLE_ALIGN (16UL)
1452 :
1453 : struct __attribute__((aligned(16UL))) fd_solana_manifest_serializable_off {
1454 : uint bank_off;
1455 : uint accounts_db_off;
1456 : uint lamports_per_signature_off;
1457 : uint bank_incremental_snapshot_persistence_off;
1458 : uint epoch_account_hash_off;
1459 : uint versioned_epoch_stakes_off;
1460 : };
1461 : typedef struct fd_solana_manifest_serializable_off fd_solana_manifest_serializable_off_t;
1462 : #define FD_SOLANA_MANIFEST_SERIALIZABLE_OFF_FOOTPRINT sizeof(fd_solana_manifest_serializable_off_t)
1463 : #define FD_SOLANA_MANIFEST_SERIALIZABLE_OFF_ALIGN (16UL)
1464 :
1465 : /* Encoded Size: Fixed (12 bytes) */
1466 : struct __attribute__((aligned(8UL))) fd_rust_duration {
1467 : ulong seconds;
1468 : uint nanoseconds;
1469 : };
1470 : typedef struct fd_rust_duration fd_rust_duration_t;
1471 0 : #define FD_RUST_DURATION_FOOTPRINT sizeof(fd_rust_duration_t)
1472 0 : #define FD_RUST_DURATION_ALIGN (8UL)
1473 :
1474 : struct __attribute__((aligned(8UL))) fd_rust_duration_off {
1475 : uint seconds_off;
1476 : uint nanoseconds_off;
1477 : };
1478 : typedef struct fd_rust_duration_off fd_rust_duration_off_t;
1479 : #define FD_RUST_DURATION_OFF_FOOTPRINT sizeof(fd_rust_duration_off_t)
1480 : #define FD_RUST_DURATION_OFF_ALIGN (8UL)
1481 :
1482 : /* Encoded Size: Dynamic */
1483 : struct __attribute__((aligned(8UL))) fd_poh_config {
1484 : fd_rust_duration_t target_tick_duration;
1485 : ulong* target_tick_count;
1486 : ulong hashes_per_tick;
1487 : uchar has_hashes_per_tick;
1488 : };
1489 : typedef struct fd_poh_config fd_poh_config_t;
1490 0 : #define FD_POH_CONFIG_FOOTPRINT sizeof(fd_poh_config_t)
1491 0 : #define FD_POH_CONFIG_ALIGN (8UL)
1492 :
1493 : struct __attribute__((aligned(8UL))) fd_poh_config_off {
1494 : uint target_tick_duration_off;
1495 : uint target_tick_count_off;
1496 : uint hashes_per_tick_off;
1497 : };
1498 : typedef struct fd_poh_config_off fd_poh_config_off_t;
1499 : #define FD_POH_CONFIG_OFF_FOOTPRINT sizeof(fd_poh_config_off_t)
1500 : #define FD_POH_CONFIG_OFF_ALIGN (8UL)
1501 :
1502 : /* Encoded Size: Dynamic */
1503 : struct __attribute__((aligned(8UL))) fd_string_pubkey_pair {
1504 : ulong string_len;
1505 : uchar* string;
1506 : fd_pubkey_t pubkey;
1507 : };
1508 : typedef struct fd_string_pubkey_pair fd_string_pubkey_pair_t;
1509 0 : #define FD_STRING_PUBKEY_PAIR_FOOTPRINT sizeof(fd_string_pubkey_pair_t)
1510 0 : #define FD_STRING_PUBKEY_PAIR_ALIGN (8UL)
1511 :
1512 : struct __attribute__((aligned(8UL))) fd_string_pubkey_pair_off {
1513 : uint string_off;
1514 : uint pubkey_off;
1515 : };
1516 : typedef struct fd_string_pubkey_pair_off fd_string_pubkey_pair_off_t;
1517 : #define FD_STRING_PUBKEY_PAIR_OFF_FOOTPRINT sizeof(fd_string_pubkey_pair_off_t)
1518 : #define FD_STRING_PUBKEY_PAIR_OFF_ALIGN (8UL)
1519 :
1520 : /* Encoded Size: Dynamic */
1521 : struct __attribute__((aligned(8UL))) fd_pubkey_account_pair {
1522 : fd_pubkey_t key;
1523 : fd_solana_account_t account;
1524 : };
1525 : typedef struct fd_pubkey_account_pair fd_pubkey_account_pair_t;
1526 0 : #define FD_PUBKEY_ACCOUNT_PAIR_FOOTPRINT sizeof(fd_pubkey_account_pair_t)
1527 0 : #define FD_PUBKEY_ACCOUNT_PAIR_ALIGN (8UL)
1528 :
1529 : struct __attribute__((aligned(8UL))) fd_pubkey_account_pair_off {
1530 : uint key_off;
1531 : uint account_off;
1532 : };
1533 : typedef struct fd_pubkey_account_pair_off fd_pubkey_account_pair_off_t;
1534 : #define FD_PUBKEY_ACCOUNT_PAIR_OFF_FOOTPRINT sizeof(fd_pubkey_account_pair_off_t)
1535 : #define FD_PUBKEY_ACCOUNT_PAIR_OFF_ALIGN (8UL)
1536 :
1537 : /* Encoded Size: Dynamic */
1538 : struct __attribute__((aligned(8UL))) fd_genesis_solana {
1539 : ulong creation_time;
1540 : ulong accounts_len;
1541 : fd_pubkey_account_pair_t * accounts;
1542 : ulong native_instruction_processors_len;
1543 : fd_string_pubkey_pair_t * native_instruction_processors;
1544 : ulong rewards_pools_len;
1545 : fd_pubkey_account_pair_t * rewards_pools;
1546 : ulong ticks_per_slot;
1547 : ulong unused;
1548 : fd_poh_config_t poh_config;
1549 : ulong __backwards_compat_with_v0_23;
1550 : fd_fee_rate_governor_t fee_rate_governor;
1551 : fd_rent_t rent;
1552 : fd_inflation_t inflation;
1553 : fd_epoch_schedule_t epoch_schedule;
1554 : uint cluster_type;
1555 : };
1556 : typedef struct fd_genesis_solana fd_genesis_solana_t;
1557 0 : #define FD_GENESIS_SOLANA_FOOTPRINT sizeof(fd_genesis_solana_t)
1558 0 : #define FD_GENESIS_SOLANA_ALIGN (8UL)
1559 :
1560 : struct __attribute__((aligned(8UL))) fd_genesis_solana_off {
1561 : uint creation_time_off;
1562 : uint accounts_off;
1563 : uint native_instruction_processors_off;
1564 : uint rewards_pools_off;
1565 : uint ticks_per_slot_off;
1566 : uint unused_off;
1567 : uint poh_config_off;
1568 : uint __backwards_compat_with_v0_23_off;
1569 : uint fee_rate_governor_off;
1570 : uint rent_off;
1571 : uint inflation_off;
1572 : uint epoch_schedule_off;
1573 : uint cluster_type_off;
1574 : };
1575 : typedef struct fd_genesis_solana_off fd_genesis_solana_off_t;
1576 : #define FD_GENESIS_SOLANA_OFF_FOOTPRINT sizeof(fd_genesis_solana_off_t)
1577 : #define FD_GENESIS_SOLANA_OFF_ALIGN (8UL)
1578 :
1579 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/clock.rs#L114 */
1580 : /* Encoded Size: Fixed (40 bytes) */
1581 : struct __attribute__((aligned(8UL))) fd_sol_sysvar_clock {
1582 : ulong slot;
1583 : long epoch_start_timestamp;
1584 : ulong epoch;
1585 : ulong leader_schedule_epoch;
1586 : long unix_timestamp;
1587 : };
1588 : typedef struct fd_sol_sysvar_clock fd_sol_sysvar_clock_t;
1589 123 : #define FD_SOL_SYSVAR_CLOCK_FOOTPRINT sizeof(fd_sol_sysvar_clock_t)
1590 0 : #define FD_SOL_SYSVAR_CLOCK_ALIGN (8UL)
1591 :
1592 : struct __attribute__((aligned(8UL))) fd_sol_sysvar_clock_off {
1593 : uint slot_off;
1594 : uint epoch_start_timestamp_off;
1595 : uint epoch_off;
1596 : uint leader_schedule_epoch_off;
1597 : uint unix_timestamp_off;
1598 : };
1599 : typedef struct fd_sol_sysvar_clock_off fd_sol_sysvar_clock_off_t;
1600 : #define FD_SOL_SYSVAR_CLOCK_OFF_FOOTPRINT sizeof(fd_sol_sysvar_clock_off_t)
1601 : #define FD_SOL_SYSVAR_CLOCK_OFF_ALIGN (8UL)
1602 :
1603 : /* https://github.com/solana-labs/solana/blob/30531d7a5b74f914dde53bfbb0bc2144f2ac92bb/sdk/program/src/last_restart_slot.rs#L7 */
1604 : /* Encoded Size: Fixed (8 bytes) */
1605 : struct __attribute__((aligned(8UL))) fd_sol_sysvar_last_restart_slot {
1606 : ulong slot;
1607 : };
1608 : typedef struct fd_sol_sysvar_last_restart_slot fd_sol_sysvar_last_restart_slot_t;
1609 0 : #define FD_SOL_SYSVAR_LAST_RESTART_SLOT_FOOTPRINT sizeof(fd_sol_sysvar_last_restart_slot_t)
1610 0 : #define FD_SOL_SYSVAR_LAST_RESTART_SLOT_ALIGN (8UL)
1611 :
1612 : struct __attribute__((aligned(8UL))) fd_sol_sysvar_last_restart_slot_off {
1613 : uint slot_off;
1614 : };
1615 : typedef struct fd_sol_sysvar_last_restart_slot_off fd_sol_sysvar_last_restart_slot_off_t;
1616 : #define FD_SOL_SYSVAR_LAST_RESTART_SLOT_OFF_FOOTPRINT sizeof(fd_sol_sysvar_last_restart_slot_off_t)
1617 : #define FD_SOL_SYSVAR_LAST_RESTART_SLOT_OFF_ALIGN (8UL)
1618 :
1619 : /* Encoded Size: Fixed (12 bytes) */
1620 : struct __attribute__((aligned(8UL))) fd_vote_lockout {
1621 : ulong slot;
1622 : uint confirmation_count;
1623 : };
1624 : typedef struct fd_vote_lockout fd_vote_lockout_t;
1625 0 : #define FD_VOTE_LOCKOUT_FOOTPRINT sizeof(fd_vote_lockout_t)
1626 0 : #define FD_VOTE_LOCKOUT_ALIGN (8UL)
1627 :
1628 : struct __attribute__((aligned(8UL))) fd_vote_lockout_off {
1629 : uint slot_off;
1630 : uint confirmation_count_off;
1631 : };
1632 : typedef struct fd_vote_lockout_off fd_vote_lockout_off_t;
1633 : #define FD_VOTE_LOCKOUT_OFF_FOOTPRINT sizeof(fd_vote_lockout_off_t)
1634 : #define FD_VOTE_LOCKOUT_OFF_ALIGN (8UL)
1635 :
1636 : /* Encoded Size: Dynamic */
1637 : struct __attribute__((aligned(8UL))) fd_lockout_offset {
1638 : ulong offset;
1639 : uchar confirmation_count;
1640 : };
1641 : typedef struct fd_lockout_offset fd_lockout_offset_t;
1642 336 : #define FD_LOCKOUT_OFFSET_FOOTPRINT sizeof(fd_lockout_offset_t)
1643 336 : #define FD_LOCKOUT_OFFSET_ALIGN (8UL)
1644 :
1645 : struct __attribute__((aligned(8UL))) fd_lockout_offset_off {
1646 : uint offset_off;
1647 : uint confirmation_count_off;
1648 : };
1649 : typedef struct fd_lockout_offset_off fd_lockout_offset_off_t;
1650 : #define FD_LOCKOUT_OFFSET_OFF_FOOTPRINT sizeof(fd_lockout_offset_off_t)
1651 : #define FD_LOCKOUT_OFFSET_OFF_ALIGN (8UL)
1652 :
1653 : /* https://github.com/firedancer-io/solana/blob/da470eef4652b3b22598a1f379cacfe82bd5928d/sdk/program/src/vote/authorized_voters.rs#L9 */
1654 : /* Encoded Size: Fixed (40 bytes) */
1655 : struct __attribute__((aligned(8UL))) fd_vote_authorized_voter {
1656 : ulong epoch;
1657 : fd_pubkey_t pubkey;
1658 : ulong parent;
1659 : ulong left;
1660 : ulong right;
1661 : ulong prio;
1662 : };
1663 : typedef struct fd_vote_authorized_voter fd_vote_authorized_voter_t;
1664 0 : #define FD_VOTE_AUTHORIZED_VOTER_FOOTPRINT sizeof(fd_vote_authorized_voter_t)
1665 0 : #define FD_VOTE_AUTHORIZED_VOTER_ALIGN (8UL)
1666 :
1667 : struct __attribute__((aligned(8UL))) fd_vote_authorized_voter_off {
1668 : uint epoch_off;
1669 : uint pubkey_off;
1670 : uint parent_off;
1671 : uint left_off;
1672 : uint right_off;
1673 : uint prio_off;
1674 : };
1675 : typedef struct fd_vote_authorized_voter_off fd_vote_authorized_voter_off_t;
1676 : #define FD_VOTE_AUTHORIZED_VOTER_OFF_FOOTPRINT sizeof(fd_vote_authorized_voter_off_t)
1677 : #define FD_VOTE_AUTHORIZED_VOTER_OFF_ALIGN (8UL)
1678 :
1679 : /* Encoded Size: Fixed (48 bytes) */
1680 : struct __attribute__((aligned(8UL))) fd_vote_prior_voter {
1681 : fd_pubkey_t pubkey;
1682 : ulong epoch_start;
1683 : ulong epoch_end;
1684 : };
1685 : typedef struct fd_vote_prior_voter fd_vote_prior_voter_t;
1686 0 : #define FD_VOTE_PRIOR_VOTER_FOOTPRINT sizeof(fd_vote_prior_voter_t)
1687 0 : #define FD_VOTE_PRIOR_VOTER_ALIGN (8UL)
1688 :
1689 : struct __attribute__((aligned(8UL))) fd_vote_prior_voter_off {
1690 : uint pubkey_off;
1691 : uint epoch_start_off;
1692 : uint epoch_end_off;
1693 : };
1694 : typedef struct fd_vote_prior_voter_off fd_vote_prior_voter_off_t;
1695 : #define FD_VOTE_PRIOR_VOTER_OFF_FOOTPRINT sizeof(fd_vote_prior_voter_off_t)
1696 : #define FD_VOTE_PRIOR_VOTER_OFF_ALIGN (8UL)
1697 :
1698 : /* Encoded Size: Fixed (56 bytes) */
1699 : struct __attribute__((aligned(8UL))) fd_vote_prior_voter_0_23_5 {
1700 : fd_pubkey_t pubkey;
1701 : ulong epoch_start;
1702 : ulong epoch_end;
1703 : ulong slot;
1704 : };
1705 : typedef struct fd_vote_prior_voter_0_23_5 fd_vote_prior_voter_0_23_5_t;
1706 0 : #define FD_VOTE_PRIOR_VOTER_0_23_5_FOOTPRINT sizeof(fd_vote_prior_voter_0_23_5_t)
1707 0 : #define FD_VOTE_PRIOR_VOTER_0_23_5_ALIGN (8UL)
1708 :
1709 : struct __attribute__((aligned(8UL))) fd_vote_prior_voter_0_23_5_off {
1710 : uint pubkey_off;
1711 : uint epoch_start_off;
1712 : uint epoch_end_off;
1713 : uint slot_off;
1714 : };
1715 : typedef struct fd_vote_prior_voter_0_23_5_off fd_vote_prior_voter_0_23_5_off_t;
1716 : #define FD_VOTE_PRIOR_VOTER_0_23_5_OFF_FOOTPRINT sizeof(fd_vote_prior_voter_0_23_5_off_t)
1717 : #define FD_VOTE_PRIOR_VOTER_0_23_5_OFF_ALIGN (8UL)
1718 :
1719 : /* Encoded Size: Fixed (24 bytes) */
1720 : struct __attribute__((aligned(8UL))) fd_vote_epoch_credits {
1721 : ulong epoch;
1722 : ulong credits;
1723 : ulong prev_credits;
1724 : };
1725 : typedef struct fd_vote_epoch_credits fd_vote_epoch_credits_t;
1726 0 : #define FD_VOTE_EPOCH_CREDITS_FOOTPRINT sizeof(fd_vote_epoch_credits_t)
1727 0 : #define FD_VOTE_EPOCH_CREDITS_ALIGN (8UL)
1728 :
1729 : struct __attribute__((aligned(8UL))) fd_vote_epoch_credits_off {
1730 : uint epoch_off;
1731 : uint credits_off;
1732 : uint prev_credits_off;
1733 : };
1734 : typedef struct fd_vote_epoch_credits_off fd_vote_epoch_credits_off_t;
1735 : #define FD_VOTE_EPOCH_CREDITS_OFF_FOOTPRINT sizeof(fd_vote_epoch_credits_off_t)
1736 : #define FD_VOTE_EPOCH_CREDITS_OFF_ALIGN (8UL)
1737 :
1738 : /* Encoded Size: Fixed (16 bytes) */
1739 : struct __attribute__((aligned(8UL))) fd_vote_block_timestamp {
1740 : ulong slot;
1741 : long timestamp;
1742 : };
1743 : typedef struct fd_vote_block_timestamp fd_vote_block_timestamp_t;
1744 0 : #define FD_VOTE_BLOCK_TIMESTAMP_FOOTPRINT sizeof(fd_vote_block_timestamp_t)
1745 0 : #define FD_VOTE_BLOCK_TIMESTAMP_ALIGN (8UL)
1746 :
1747 : struct __attribute__((aligned(8UL))) fd_vote_block_timestamp_off {
1748 : uint slot_off;
1749 : uint timestamp_off;
1750 : };
1751 : typedef struct fd_vote_block_timestamp_off fd_vote_block_timestamp_off_t;
1752 : #define FD_VOTE_BLOCK_TIMESTAMP_OFF_FOOTPRINT sizeof(fd_vote_block_timestamp_off_t)
1753 : #define FD_VOTE_BLOCK_TIMESTAMP_OFF_ALIGN (8UL)
1754 :
1755 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_state/mod.rs#L268 */
1756 : /* Encoded Size: Fixed (1545 bytes) */
1757 : struct __attribute__((aligned(8UL))) fd_vote_prior_voters {
1758 : fd_vote_prior_voter_t buf[32];
1759 : ulong idx;
1760 : uchar is_empty;
1761 : };
1762 : typedef struct fd_vote_prior_voters fd_vote_prior_voters_t;
1763 0 : #define FD_VOTE_PRIOR_VOTERS_FOOTPRINT sizeof(fd_vote_prior_voters_t)
1764 0 : #define FD_VOTE_PRIOR_VOTERS_ALIGN (8UL)
1765 :
1766 : struct __attribute__((aligned(8UL))) fd_vote_prior_voters_off {
1767 : uint buf_off;
1768 : uint idx_off;
1769 : uint is_empty_off;
1770 : };
1771 : typedef struct fd_vote_prior_voters_off fd_vote_prior_voters_off_t;
1772 : #define FD_VOTE_PRIOR_VOTERS_OFF_FOOTPRINT sizeof(fd_vote_prior_voters_off_t)
1773 : #define FD_VOTE_PRIOR_VOTERS_OFF_ALIGN (8UL)
1774 :
1775 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_state/mod.rs#L268 */
1776 : /* Encoded Size: Fixed (1800 bytes) */
1777 : struct __attribute__((aligned(8UL))) fd_vote_prior_voters_0_23_5 {
1778 : fd_vote_prior_voter_0_23_5_t buf[32];
1779 : ulong idx;
1780 : };
1781 : typedef struct fd_vote_prior_voters_0_23_5 fd_vote_prior_voters_0_23_5_t;
1782 0 : #define FD_VOTE_PRIOR_VOTERS_0_23_5_FOOTPRINT sizeof(fd_vote_prior_voters_0_23_5_t)
1783 0 : #define FD_VOTE_PRIOR_VOTERS_0_23_5_ALIGN (8UL)
1784 :
1785 : struct __attribute__((aligned(8UL))) fd_vote_prior_voters_0_23_5_off {
1786 : uint buf_off;
1787 : uint idx_off;
1788 : };
1789 : typedef struct fd_vote_prior_voters_0_23_5_off fd_vote_prior_voters_0_23_5_off_t;
1790 : #define FD_VOTE_PRIOR_VOTERS_0_23_5_OFF_FOOTPRINT sizeof(fd_vote_prior_voters_0_23_5_off_t)
1791 : #define FD_VOTE_PRIOR_VOTERS_0_23_5_OFF_ALIGN (8UL)
1792 :
1793 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_state/mod.rs#L268 */
1794 : /* Encoded Size: Fixed (13 bytes) */
1795 : struct __attribute__((aligned(8UL))) fd_landed_vote {
1796 : uchar latency;
1797 : fd_vote_lockout_t lockout;
1798 : };
1799 : typedef struct fd_landed_vote fd_landed_vote_t;
1800 0 : #define FD_LANDED_VOTE_FOOTPRINT sizeof(fd_landed_vote_t)
1801 0 : #define FD_LANDED_VOTE_ALIGN (8UL)
1802 :
1803 : struct __attribute__((aligned(8UL))) fd_landed_vote_off {
1804 : uint latency_off;
1805 : uint lockout_off;
1806 : };
1807 : typedef struct fd_landed_vote_off fd_landed_vote_off_t;
1808 : #define FD_LANDED_VOTE_OFF_FOOTPRINT sizeof(fd_landed_vote_off_t)
1809 : #define FD_LANDED_VOTE_OFF_ALIGN (8UL)
1810 :
1811 : #define DEQUE_NAME deq_fd_vote_lockout_t
1812 179139 : #define DEQUE_T fd_vote_lockout_t
1813 : #include "../../util/tmpl/fd_deque_dynamic.c"
1814 : #undef DEQUE_NAME
1815 : #undef DEQUE_T
1816 : #undef DEQUE_MAX
1817 : static inline fd_vote_lockout_t *
1818 7083 : deq_fd_vote_lockout_t_alloc( fd_valloc_t valloc, ulong max ) {
1819 7083 : if( FD_UNLIKELY( 0 == max ) ) max = 1; // prevent underflow
1820 7083 : void * mem = fd_valloc_malloc( valloc, deq_fd_vote_lockout_t_align(), deq_fd_vote_lockout_t_footprint( max ) );
1821 7083 : return deq_fd_vote_lockout_t_join( deq_fd_vote_lockout_t_new( mem, max ) );
1822 7083 : }
1823 : #define DEQUE_NAME deq_fd_vote_epoch_credits_t
1824 120588 : #define DEQUE_T fd_vote_epoch_credits_t
1825 : #include "../../util/tmpl/fd_deque_dynamic.c"
1826 : #undef DEQUE_NAME
1827 : #undef DEQUE_T
1828 : #undef DEQUE_MAX
1829 : static inline fd_vote_epoch_credits_t *
1830 8073 : deq_fd_vote_epoch_credits_t_alloc( fd_valloc_t valloc, ulong max ) {
1831 8073 : if( FD_UNLIKELY( 0 == max ) ) max = 1; // prevent underflow
1832 8073 : void * mem = fd_valloc_malloc( valloc, deq_fd_vote_epoch_credits_t_align(), deq_fd_vote_epoch_credits_t_footprint( max ) );
1833 8073 : return deq_fd_vote_epoch_credits_t_join( deq_fd_vote_epoch_credits_t_new( mem, max ) );
1834 8073 : }
1835 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_state/vote_state_0_23_5.rs#L6 */
1836 : /* Encoded Size: Dynamic */
1837 : struct __attribute__((aligned(8UL))) fd_vote_state_0_23_5 {
1838 : fd_pubkey_t node_pubkey;
1839 : fd_pubkey_t authorized_voter;
1840 : ulong authorized_voter_epoch;
1841 : fd_vote_prior_voters_0_23_5_t prior_voters;
1842 : fd_pubkey_t authorized_withdrawer;
1843 : uchar commission;
1844 : fd_vote_lockout_t * votes; /* fd_deque_dynamic (min cnt 32) */
1845 : ulong root_slot;
1846 : uchar has_root_slot;
1847 : fd_vote_epoch_credits_t * epoch_credits; /* fd_deque_dynamic (min cnt 64) */
1848 : fd_vote_block_timestamp_t last_timestamp;
1849 : };
1850 : typedef struct fd_vote_state_0_23_5 fd_vote_state_0_23_5_t;
1851 0 : #define FD_VOTE_STATE_0_23_5_FOOTPRINT sizeof(fd_vote_state_0_23_5_t)
1852 0 : #define FD_VOTE_STATE_0_23_5_ALIGN (8UL)
1853 :
1854 : struct __attribute__((aligned(8UL))) fd_vote_state_0_23_5_off {
1855 : uint node_pubkey_off;
1856 : uint authorized_voter_off;
1857 : uint authorized_voter_epoch_off;
1858 : uint prior_voters_off;
1859 : uint authorized_withdrawer_off;
1860 : uint commission_off;
1861 : uint votes_off;
1862 : uint root_slot_off;
1863 : uint epoch_credits_off;
1864 : uint last_timestamp_off;
1865 : };
1866 : typedef struct fd_vote_state_0_23_5_off fd_vote_state_0_23_5_off_t;
1867 : #define FD_VOTE_STATE_0_23_5_OFF_FOOTPRINT sizeof(fd_vote_state_0_23_5_off_t)
1868 : #define FD_VOTE_STATE_0_23_5_OFF_ALIGN (8UL)
1869 :
1870 9798 : #define FD_VOTE_AUTHORIZED_VOTERS_MIN 64
1871 : #define POOL_NAME fd_vote_authorized_voters_pool
1872 15762 : #define POOL_T fd_vote_authorized_voter_t
1873 667614 : #define POOL_NEXT parent
1874 : #include "../../util/tmpl/fd_pool.c"
1875 : static inline fd_vote_authorized_voter_t *
1876 7881 : fd_vote_authorized_voters_pool_alloc( fd_valloc_t valloc, ulong num ) {
1877 7881 : if( FD_UNLIKELY( 0 == num ) ) num = 1; // prevent underflow
1878 7881 : return fd_vote_authorized_voters_pool_join( fd_vote_authorized_voters_pool_new(
1879 7881 : fd_valloc_malloc( valloc,
1880 7881 : fd_vote_authorized_voters_pool_align(),
1881 7881 : fd_vote_authorized_voters_pool_footprint( num ) ),
1882 7881 : num ) );
1883 7881 : }
1884 : #define TREAP_NAME fd_vote_authorized_voters_treap
1885 : #define TREAP_T fd_vote_authorized_voter_t
1886 : #define TREAP_QUERY_T ulong
1887 1011645 : #define TREAP_CMP(q,e) ( (q == (e)->epoch) ? 0 : ( (q < (e)->epoch) ? -1 : 1 ) )
1888 220701 : #define TREAP_LT(e0,e1) ((e0)->epoch<(e1)->epoch)
1889 : #include "../../util/tmpl/fd_treap.c"
1890 : static inline fd_vote_authorized_voters_treap_t *
1891 7881 : fd_vote_authorized_voters_treap_alloc( fd_valloc_t valloc, ulong num ) {
1892 7881 : if( FD_UNLIKELY( 0 == num ) ) num = 1; // prevent underflow
1893 7881 : return fd_vote_authorized_voters_treap_join( fd_vote_authorized_voters_treap_new(
1894 7881 : fd_valloc_malloc( valloc,
1895 7881 : fd_vote_authorized_voters_treap_align(),
1896 7881 : fd_vote_authorized_voters_treap_footprint( num ) ),
1897 7881 : num ) );
1898 7881 : }
1899 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_state/mod.rs#L310 */
1900 : /* Encoded Size: Dynamic */
1901 : struct __attribute__((aligned(8UL))) fd_vote_authorized_voters {
1902 : fd_vote_authorized_voter_t * pool;
1903 : fd_vote_authorized_voters_treap_t * treap;
1904 : };
1905 : typedef struct fd_vote_authorized_voters fd_vote_authorized_voters_t;
1906 0 : #define FD_VOTE_AUTHORIZED_VOTERS_FOOTPRINT sizeof(fd_vote_authorized_voters_t)
1907 0 : #define FD_VOTE_AUTHORIZED_VOTERS_ALIGN (8UL)
1908 :
1909 : struct __attribute__((aligned(8UL))) fd_vote_authorized_voters_off {
1910 : uint fd_vote_authorized_voters_off;
1911 : };
1912 : typedef struct fd_vote_authorized_voters_off fd_vote_authorized_voters_off_t;
1913 : #define FD_VOTE_AUTHORIZED_VOTERS_OFF_FOOTPRINT sizeof(fd_vote_authorized_voters_off_t)
1914 : #define FD_VOTE_AUTHORIZED_VOTERS_OFF_ALIGN (8UL)
1915 :
1916 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_state/mod.rs#L310 */
1917 : /* Encoded Size: Dynamic */
1918 : struct __attribute__((aligned(8UL))) fd_vote_state_1_14_11 {
1919 : fd_pubkey_t node_pubkey;
1920 : fd_pubkey_t authorized_withdrawer;
1921 : uchar commission;
1922 : fd_vote_lockout_t * votes; /* fd_deque_dynamic (min cnt 32) */
1923 : ulong root_slot;
1924 : uchar has_root_slot;
1925 : fd_vote_authorized_voters_t authorized_voters;
1926 : fd_vote_prior_voters_t prior_voters;
1927 : fd_vote_epoch_credits_t * epoch_credits; /* fd_deque_dynamic (min cnt 64) */
1928 : fd_vote_block_timestamp_t last_timestamp;
1929 : };
1930 : typedef struct fd_vote_state_1_14_11 fd_vote_state_1_14_11_t;
1931 0 : #define FD_VOTE_STATE_1_14_11_FOOTPRINT sizeof(fd_vote_state_1_14_11_t)
1932 0 : #define FD_VOTE_STATE_1_14_11_ALIGN (8UL)
1933 :
1934 : struct __attribute__((aligned(8UL))) fd_vote_state_1_14_11_off {
1935 : uint node_pubkey_off;
1936 : uint authorized_withdrawer_off;
1937 : uint commission_off;
1938 : uint votes_off;
1939 : uint root_slot_off;
1940 : uint authorized_voters_off;
1941 : uint prior_voters_off;
1942 : uint epoch_credits_off;
1943 : uint last_timestamp_off;
1944 : };
1945 : typedef struct fd_vote_state_1_14_11_off fd_vote_state_1_14_11_off_t;
1946 : #define FD_VOTE_STATE_1_14_11_OFF_FOOTPRINT sizeof(fd_vote_state_1_14_11_off_t)
1947 : #define FD_VOTE_STATE_1_14_11_OFF_ALIGN (8UL)
1948 :
1949 : #define DEQUE_NAME deq_fd_landed_vote_t
1950 174159 : #define DEQUE_T fd_landed_vote_t
1951 : #include "../../util/tmpl/fd_deque_dynamic.c"
1952 : #undef DEQUE_NAME
1953 : #undef DEQUE_T
1954 : #undef DEQUE_MAX
1955 : static inline fd_landed_vote_t *
1956 7809 : deq_fd_landed_vote_t_alloc( fd_valloc_t valloc, ulong max ) {
1957 7809 : if( FD_UNLIKELY( 0 == max ) ) max = 1; // prevent underflow
1958 7809 : void * mem = fd_valloc_malloc( valloc, deq_fd_landed_vote_t_align(), deq_fd_landed_vote_t_footprint( max ) );
1959 7809 : return deq_fd_landed_vote_t_join( deq_fd_landed_vote_t_new( mem, max ) );
1960 7809 : }
1961 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_state/mod.rs#L310 */
1962 : /* Encoded Size: Dynamic */
1963 : struct __attribute__((aligned(8UL))) fd_vote_state {
1964 : fd_pubkey_t node_pubkey;
1965 : fd_pubkey_t authorized_withdrawer;
1966 : uchar commission;
1967 : fd_landed_vote_t * votes; /* fd_deque_dynamic (min cnt 32) */
1968 : ulong root_slot;
1969 : uchar has_root_slot;
1970 : fd_vote_authorized_voters_t authorized_voters;
1971 : fd_vote_prior_voters_t prior_voters;
1972 : fd_vote_epoch_credits_t * epoch_credits; /* fd_deque_dynamic (min cnt 64) */
1973 : fd_vote_block_timestamp_t last_timestamp;
1974 : };
1975 : typedef struct fd_vote_state fd_vote_state_t;
1976 0 : #define FD_VOTE_STATE_FOOTPRINT sizeof(fd_vote_state_t)
1977 0 : #define FD_VOTE_STATE_ALIGN (8UL)
1978 :
1979 : struct __attribute__((aligned(8UL))) fd_vote_state_off {
1980 : uint node_pubkey_off;
1981 : uint authorized_withdrawer_off;
1982 : uint commission_off;
1983 : uint votes_off;
1984 : uint root_slot_off;
1985 : uint authorized_voters_off;
1986 : uint prior_voters_off;
1987 : uint epoch_credits_off;
1988 : uint last_timestamp_off;
1989 : };
1990 : typedef struct fd_vote_state_off fd_vote_state_off_t;
1991 : #define FD_VOTE_STATE_OFF_FOOTPRINT sizeof(fd_vote_state_off_t)
1992 : #define FD_VOTE_STATE_OFF_ALIGN (8UL)
1993 :
1994 : union fd_vote_state_versioned_inner {
1995 : fd_vote_state_0_23_5_t v0_23_5;
1996 : fd_vote_state_1_14_11_t v1_14_11;
1997 : fd_vote_state_t current;
1998 : };
1999 : typedef union fd_vote_state_versioned_inner fd_vote_state_versioned_inner_t;
2000 :
2001 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_state/vote_state_versions.rs#L4 */
2002 : struct fd_vote_state_versioned {
2003 : uint discriminant;
2004 : fd_vote_state_versioned_inner_t inner;
2005 : };
2006 : typedef struct fd_vote_state_versioned fd_vote_state_versioned_t;
2007 0 : #define FD_VOTE_STATE_VERSIONED_FOOTPRINT sizeof(fd_vote_state_versioned_t)
2008 0 : #define FD_VOTE_STATE_VERSIONED_ALIGN (8UL)
2009 :
2010 : union fd_vote_state_versioned_off_inner {
2011 : fd_vote_state_0_23_5_off_t v0_23_5_off;
2012 : fd_vote_state_1_14_11_off_t v1_14_11_off;
2013 : fd_vote_state_off_t current_off;
2014 : };
2015 : typedef union fd_vote_state_versioned_off_inner fd_vote_state_versioned_off_inner_t;
2016 :
2017 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_state/vote_state_versions.rs#L4 */
2018 : struct fd_vote_state_versioned_off {
2019 : uint discriminant;
2020 : fd_vote_state_versioned_off_inner_t inner;
2021 : };
2022 : typedef struct fd_vote_state_versioned_off fd_vote_state_versioned_off_t;
2023 : #define FD_VOTE_STATE_VERSIONED_OFF_FOOTPRINT sizeof(fd_vote_state_versioned_off_t)
2024 : #define FD_VOTE_STATE_VERSIONED_OFF_ALIGN (8UL)
2025 :
2026 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_state/mod.rs#L185 */
2027 : /* Encoded Size: Dynamic */
2028 : struct __attribute__((aligned(8UL))) fd_vote_state_update {
2029 : fd_vote_lockout_t * lockouts; /* fd_deque_dynamic (min cnt 32) */
2030 : ulong root;
2031 : uchar has_root;
2032 : fd_hash_t hash;
2033 : long timestamp;
2034 : uchar has_timestamp;
2035 : };
2036 : typedef struct fd_vote_state_update fd_vote_state_update_t;
2037 0 : #define FD_VOTE_STATE_UPDATE_FOOTPRINT sizeof(fd_vote_state_update_t)
2038 0 : #define FD_VOTE_STATE_UPDATE_ALIGN (8UL)
2039 :
2040 : struct __attribute__((aligned(8UL))) fd_vote_state_update_off {
2041 : uint lockouts_off;
2042 : uint root_off;
2043 : uint hash_off;
2044 : uint timestamp_off;
2045 : };
2046 : typedef struct fd_vote_state_update_off fd_vote_state_update_off_t;
2047 : #define FD_VOTE_STATE_UPDATE_OFF_FOOTPRINT sizeof(fd_vote_state_update_off_t)
2048 : #define FD_VOTE_STATE_UPDATE_OFF_ALIGN (8UL)
2049 :
2050 : /* Encoded Size: Dynamic */
2051 : struct __attribute__((aligned(8UL))) fd_compact_vote_state_update {
2052 : ulong root;
2053 : ushort lockouts_len;
2054 : fd_lockout_offset_t * lockouts;
2055 : fd_hash_t hash;
2056 : long timestamp;
2057 : uchar has_timestamp;
2058 : };
2059 : typedef struct fd_compact_vote_state_update fd_compact_vote_state_update_t;
2060 0 : #define FD_COMPACT_VOTE_STATE_UPDATE_FOOTPRINT sizeof(fd_compact_vote_state_update_t)
2061 0 : #define FD_COMPACT_VOTE_STATE_UPDATE_ALIGN (8UL)
2062 :
2063 : struct __attribute__((aligned(8UL))) fd_compact_vote_state_update_off {
2064 : uint root_off;
2065 : uint lockouts_off;
2066 : uint hash_off;
2067 : uint timestamp_off;
2068 : };
2069 : typedef struct fd_compact_vote_state_update_off fd_compact_vote_state_update_off_t;
2070 : #define FD_COMPACT_VOTE_STATE_UPDATE_OFF_FOOTPRINT sizeof(fd_compact_vote_state_update_off_t)
2071 : #define FD_COMPACT_VOTE_STATE_UPDATE_OFF_ALIGN (8UL)
2072 :
2073 : /* https://github.com/solana-labs/solana/blob/252438e28fbfb2c695fe1215171b83456e4b761c/programs/vote/src/vote_instruction.rs#L143 */
2074 : /* Encoded Size: Dynamic */
2075 : struct __attribute__((aligned(8UL))) fd_compact_vote_state_update_switch {
2076 : fd_compact_vote_state_update_t compact_vote_state_update;
2077 : fd_hash_t hash;
2078 : };
2079 : typedef struct fd_compact_vote_state_update_switch fd_compact_vote_state_update_switch_t;
2080 0 : #define FD_COMPACT_VOTE_STATE_UPDATE_SWITCH_FOOTPRINT sizeof(fd_compact_vote_state_update_switch_t)
2081 0 : #define FD_COMPACT_VOTE_STATE_UPDATE_SWITCH_ALIGN (8UL)
2082 :
2083 : struct __attribute__((aligned(8UL))) fd_compact_vote_state_update_switch_off {
2084 : uint compact_vote_state_update_off;
2085 : uint hash_off;
2086 : };
2087 : typedef struct fd_compact_vote_state_update_switch_off fd_compact_vote_state_update_switch_off_t;
2088 : #define FD_COMPACT_VOTE_STATE_UPDATE_SWITCH_OFF_FOOTPRINT sizeof(fd_compact_vote_state_update_switch_off_t)
2089 : #define FD_COMPACT_VOTE_STATE_UPDATE_SWITCH_OFF_ALIGN (8UL)
2090 :
2091 : #define DEQUE_NAME deq_fd_lockout_offset_t
2092 4659 : #define DEQUE_T fd_lockout_offset_t
2093 : #include "../../util/tmpl/fd_deque_dynamic.c"
2094 : #undef DEQUE_NAME
2095 : #undef DEQUE_T
2096 : #undef DEQUE_MAX
2097 : static inline fd_lockout_offset_t *
2098 285 : deq_fd_lockout_offset_t_alloc( fd_valloc_t valloc, ulong max ) {
2099 285 : if( FD_UNLIKELY( 0 == max ) ) max = 1; // prevent underflow
2100 285 : void * mem = fd_valloc_malloc( valloc, deq_fd_lockout_offset_t_align(), deq_fd_lockout_offset_t_footprint( max ) );
2101 285 : return deq_fd_lockout_offset_t_join( deq_fd_lockout_offset_t_new( mem, max ) );
2102 285 : }
2103 : /* https://github.com/anza-xyz/agave/blob/20ee70cd1829cd414d09040460defecf9792a370/sdk/program/src/vote/state/mod.rs#L990 */
2104 : /* Encoded Size: Dynamic */
2105 : struct __attribute__((aligned(8UL))) fd_compact_tower_sync {
2106 : ulong root;
2107 : fd_lockout_offset_t * lockout_offsets; /* fd_deque_dynamic (min cnt 32) */
2108 : fd_hash_t hash;
2109 : long timestamp;
2110 : uchar has_timestamp;
2111 : fd_hash_t block_id;
2112 : };
2113 : typedef struct fd_compact_tower_sync fd_compact_tower_sync_t;
2114 0 : #define FD_COMPACT_TOWER_SYNC_FOOTPRINT sizeof(fd_compact_tower_sync_t)
2115 0 : #define FD_COMPACT_TOWER_SYNC_ALIGN (8UL)
2116 :
2117 : struct __attribute__((aligned(8UL))) fd_compact_tower_sync_off {
2118 : uint root_off;
2119 : uint lockout_offsets_off;
2120 : uint hash_off;
2121 : uint timestamp_off;
2122 : uint block_id_off;
2123 : };
2124 : typedef struct fd_compact_tower_sync_off fd_compact_tower_sync_off_t;
2125 : #define FD_COMPACT_TOWER_SYNC_OFF_FOOTPRINT sizeof(fd_compact_tower_sync_off_t)
2126 : #define FD_COMPACT_TOWER_SYNC_OFF_ALIGN (8UL)
2127 :
2128 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_state/mod.rs#L185 */
2129 : /* Encoded Size: Dynamic */
2130 : struct __attribute__((aligned(8UL))) fd_tower_sync {
2131 : fd_vote_lockout_t * lockouts; /* fd_deque_dynamic */
2132 : ulong lockouts_cnt;
2133 : ulong root;
2134 : uchar has_root;
2135 : fd_hash_t hash;
2136 : long timestamp;
2137 : uchar has_timestamp;
2138 : fd_hash_t block_id;
2139 : };
2140 : typedef struct fd_tower_sync fd_tower_sync_t;
2141 0 : #define FD_TOWER_SYNC_FOOTPRINT sizeof(fd_tower_sync_t)
2142 0 : #define FD_TOWER_SYNC_ALIGN (8UL)
2143 :
2144 : struct __attribute__((aligned(8UL))) fd_tower_sync_off {
2145 : uint lockouts_off;
2146 : uint lockouts_cnt_off;
2147 : uint root_off;
2148 : uint hash_off;
2149 : uint timestamp_off;
2150 : uint block_id_off;
2151 : };
2152 : typedef struct fd_tower_sync_off fd_tower_sync_off_t;
2153 : #define FD_TOWER_SYNC_OFF_FOOTPRINT sizeof(fd_tower_sync_off_t)
2154 : #define FD_TOWER_SYNC_OFF_ALIGN (8UL)
2155 :
2156 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_instruction.rs#L104 */
2157 : /* Encoded Size: Dynamic */
2158 : struct __attribute__((aligned(8UL))) fd_tower_sync_switch {
2159 : fd_tower_sync_t tower_sync;
2160 : fd_hash_t hash;
2161 : };
2162 : typedef struct fd_tower_sync_switch fd_tower_sync_switch_t;
2163 0 : #define FD_TOWER_SYNC_SWITCH_FOOTPRINT sizeof(fd_tower_sync_switch_t)
2164 0 : #define FD_TOWER_SYNC_SWITCH_ALIGN (8UL)
2165 :
2166 : struct __attribute__((aligned(8UL))) fd_tower_sync_switch_off {
2167 : uint tower_sync_off;
2168 : uint hash_off;
2169 : };
2170 : typedef struct fd_tower_sync_switch_off fd_tower_sync_switch_off_t;
2171 : #define FD_TOWER_SYNC_SWITCH_OFF_FOOTPRINT sizeof(fd_tower_sync_switch_off_t)
2172 : #define FD_TOWER_SYNC_SWITCH_OFF_ALIGN (8UL)
2173 :
2174 : /* Encoded Size: Dynamic */
2175 : struct __attribute__((aligned(8UL))) fd_slot_history_inner {
2176 : ulong blocks_len;
2177 : ulong* blocks;
2178 : };
2179 : typedef struct fd_slot_history_inner fd_slot_history_inner_t;
2180 0 : #define FD_SLOT_HISTORY_INNER_FOOTPRINT sizeof(fd_slot_history_inner_t)
2181 0 : #define FD_SLOT_HISTORY_INNER_ALIGN (8UL)
2182 :
2183 : struct __attribute__((aligned(8UL))) fd_slot_history_inner_off {
2184 : uint blocks_off;
2185 : };
2186 : typedef struct fd_slot_history_inner_off fd_slot_history_inner_off_t;
2187 : #define FD_SLOT_HISTORY_INNER_OFF_FOOTPRINT sizeof(fd_slot_history_inner_off_t)
2188 : #define FD_SLOT_HISTORY_INNER_OFF_ALIGN (8UL)
2189 :
2190 : /* https://github.com/tov/bv-rs/blob/107be3e9c45324e55844befa4c4239d4d3d092c6/src/bit_vec/inner.rs#L8 */
2191 : /* Encoded Size: Dynamic */
2192 : struct __attribute__((aligned(8UL))) fd_slot_history_bitvec {
2193 : fd_slot_history_inner_t * bits;
2194 : ulong len;
2195 : };
2196 : typedef struct fd_slot_history_bitvec fd_slot_history_bitvec_t;
2197 0 : #define FD_SLOT_HISTORY_BITVEC_FOOTPRINT sizeof(fd_slot_history_bitvec_t)
2198 0 : #define FD_SLOT_HISTORY_BITVEC_ALIGN (8UL)
2199 :
2200 : struct __attribute__((aligned(8UL))) fd_slot_history_bitvec_off {
2201 : uint bits_off;
2202 : uint len_off;
2203 : };
2204 : typedef struct fd_slot_history_bitvec_off fd_slot_history_bitvec_off_t;
2205 : #define FD_SLOT_HISTORY_BITVEC_OFF_FOOTPRINT sizeof(fd_slot_history_bitvec_off_t)
2206 : #define FD_SLOT_HISTORY_BITVEC_OFF_ALIGN (8UL)
2207 :
2208 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/slot_history.rs#L11 */
2209 : /* Encoded Size: Dynamic */
2210 : struct __attribute__((aligned(8UL))) fd_slot_history {
2211 : fd_slot_history_bitvec_t bits;
2212 : ulong next_slot;
2213 : };
2214 : typedef struct fd_slot_history fd_slot_history_t;
2215 0 : #define FD_SLOT_HISTORY_FOOTPRINT sizeof(fd_slot_history_t)
2216 0 : #define FD_SLOT_HISTORY_ALIGN (8UL)
2217 :
2218 : struct __attribute__((aligned(8UL))) fd_slot_history_off {
2219 : uint bits_off;
2220 : uint next_slot_off;
2221 : };
2222 : typedef struct fd_slot_history_off fd_slot_history_off_t;
2223 : #define FD_SLOT_HISTORY_OFF_FOOTPRINT sizeof(fd_slot_history_off_t)
2224 : #define FD_SLOT_HISTORY_OFF_ALIGN (8UL)
2225 :
2226 : /* Encoded Size: Fixed (40 bytes) */
2227 : struct __attribute__((aligned(8UL))) fd_slot_hash {
2228 : ulong slot;
2229 : fd_hash_t hash;
2230 : };
2231 : typedef struct fd_slot_hash fd_slot_hash_t;
2232 3 : #define FD_SLOT_HASH_FOOTPRINT sizeof(fd_slot_hash_t)
2233 3 : #define FD_SLOT_HASH_ALIGN (8UL)
2234 :
2235 : struct __attribute__((aligned(8UL))) fd_slot_hash_off {
2236 : uint slot_off;
2237 : uint hash_off;
2238 : };
2239 : typedef struct fd_slot_hash_off fd_slot_hash_off_t;
2240 : #define FD_SLOT_HASH_OFF_FOOTPRINT sizeof(fd_slot_hash_off_t)
2241 : #define FD_SLOT_HASH_OFF_ALIGN (8UL)
2242 :
2243 : #define DEQUE_NAME deq_fd_slot_hash_t
2244 2063793 : #define DEQUE_T fd_slot_hash_t
2245 : #include "../../util/tmpl/fd_deque_dynamic.c"
2246 : #undef DEQUE_NAME
2247 : #undef DEQUE_T
2248 : #undef DEQUE_MAX
2249 : static inline fd_slot_hash_t *
2250 34209 : deq_fd_slot_hash_t_alloc( fd_valloc_t valloc, ulong max ) {
2251 34209 : if( FD_UNLIKELY( 0 == max ) ) max = 1; // prevent underflow
2252 34209 : void * mem = fd_valloc_malloc( valloc, deq_fd_slot_hash_t_align(), deq_fd_slot_hash_t_footprint( max ) );
2253 34209 : return deq_fd_slot_hash_t_join( deq_fd_slot_hash_t_new( mem, max ) );
2254 34209 : }
2255 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/slot_hashes.rs#L31 */
2256 : /* Encoded Size: Dynamic */
2257 : struct __attribute__((aligned(8UL))) fd_slot_hashes {
2258 : fd_slot_hash_t * hashes; /* fd_deque_dynamic (min cnt 512) */
2259 : };
2260 : typedef struct fd_slot_hashes fd_slot_hashes_t;
2261 0 : #define FD_SLOT_HASHES_FOOTPRINT sizeof(fd_slot_hashes_t)
2262 0 : #define FD_SLOT_HASHES_ALIGN (8UL)
2263 :
2264 : struct __attribute__((aligned(8UL))) fd_slot_hashes_off {
2265 : uint hashes_off;
2266 : };
2267 : typedef struct fd_slot_hashes_off fd_slot_hashes_off_t;
2268 : #define FD_SLOT_HASHES_OFF_FOOTPRINT sizeof(fd_slot_hashes_off_t)
2269 : #define FD_SLOT_HASHES_OFF_ALIGN (8UL)
2270 :
2271 : /* Encoded Size: Fixed (40 bytes) */
2272 : struct __attribute__((aligned(8UL))) fd_block_block_hash_entry {
2273 : fd_hash_t blockhash;
2274 : fd_fee_calculator_t fee_calculator;
2275 : };
2276 : typedef struct fd_block_block_hash_entry fd_block_block_hash_entry_t;
2277 0 : #define FD_BLOCK_BLOCK_HASH_ENTRY_FOOTPRINT sizeof(fd_block_block_hash_entry_t)
2278 0 : #define FD_BLOCK_BLOCK_HASH_ENTRY_ALIGN (8UL)
2279 :
2280 : struct __attribute__((aligned(8UL))) fd_block_block_hash_entry_off {
2281 : uint blockhash_off;
2282 : uint fee_calculator_off;
2283 : };
2284 : typedef struct fd_block_block_hash_entry_off fd_block_block_hash_entry_off_t;
2285 : #define FD_BLOCK_BLOCK_HASH_ENTRY_OFF_FOOTPRINT sizeof(fd_block_block_hash_entry_off_t)
2286 : #define FD_BLOCK_BLOCK_HASH_ENTRY_OFF_ALIGN (8UL)
2287 :
2288 : #define DEQUE_NAME deq_fd_block_block_hash_entry_t
2289 1579338 : #define DEQUE_T fd_block_block_hash_entry_t
2290 : #include "../../util/tmpl/fd_deque_dynamic.c"
2291 : #undef DEQUE_NAME
2292 : #undef DEQUE_T
2293 : #undef DEQUE_MAX
2294 : static inline fd_block_block_hash_entry_t *
2295 414957 : deq_fd_block_block_hash_entry_t_alloc( fd_valloc_t valloc, ulong max ) {
2296 414957 : if( FD_UNLIKELY( 0 == max ) ) max = 1; // prevent underflow
2297 414957 : void * mem = fd_valloc_malloc( valloc, deq_fd_block_block_hash_entry_t_align(), deq_fd_block_block_hash_entry_t_footprint( max ) );
2298 414957 : return deq_fd_block_block_hash_entry_t_join( deq_fd_block_block_hash_entry_t_new( mem, max ) );
2299 414957 : }
2300 : /* Encoded Size: Dynamic */
2301 : struct __attribute__((aligned(8UL))) fd_recent_block_hashes {
2302 : fd_block_block_hash_entry_t * hashes; /* fd_deque_dynamic (min cnt 151) */
2303 : };
2304 : typedef struct fd_recent_block_hashes fd_recent_block_hashes_t;
2305 0 : #define FD_RECENT_BLOCK_HASHES_FOOTPRINT sizeof(fd_recent_block_hashes_t)
2306 0 : #define FD_RECENT_BLOCK_HASHES_ALIGN (8UL)
2307 :
2308 : struct __attribute__((aligned(8UL))) fd_recent_block_hashes_off {
2309 : uint hashes_off;
2310 : };
2311 : typedef struct fd_recent_block_hashes_off fd_recent_block_hashes_off_t;
2312 : #define FD_RECENT_BLOCK_HASHES_OFF_FOOTPRINT sizeof(fd_recent_block_hashes_off_t)
2313 : #define FD_RECENT_BLOCK_HASHES_OFF_ALIGN (8UL)
2314 :
2315 : /* Encoded Size: Dynamic */
2316 : struct __attribute__((aligned(8UL))) fd_slot_meta {
2317 : ulong slot;
2318 : ulong consumed;
2319 : ulong received;
2320 : long first_shred_timestamp;
2321 : ulong last_index;
2322 : ulong parent_slot;
2323 : ulong next_slot_len;
2324 : ulong* next_slot;
2325 : uchar is_connected;
2326 : ulong entry_end_indexes_len;
2327 : uint* entry_end_indexes;
2328 : };
2329 : typedef struct fd_slot_meta fd_slot_meta_t;
2330 0 : #define FD_SLOT_META_FOOTPRINT sizeof(fd_slot_meta_t)
2331 0 : #define FD_SLOT_META_ALIGN (8UL)
2332 :
2333 : struct __attribute__((aligned(8UL))) fd_slot_meta_off {
2334 : uint slot_off;
2335 : uint consumed_off;
2336 : uint received_off;
2337 : uint first_shred_timestamp_off;
2338 : uint last_index_off;
2339 : uint parent_slot_off;
2340 : uint next_slot_off;
2341 : uint is_connected_off;
2342 : uint entry_end_indexes_off;
2343 : };
2344 : typedef struct fd_slot_meta_off fd_slot_meta_off_t;
2345 : #define FD_SLOT_META_OFF_FOOTPRINT sizeof(fd_slot_meta_off_t)
2346 : #define FD_SLOT_META_OFF_ALIGN (8UL)
2347 :
2348 : /* A validator timestamp oracle vote received from a voting node */
2349 : /* Encoded Size: Fixed (48 bytes) */
2350 : struct __attribute__((aligned(8UL))) fd_clock_timestamp_vote {
2351 : fd_pubkey_t pubkey;
2352 : long timestamp;
2353 : ulong slot;
2354 : };
2355 : typedef struct fd_clock_timestamp_vote fd_clock_timestamp_vote_t;
2356 0 : #define FD_CLOCK_TIMESTAMP_VOTE_FOOTPRINT sizeof(fd_clock_timestamp_vote_t)
2357 0 : #define FD_CLOCK_TIMESTAMP_VOTE_ALIGN (8UL)
2358 :
2359 : struct __attribute__((aligned(8UL))) fd_clock_timestamp_vote_off {
2360 : uint pubkey_off;
2361 : uint timestamp_off;
2362 : uint slot_off;
2363 : };
2364 : typedef struct fd_clock_timestamp_vote_off fd_clock_timestamp_vote_off_t;
2365 : #define FD_CLOCK_TIMESTAMP_VOTE_OFF_FOOTPRINT sizeof(fd_clock_timestamp_vote_off_t)
2366 : #define FD_CLOCK_TIMESTAMP_VOTE_OFF_ALIGN (8UL)
2367 :
2368 : typedef struct fd_clock_timestamp_vote_t_mapnode fd_clock_timestamp_vote_t_mapnode_t;
2369 : #define REDBLK_T fd_clock_timestamp_vote_t_mapnode_t
2370 : #define REDBLK_NAME fd_clock_timestamp_vote_t_map
2371 : #define REDBLK_IMPL_STYLE 1
2372 : #include "../../util/tmpl/fd_redblack.c"
2373 : struct fd_clock_timestamp_vote_t_mapnode {
2374 : fd_clock_timestamp_vote_t elem;
2375 : ulong redblack_parent;
2376 : ulong redblack_left;
2377 : ulong redblack_right;
2378 : int redblack_color;
2379 : };
2380 : static inline fd_clock_timestamp_vote_t_mapnode_t *
2381 0 : fd_clock_timestamp_vote_t_map_alloc( fd_valloc_t valloc, ulong len ) {
2382 0 : if( FD_UNLIKELY( 0 == len ) ) len = 1; // prevent underflow
2383 0 : void * mem = fd_valloc_malloc( valloc, fd_clock_timestamp_vote_t_map_align(), fd_clock_timestamp_vote_t_map_footprint(len));
2384 0 : return fd_clock_timestamp_vote_t_map_join(fd_clock_timestamp_vote_t_map_new(mem, len));
2385 0 : }
2386 : /* Validator timestamp oracle votes received from voting nodes. TODO: make this a map */
2387 : /* Encoded Size: Dynamic */
2388 : struct __attribute__((aligned(8UL))) fd_clock_timestamp_votes {
2389 : fd_clock_timestamp_vote_t_mapnode_t * votes_pool;
2390 : fd_clock_timestamp_vote_t_mapnode_t * votes_root;
2391 : };
2392 : typedef struct fd_clock_timestamp_votes fd_clock_timestamp_votes_t;
2393 0 : #define FD_CLOCK_TIMESTAMP_VOTES_FOOTPRINT sizeof(fd_clock_timestamp_votes_t)
2394 0 : #define FD_CLOCK_TIMESTAMP_VOTES_ALIGN (8UL)
2395 :
2396 : struct __attribute__((aligned(8UL))) fd_clock_timestamp_votes_off {
2397 : uint votes_off;
2398 : };
2399 : typedef struct fd_clock_timestamp_votes_off fd_clock_timestamp_votes_off_t;
2400 : #define FD_CLOCK_TIMESTAMP_VOTES_OFF_FOOTPRINT sizeof(fd_clock_timestamp_votes_off_t)
2401 : #define FD_CLOCK_TIMESTAMP_VOTES_OFF_ALIGN (8UL)
2402 :
2403 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/sysvar/fees.rs#L21 */
2404 : /* Encoded Size: Fixed (8 bytes) */
2405 : struct __attribute__((aligned(8UL))) fd_sysvar_fees {
2406 : fd_fee_calculator_t fee_calculator;
2407 : };
2408 : typedef struct fd_sysvar_fees fd_sysvar_fees_t;
2409 0 : #define FD_SYSVAR_FEES_FOOTPRINT sizeof(fd_sysvar_fees_t)
2410 0 : #define FD_SYSVAR_FEES_ALIGN (8UL)
2411 :
2412 : struct __attribute__((aligned(8UL))) fd_sysvar_fees_off {
2413 : uint fee_calculator_off;
2414 : };
2415 : typedef struct fd_sysvar_fees_off fd_sysvar_fees_off_t;
2416 : #define FD_SYSVAR_FEES_OFF_FOOTPRINT sizeof(fd_sysvar_fees_off_t)
2417 : #define FD_SYSVAR_FEES_OFF_ALIGN (8UL)
2418 :
2419 : /* https://github.com/anza-xyz/agave/blob/cbc8320d35358da14d79ebcada4dfb6756ffac79/sdk/program/src/epoch_rewards.rs#L14 */
2420 : /* Encoded Size: Fixed (81 bytes) */
2421 : struct __attribute__((aligned(8UL))) fd_sysvar_epoch_rewards {
2422 : ulong distribution_starting_block_height;
2423 : ulong num_partitions;
2424 : fd_hash_t parent_blockhash;
2425 : uint128 total_points;
2426 : ulong total_rewards;
2427 : ulong distributed_rewards;
2428 : uchar active;
2429 : };
2430 : typedef struct fd_sysvar_epoch_rewards fd_sysvar_epoch_rewards_t;
2431 0 : #define FD_SYSVAR_EPOCH_REWARDS_FOOTPRINT sizeof(fd_sysvar_epoch_rewards_t)
2432 0 : #define FD_SYSVAR_EPOCH_REWARDS_ALIGN (8UL)
2433 :
2434 : struct __attribute__((aligned(8UL))) fd_sysvar_epoch_rewards_off {
2435 : uint distribution_starting_block_height_off;
2436 : uint num_partitions_off;
2437 : uint parent_blockhash_off;
2438 : uint total_points_off;
2439 : uint total_rewards_off;
2440 : uint distributed_rewards_off;
2441 : uint active_off;
2442 : };
2443 : typedef struct fd_sysvar_epoch_rewards_off fd_sysvar_epoch_rewards_off_t;
2444 : #define FD_SYSVAR_EPOCH_REWARDS_OFF_FOOTPRINT sizeof(fd_sysvar_epoch_rewards_off_t)
2445 : #define FD_SYSVAR_EPOCH_REWARDS_OFF_ALIGN (8UL)
2446 :
2447 : /* Encoded Size: Fixed (33 bytes) */
2448 : struct __attribute__((aligned(8UL))) fd_config_keys_pair {
2449 : fd_pubkey_t key;
2450 : uchar signer;
2451 : };
2452 : typedef struct fd_config_keys_pair fd_config_keys_pair_t;
2453 0 : #define FD_CONFIG_KEYS_PAIR_FOOTPRINT sizeof(fd_config_keys_pair_t)
2454 0 : #define FD_CONFIG_KEYS_PAIR_ALIGN (8UL)
2455 :
2456 : struct __attribute__((aligned(8UL))) fd_config_keys_pair_off {
2457 : uint key_off;
2458 : uint signer_off;
2459 : };
2460 : typedef struct fd_config_keys_pair_off fd_config_keys_pair_off_t;
2461 : #define FD_CONFIG_KEYS_PAIR_OFF_FOOTPRINT sizeof(fd_config_keys_pair_off_t)
2462 : #define FD_CONFIG_KEYS_PAIR_OFF_ALIGN (8UL)
2463 :
2464 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/stake/config.rs#L14 */
2465 : /* Encoded Size: Dynamic */
2466 : struct __attribute__((aligned(8UL))) fd_stake_config {
2467 : ushort config_keys_len;
2468 : fd_config_keys_pair_t * config_keys;
2469 : double warmup_cooldown_rate;
2470 : uchar slash_penalty;
2471 : };
2472 : typedef struct fd_stake_config fd_stake_config_t;
2473 0 : #define FD_STAKE_CONFIG_FOOTPRINT sizeof(fd_stake_config_t)
2474 0 : #define FD_STAKE_CONFIG_ALIGN (8UL)
2475 :
2476 : struct __attribute__((aligned(8UL))) fd_stake_config_off {
2477 : uint config_keys_off;
2478 : uint warmup_cooldown_rate_off;
2479 : uint slash_penalty_off;
2480 : };
2481 : typedef struct fd_stake_config_off fd_stake_config_off_t;
2482 : #define FD_STAKE_CONFIG_OFF_FOOTPRINT sizeof(fd_stake_config_off_t)
2483 : #define FD_STAKE_CONFIG_OFF_ALIGN (8UL)
2484 :
2485 : /* Encoded Size: Dynamic */
2486 : struct __attribute__((aligned(8UL))) fd_feature_entry {
2487 : fd_pubkey_t pubkey;
2488 : ulong description_len;
2489 : uchar* description;
2490 : ulong since_slot;
2491 : };
2492 : typedef struct fd_feature_entry fd_feature_entry_t;
2493 0 : #define FD_FEATURE_ENTRY_FOOTPRINT sizeof(fd_feature_entry_t)
2494 0 : #define FD_FEATURE_ENTRY_ALIGN (8UL)
2495 :
2496 : struct __attribute__((aligned(8UL))) fd_feature_entry_off {
2497 : uint pubkey_off;
2498 : uint description_off;
2499 : uint since_slot_off;
2500 : };
2501 : typedef struct fd_feature_entry_off fd_feature_entry_off_t;
2502 : #define FD_FEATURE_ENTRY_OFF_FOOTPRINT sizeof(fd_feature_entry_off_t)
2503 : #define FD_FEATURE_ENTRY_OFF_ALIGN (8UL)
2504 :
2505 : /* Encoded Size: Dynamic */
2506 : struct __attribute__((aligned(16UL))) fd_firedancer_bank {
2507 : fd_stakes_t stakes;
2508 : fd_recent_block_hashes_t recent_block_hashes;
2509 : fd_clock_timestamp_votes_t timestamp_votes;
2510 : ulong slot;
2511 : ulong prev_slot;
2512 : fd_hash_t poh;
2513 : fd_hash_t banks_hash;
2514 : fd_fee_rate_governor_t fee_rate_governor;
2515 : ulong capitalization;
2516 : ulong block_height;
2517 : ulong lamports_per_signature;
2518 : ulong hashes_per_tick;
2519 : ulong ticks_per_slot;
2520 : uint128 ns_per_slot;
2521 : ulong genesis_creation_time;
2522 : double slots_per_year;
2523 : ulong max_tick_height;
2524 : fd_inflation_t inflation;
2525 : fd_epoch_schedule_t epoch_schedule;
2526 : fd_rent_t rent;
2527 : ulong collected_fees;
2528 : ulong collected_rent;
2529 : fd_vote_accounts_t epoch_stakes;
2530 : fd_sol_sysvar_last_restart_slot_t last_restart_slot;
2531 : };
2532 : typedef struct fd_firedancer_bank fd_firedancer_bank_t;
2533 0 : #define FD_FIREDANCER_BANK_FOOTPRINT sizeof(fd_firedancer_bank_t)
2534 0 : #define FD_FIREDANCER_BANK_ALIGN (16UL)
2535 :
2536 : struct __attribute__((aligned(16UL))) fd_firedancer_bank_off {
2537 : uint stakes_off;
2538 : uint recent_block_hashes_off;
2539 : uint timestamp_votes_off;
2540 : uint slot_off;
2541 : uint prev_slot_off;
2542 : uint poh_off;
2543 : uint banks_hash_off;
2544 : uint fee_rate_governor_off;
2545 : uint capitalization_off;
2546 : uint block_height_off;
2547 : uint lamports_per_signature_off;
2548 : uint hashes_per_tick_off;
2549 : uint ticks_per_slot_off;
2550 : uint ns_per_slot_off;
2551 : uint genesis_creation_time_off;
2552 : uint slots_per_year_off;
2553 : uint max_tick_height_off;
2554 : uint inflation_off;
2555 : uint epoch_schedule_off;
2556 : uint rent_off;
2557 : uint collected_fees_off;
2558 : uint collected_rent_off;
2559 : uint epoch_stakes_off;
2560 : uint last_restart_slot_off;
2561 : };
2562 : typedef struct fd_firedancer_bank_off fd_firedancer_bank_off_t;
2563 : #define FD_FIREDANCER_BANK_OFF_FOOTPRINT sizeof(fd_firedancer_bank_off_t)
2564 : #define FD_FIREDANCER_BANK_OFF_ALIGN (16UL)
2565 :
2566 : union fd_cluster_type_inner {
2567 : uchar nonempty; /* Hack to support enums with no inner structures */
2568 : };
2569 : typedef union fd_cluster_type_inner fd_cluster_type_inner_t;
2570 :
2571 : struct fd_cluster_type {
2572 : uint discriminant;
2573 : fd_cluster_type_inner_t inner;
2574 : };
2575 : typedef struct fd_cluster_type fd_cluster_type_t;
2576 0 : #define FD_CLUSTER_TYPE_FOOTPRINT sizeof(fd_cluster_type_t)
2577 0 : #define FD_CLUSTER_TYPE_ALIGN (8UL)
2578 :
2579 : /* Encoded Size: Dynamic */
2580 : struct __attribute__((aligned(16UL))) fd_epoch_bank {
2581 : fd_stakes_t stakes;
2582 : ulong hashes_per_tick;
2583 : ulong ticks_per_slot;
2584 : uint128 ns_per_slot;
2585 : ulong genesis_creation_time;
2586 : double slots_per_year;
2587 : ulong max_tick_height;
2588 : fd_inflation_t inflation;
2589 : fd_epoch_schedule_t epoch_schedule;
2590 : fd_rent_t rent;
2591 : ulong eah_start_slot;
2592 : ulong eah_stop_slot;
2593 : ulong eah_interval;
2594 : fd_hash_t genesis_hash;
2595 : uint cluster_type;
2596 : uint cluster_version[3];
2597 : fd_vote_accounts_t next_epoch_stakes;
2598 : fd_epoch_schedule_t rent_epoch_schedule;
2599 : };
2600 : typedef struct fd_epoch_bank fd_epoch_bank_t;
2601 0 : #define FD_EPOCH_BANK_FOOTPRINT sizeof(fd_epoch_bank_t)
2602 0 : #define FD_EPOCH_BANK_ALIGN (16UL)
2603 :
2604 : struct __attribute__((aligned(16UL))) fd_epoch_bank_off {
2605 : uint stakes_off;
2606 : uint hashes_per_tick_off;
2607 : uint ticks_per_slot_off;
2608 : uint ns_per_slot_off;
2609 : uint genesis_creation_time_off;
2610 : uint slots_per_year_off;
2611 : uint max_tick_height_off;
2612 : uint inflation_off;
2613 : uint epoch_schedule_off;
2614 : uint rent_off;
2615 : uint eah_start_slot_off;
2616 : uint eah_stop_slot_off;
2617 : uint eah_interval_off;
2618 : uint genesis_hash_off;
2619 : uint cluster_type_off;
2620 : uint cluster_version_off;
2621 : uint next_epoch_stakes_off;
2622 : uint rent_epoch_schedule_off;
2623 : };
2624 : typedef struct fd_epoch_bank_off fd_epoch_bank_off_t;
2625 : #define FD_EPOCH_BANK_OFF_FOOTPRINT sizeof(fd_epoch_bank_off_t)
2626 : #define FD_EPOCH_BANK_OFF_ALIGN (16UL)
2627 :
2628 : /* Encoded Size: Dynamic */
2629 : struct __attribute__((aligned(128UL))) fd_slot_bank {
2630 : fd_recent_block_hashes_t recent_block_hashes;
2631 : fd_clock_timestamp_votes_t timestamp_votes;
2632 : ulong slot;
2633 : ulong prev_slot;
2634 : fd_hash_t poh;
2635 : fd_hash_t banks_hash;
2636 : fd_hash_t epoch_account_hash;
2637 : fd_fee_rate_governor_t fee_rate_governor;
2638 : ulong capitalization;
2639 : ulong block_height;
2640 : ulong max_tick_height;
2641 : ulong collected_execution_fees;
2642 : ulong collected_priority_fees;
2643 : ulong collected_rent;
2644 : fd_vote_accounts_t epoch_stakes;
2645 : fd_sol_sysvar_last_restart_slot_t last_restart_slot;
2646 : fd_stake_accounts_t stake_account_keys;
2647 : fd_vote_accounts_t vote_account_keys;
2648 : ulong lamports_per_signature;
2649 : ulong transaction_count;
2650 : fd_slot_lthash_t lthash;
2651 : fd_block_hash_queue_t block_hash_queue;
2652 : fd_hash_t prev_banks_hash;
2653 : ulong parent_signature_cnt;
2654 : ulong tick_height;
2655 : ulong use_preceeding_epoch_stakes;
2656 : uchar has_use_preceeding_epoch_stakes;
2657 : fd_hard_forks_t hard_forks;
2658 : };
2659 : typedef struct fd_slot_bank fd_slot_bank_t;
2660 0 : #define FD_SLOT_BANK_FOOTPRINT sizeof(fd_slot_bank_t)
2661 0 : #define FD_SLOT_BANK_ALIGN (128UL)
2662 :
2663 : struct __attribute__((aligned(128UL))) fd_slot_bank_off {
2664 : uint recent_block_hashes_off;
2665 : uint timestamp_votes_off;
2666 : uint slot_off;
2667 : uint prev_slot_off;
2668 : uint poh_off;
2669 : uint banks_hash_off;
2670 : uint epoch_account_hash_off;
2671 : uint fee_rate_governor_off;
2672 : uint capitalization_off;
2673 : uint block_height_off;
2674 : uint max_tick_height_off;
2675 : uint collected_execution_fees_off;
2676 : uint collected_priority_fees_off;
2677 : uint collected_rent_off;
2678 : uint epoch_stakes_off;
2679 : uint last_restart_slot_off;
2680 : uint stake_account_keys_off;
2681 : uint vote_account_keys_off;
2682 : uint lamports_per_signature_off;
2683 : uint transaction_count_off;
2684 : uint lthash_off;
2685 : uint block_hash_queue_off;
2686 : uint prev_banks_hash_off;
2687 : uint parent_signature_cnt_off;
2688 : uint tick_height_off;
2689 : uint use_preceeding_epoch_stakes_off;
2690 : uint hard_forks_off;
2691 : };
2692 : typedef struct fd_slot_bank_off fd_slot_bank_off_t;
2693 : #define FD_SLOT_BANK_OFF_FOOTPRINT sizeof(fd_slot_bank_off_t)
2694 : #define FD_SLOT_BANK_OFF_ALIGN (128UL)
2695 :
2696 : /* Encoded Size: Fixed (32 bytes) */
2697 : struct __attribute__((aligned(8UL))) fd_prev_epoch_inflation_rewards {
2698 : ulong validator_rewards;
2699 : double prev_epoch_duration_in_years;
2700 : double validator_rate;
2701 : double foundation_rate;
2702 : };
2703 : typedef struct fd_prev_epoch_inflation_rewards fd_prev_epoch_inflation_rewards_t;
2704 0 : #define FD_PREV_EPOCH_INFLATION_REWARDS_FOOTPRINT sizeof(fd_prev_epoch_inflation_rewards_t)
2705 0 : #define FD_PREV_EPOCH_INFLATION_REWARDS_ALIGN (8UL)
2706 :
2707 : struct __attribute__((aligned(8UL))) fd_prev_epoch_inflation_rewards_off {
2708 : uint validator_rewards_off;
2709 : uint prev_epoch_duration_in_years_off;
2710 : uint validator_rate_off;
2711 : uint foundation_rate_off;
2712 : };
2713 : typedef struct fd_prev_epoch_inflation_rewards_off fd_prev_epoch_inflation_rewards_off_t;
2714 : #define FD_PREV_EPOCH_INFLATION_REWARDS_OFF_FOOTPRINT sizeof(fd_prev_epoch_inflation_rewards_off_t)
2715 : #define FD_PREV_EPOCH_INFLATION_REWARDS_OFF_ALIGN (8UL)
2716 :
2717 : #define DEQUE_NAME deq_ulong
2718 23190 : #define DEQUE_T ulong
2719 : #include "../../util/tmpl/fd_deque_dynamic.c"
2720 : #undef DEQUE_NAME
2721 : #undef DEQUE_T
2722 : #undef DEQUE_MAX
2723 : static inline ulong *
2724 1308 : deq_ulong_alloc( fd_valloc_t valloc, ulong max ) {
2725 1308 : if( FD_UNLIKELY( 0 == max ) ) max = 1; // prevent underflow
2726 1308 : void * mem = fd_valloc_malloc( valloc, deq_ulong_align(), deq_ulong_footprint( max ) );
2727 1308 : return deq_ulong_join( deq_ulong_new( mem, max ) );
2728 1308 : }
2729 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_state/mod.rs#L133 */
2730 : /* Encoded Size: Dynamic */
2731 : struct __attribute__((aligned(8UL))) fd_vote {
2732 : ulong * slots; /* fd_deque_dynamic */
2733 : fd_hash_t hash;
2734 : long* timestamp;
2735 : };
2736 : typedef struct fd_vote fd_vote_t;
2737 0 : #define FD_VOTE_FOOTPRINT sizeof(fd_vote_t)
2738 0 : #define FD_VOTE_ALIGN (8UL)
2739 :
2740 : struct __attribute__((aligned(8UL))) fd_vote_off {
2741 : uint slots_off;
2742 : uint hash_off;
2743 : uint timestamp_off;
2744 : };
2745 : typedef struct fd_vote_off fd_vote_off_t;
2746 : #define FD_VOTE_OFF_FOOTPRINT sizeof(fd_vote_off_t)
2747 : #define FD_VOTE_OFF_ALIGN (8UL)
2748 :
2749 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_state/mod.rs#L230 */
2750 : /* Encoded Size: Fixed (97 bytes) */
2751 : struct __attribute__((aligned(8UL))) fd_vote_init {
2752 : fd_pubkey_t node_pubkey;
2753 : fd_pubkey_t authorized_voter;
2754 : fd_pubkey_t authorized_withdrawer;
2755 : uchar commission;
2756 : };
2757 : typedef struct fd_vote_init fd_vote_init_t;
2758 0 : #define FD_VOTE_INIT_FOOTPRINT sizeof(fd_vote_init_t)
2759 0 : #define FD_VOTE_INIT_ALIGN (8UL)
2760 :
2761 : struct __attribute__((aligned(8UL))) fd_vote_init_off {
2762 : uint node_pubkey_off;
2763 : uint authorized_voter_off;
2764 : uint authorized_withdrawer_off;
2765 : uint commission_off;
2766 : };
2767 : typedef struct fd_vote_init_off fd_vote_init_off_t;
2768 : #define FD_VOTE_INIT_OFF_FOOTPRINT sizeof(fd_vote_init_off_t)
2769 : #define FD_VOTE_INIT_OFF_ALIGN (8UL)
2770 :
2771 : union fd_vote_authorize_inner {
2772 : uchar nonempty; /* Hack to support enums with no inner structures */
2773 : };
2774 : typedef union fd_vote_authorize_inner fd_vote_authorize_inner_t;
2775 :
2776 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_state/mod.rs#L238 */
2777 : struct fd_vote_authorize {
2778 : uint discriminant;
2779 : fd_vote_authorize_inner_t inner;
2780 : };
2781 : typedef struct fd_vote_authorize fd_vote_authorize_t;
2782 0 : #define FD_VOTE_AUTHORIZE_FOOTPRINT sizeof(fd_vote_authorize_t)
2783 0 : #define FD_VOTE_AUTHORIZE_ALIGN (8UL)
2784 :
2785 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_instruction.rs#L37 */
2786 : /* Encoded Size: Fixed (36 bytes) */
2787 : struct __attribute__((aligned(8UL))) fd_vote_authorize_pubkey {
2788 : fd_pubkey_t pubkey;
2789 : fd_vote_authorize_t vote_authorize;
2790 : };
2791 : typedef struct fd_vote_authorize_pubkey fd_vote_authorize_pubkey_t;
2792 0 : #define FD_VOTE_AUTHORIZE_PUBKEY_FOOTPRINT sizeof(fd_vote_authorize_pubkey_t)
2793 0 : #define FD_VOTE_AUTHORIZE_PUBKEY_ALIGN (8UL)
2794 :
2795 : struct __attribute__((aligned(8UL))) fd_vote_authorize_pubkey_off {
2796 : uint pubkey_off;
2797 : uint vote_authorize_off;
2798 : };
2799 : typedef struct fd_vote_authorize_pubkey_off fd_vote_authorize_pubkey_off_t;
2800 : #define FD_VOTE_AUTHORIZE_PUBKEY_OFF_FOOTPRINT sizeof(fd_vote_authorize_pubkey_off_t)
2801 : #define FD_VOTE_AUTHORIZE_PUBKEY_OFF_ALIGN (8UL)
2802 :
2803 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_instruction.rs#L78 */
2804 : /* Encoded Size: Dynamic */
2805 : struct __attribute__((aligned(8UL))) fd_vote_switch {
2806 : fd_vote_t vote;
2807 : fd_hash_t hash;
2808 : };
2809 : typedef struct fd_vote_switch fd_vote_switch_t;
2810 0 : #define FD_VOTE_SWITCH_FOOTPRINT sizeof(fd_vote_switch_t)
2811 0 : #define FD_VOTE_SWITCH_ALIGN (8UL)
2812 :
2813 : struct __attribute__((aligned(8UL))) fd_vote_switch_off {
2814 : uint vote_off;
2815 : uint hash_off;
2816 : };
2817 : typedef struct fd_vote_switch_off fd_vote_switch_off_t;
2818 : #define FD_VOTE_SWITCH_OFF_FOOTPRINT sizeof(fd_vote_switch_off_t)
2819 : #define FD_VOTE_SWITCH_OFF_ALIGN (8UL)
2820 :
2821 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_instruction.rs#L104 */
2822 : /* Encoded Size: Dynamic */
2823 : struct __attribute__((aligned(8UL))) fd_update_vote_state_switch {
2824 : fd_vote_state_update_t vote_state_update;
2825 : fd_hash_t hash;
2826 : };
2827 : typedef struct fd_update_vote_state_switch fd_update_vote_state_switch_t;
2828 0 : #define FD_UPDATE_VOTE_STATE_SWITCH_FOOTPRINT sizeof(fd_update_vote_state_switch_t)
2829 0 : #define FD_UPDATE_VOTE_STATE_SWITCH_ALIGN (8UL)
2830 :
2831 : struct __attribute__((aligned(8UL))) fd_update_vote_state_switch_off {
2832 : uint vote_state_update_off;
2833 : uint hash_off;
2834 : };
2835 : typedef struct fd_update_vote_state_switch_off fd_update_vote_state_switch_off_t;
2836 : #define FD_UPDATE_VOTE_STATE_SWITCH_OFF_FOOTPRINT sizeof(fd_update_vote_state_switch_off_t)
2837 : #define FD_UPDATE_VOTE_STATE_SWITCH_OFF_ALIGN (8UL)
2838 :
2839 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_state/mod.rs#L244 */
2840 : /* Encoded Size: Dynamic */
2841 : struct __attribute__((aligned(8UL))) fd_vote_authorize_with_seed_args {
2842 : fd_vote_authorize_t authorization_type;
2843 : fd_pubkey_t current_authority_derived_key_owner;
2844 : ulong current_authority_derived_key_seed_len;
2845 : uchar* current_authority_derived_key_seed;
2846 : fd_pubkey_t new_authority;
2847 : };
2848 : typedef struct fd_vote_authorize_with_seed_args fd_vote_authorize_with_seed_args_t;
2849 0 : #define FD_VOTE_AUTHORIZE_WITH_SEED_ARGS_FOOTPRINT sizeof(fd_vote_authorize_with_seed_args_t)
2850 0 : #define FD_VOTE_AUTHORIZE_WITH_SEED_ARGS_ALIGN (8UL)
2851 :
2852 : struct __attribute__((aligned(8UL))) fd_vote_authorize_with_seed_args_off {
2853 : uint authorization_type_off;
2854 : uint current_authority_derived_key_owner_off;
2855 : uint current_authority_derived_key_seed_off;
2856 : uint new_authority_off;
2857 : };
2858 : typedef struct fd_vote_authorize_with_seed_args_off fd_vote_authorize_with_seed_args_off_t;
2859 : #define FD_VOTE_AUTHORIZE_WITH_SEED_ARGS_OFF_FOOTPRINT sizeof(fd_vote_authorize_with_seed_args_off_t)
2860 : #define FD_VOTE_AUTHORIZE_WITH_SEED_ARGS_OFF_ALIGN (8UL)
2861 :
2862 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/programs/vote/src/vote_state/mod.rs#L252 */
2863 : /* Encoded Size: Dynamic */
2864 : struct __attribute__((aligned(8UL))) fd_vote_authorize_checked_with_seed_args {
2865 : fd_vote_authorize_t authorization_type;
2866 : fd_pubkey_t current_authority_derived_key_owner;
2867 : ulong current_authority_derived_key_seed_len;
2868 : uchar* current_authority_derived_key_seed;
2869 : };
2870 : typedef struct fd_vote_authorize_checked_with_seed_args fd_vote_authorize_checked_with_seed_args_t;
2871 0 : #define FD_VOTE_AUTHORIZE_CHECKED_WITH_SEED_ARGS_FOOTPRINT sizeof(fd_vote_authorize_checked_with_seed_args_t)
2872 0 : #define FD_VOTE_AUTHORIZE_CHECKED_WITH_SEED_ARGS_ALIGN (8UL)
2873 :
2874 : struct __attribute__((aligned(8UL))) fd_vote_authorize_checked_with_seed_args_off {
2875 : uint authorization_type_off;
2876 : uint current_authority_derived_key_owner_off;
2877 : uint current_authority_derived_key_seed_off;
2878 : };
2879 : typedef struct fd_vote_authorize_checked_with_seed_args_off fd_vote_authorize_checked_with_seed_args_off_t;
2880 : #define FD_VOTE_AUTHORIZE_CHECKED_WITH_SEED_ARGS_OFF_FOOTPRINT sizeof(fd_vote_authorize_checked_with_seed_args_off_t)
2881 : #define FD_VOTE_AUTHORIZE_CHECKED_WITH_SEED_ARGS_OFF_ALIGN (8UL)
2882 :
2883 : union fd_vote_instruction_inner {
2884 : fd_vote_init_t initialize_account;
2885 : fd_vote_authorize_pubkey_t authorize;
2886 : fd_vote_t vote;
2887 : ulong withdraw;
2888 : uchar update_commission;
2889 : fd_vote_switch_t vote_switch;
2890 : fd_vote_authorize_t authorize_checked;
2891 : fd_vote_state_update_t update_vote_state;
2892 : fd_update_vote_state_switch_t update_vote_state_switch;
2893 : fd_vote_authorize_with_seed_args_t authorize_with_seed;
2894 : fd_vote_authorize_checked_with_seed_args_t authorize_checked_with_seed;
2895 : fd_compact_vote_state_update_t compact_update_vote_state;
2896 : fd_compact_vote_state_update_switch_t compact_update_vote_state_switch;
2897 : fd_tower_sync_t tower_sync;
2898 : fd_tower_sync_switch_t tower_sync_switch;
2899 : };
2900 : typedef union fd_vote_instruction_inner fd_vote_instruction_inner_t;
2901 :
2902 : /* https://github.com/firedancer-io/solana/blob/53a4e5d6c58b2ffe89b09304e4437f8ca198dadd/programs/vote/src/vote_instruction.rs#L21 */
2903 : struct fd_vote_instruction {
2904 : uint discriminant;
2905 : fd_vote_instruction_inner_t inner;
2906 : };
2907 : typedef struct fd_vote_instruction fd_vote_instruction_t;
2908 0 : #define FD_VOTE_INSTRUCTION_FOOTPRINT sizeof(fd_vote_instruction_t)
2909 0 : #define FD_VOTE_INSTRUCTION_ALIGN (8UL)
2910 :
2911 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/system_instruction.rs#L158 */
2912 : /* Encoded Size: Fixed (48 bytes) */
2913 : struct __attribute__((aligned(8UL))) fd_system_program_instruction_create_account {
2914 : ulong lamports;
2915 : ulong space;
2916 : fd_pubkey_t owner;
2917 : };
2918 : typedef struct fd_system_program_instruction_create_account fd_system_program_instruction_create_account_t;
2919 0 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_CREATE_ACCOUNT_FOOTPRINT sizeof(fd_system_program_instruction_create_account_t)
2920 0 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_CREATE_ACCOUNT_ALIGN (8UL)
2921 :
2922 : struct __attribute__((aligned(8UL))) fd_system_program_instruction_create_account_off {
2923 : uint lamports_off;
2924 : uint space_off;
2925 : uint owner_off;
2926 : };
2927 : typedef struct fd_system_program_instruction_create_account_off fd_system_program_instruction_create_account_off_t;
2928 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_CREATE_ACCOUNT_OFF_FOOTPRINT sizeof(fd_system_program_instruction_create_account_off_t)
2929 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_CREATE_ACCOUNT_OFF_ALIGN (8UL)
2930 :
2931 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/system_instruction.rs#L193 */
2932 : /* Encoded Size: Dynamic */
2933 : struct __attribute__((aligned(8UL))) fd_system_program_instruction_create_account_with_seed {
2934 : fd_pubkey_t base;
2935 : ulong seed_len;
2936 : uchar* seed;
2937 : ulong lamports;
2938 : ulong space;
2939 : fd_pubkey_t owner;
2940 : };
2941 : typedef struct fd_system_program_instruction_create_account_with_seed fd_system_program_instruction_create_account_with_seed_t;
2942 0 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_CREATE_ACCOUNT_WITH_SEED_FOOTPRINT sizeof(fd_system_program_instruction_create_account_with_seed_t)
2943 0 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_CREATE_ACCOUNT_WITH_SEED_ALIGN (8UL)
2944 :
2945 : struct __attribute__((aligned(8UL))) fd_system_program_instruction_create_account_with_seed_off {
2946 : uint base_off;
2947 : uint seed_off;
2948 : uint lamports_off;
2949 : uint space_off;
2950 : uint owner_off;
2951 : };
2952 : typedef struct fd_system_program_instruction_create_account_with_seed_off fd_system_program_instruction_create_account_with_seed_off_t;
2953 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_CREATE_ACCOUNT_WITH_SEED_OFF_FOOTPRINT sizeof(fd_system_program_instruction_create_account_with_seed_off_t)
2954 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_CREATE_ACCOUNT_WITH_SEED_OFF_ALIGN (8UL)
2955 :
2956 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/system_instruction.rs#L269 */
2957 : /* Encoded Size: Dynamic */
2958 : struct __attribute__((aligned(8UL))) fd_system_program_instruction_allocate_with_seed {
2959 : fd_pubkey_t base;
2960 : ulong seed_len;
2961 : uchar* seed;
2962 : ulong space;
2963 : fd_pubkey_t owner;
2964 : };
2965 : typedef struct fd_system_program_instruction_allocate_with_seed fd_system_program_instruction_allocate_with_seed_t;
2966 0 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_ALLOCATE_WITH_SEED_FOOTPRINT sizeof(fd_system_program_instruction_allocate_with_seed_t)
2967 0 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_ALLOCATE_WITH_SEED_ALIGN (8UL)
2968 :
2969 : struct __attribute__((aligned(8UL))) fd_system_program_instruction_allocate_with_seed_off {
2970 : uint base_off;
2971 : uint seed_off;
2972 : uint space_off;
2973 : uint owner_off;
2974 : };
2975 : typedef struct fd_system_program_instruction_allocate_with_seed_off fd_system_program_instruction_allocate_with_seed_off_t;
2976 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_ALLOCATE_WITH_SEED_OFF_FOOTPRINT sizeof(fd_system_program_instruction_allocate_with_seed_off_t)
2977 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_ALLOCATE_WITH_SEED_OFF_ALIGN (8UL)
2978 :
2979 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/system_instruction.rs#L288 */
2980 : /* Encoded Size: Dynamic */
2981 : struct __attribute__((aligned(8UL))) fd_system_program_instruction_assign_with_seed {
2982 : fd_pubkey_t base;
2983 : ulong seed_len;
2984 : uchar* seed;
2985 : fd_pubkey_t owner;
2986 : };
2987 : typedef struct fd_system_program_instruction_assign_with_seed fd_system_program_instruction_assign_with_seed_t;
2988 0 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_ASSIGN_WITH_SEED_FOOTPRINT sizeof(fd_system_program_instruction_assign_with_seed_t)
2989 0 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_ASSIGN_WITH_SEED_ALIGN (8UL)
2990 :
2991 : struct __attribute__((aligned(8UL))) fd_system_program_instruction_assign_with_seed_off {
2992 : uint base_off;
2993 : uint seed_off;
2994 : uint owner_off;
2995 : };
2996 : typedef struct fd_system_program_instruction_assign_with_seed_off fd_system_program_instruction_assign_with_seed_off_t;
2997 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_ASSIGN_WITH_SEED_OFF_FOOTPRINT sizeof(fd_system_program_instruction_assign_with_seed_off_t)
2998 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_ASSIGN_WITH_SEED_OFF_ALIGN (8UL)
2999 :
3000 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/system_instruction.rs#L288 */
3001 : /* Encoded Size: Dynamic */
3002 : struct __attribute__((aligned(8UL))) fd_system_program_instruction_transfer_with_seed {
3003 : ulong lamports;
3004 : ulong from_seed_len;
3005 : uchar* from_seed;
3006 : fd_pubkey_t from_owner;
3007 : };
3008 : typedef struct fd_system_program_instruction_transfer_with_seed fd_system_program_instruction_transfer_with_seed_t;
3009 0 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_TRANSFER_WITH_SEED_FOOTPRINT sizeof(fd_system_program_instruction_transfer_with_seed_t)
3010 0 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_TRANSFER_WITH_SEED_ALIGN (8UL)
3011 :
3012 : struct __attribute__((aligned(8UL))) fd_system_program_instruction_transfer_with_seed_off {
3013 : uint lamports_off;
3014 : uint from_seed_off;
3015 : uint from_owner_off;
3016 : };
3017 : typedef struct fd_system_program_instruction_transfer_with_seed_off fd_system_program_instruction_transfer_with_seed_off_t;
3018 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_TRANSFER_WITH_SEED_OFF_FOOTPRINT sizeof(fd_system_program_instruction_transfer_with_seed_off_t)
3019 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_TRANSFER_WITH_SEED_OFF_ALIGN (8UL)
3020 :
3021 : union fd_system_program_instruction_inner {
3022 : fd_system_program_instruction_create_account_t create_account;
3023 : fd_pubkey_t assign;
3024 : ulong transfer;
3025 : fd_system_program_instruction_create_account_with_seed_t create_account_with_seed;
3026 : ulong withdraw_nonce_account;
3027 : fd_pubkey_t initialize_nonce_account;
3028 : fd_pubkey_t authorize_nonce_account;
3029 : ulong allocate;
3030 : fd_system_program_instruction_allocate_with_seed_t allocate_with_seed;
3031 : fd_system_program_instruction_assign_with_seed_t assign_with_seed;
3032 : fd_system_program_instruction_transfer_with_seed_t transfer_with_seed;
3033 : };
3034 : typedef union fd_system_program_instruction_inner fd_system_program_instruction_inner_t;
3035 :
3036 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/system_instruction.rs#L152 */
3037 : struct fd_system_program_instruction {
3038 : uint discriminant;
3039 : fd_system_program_instruction_inner_t inner;
3040 : };
3041 : typedef struct fd_system_program_instruction fd_system_program_instruction_t;
3042 0 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_FOOTPRINT sizeof(fd_system_program_instruction_t)
3043 0 : #define FD_SYSTEM_PROGRAM_INSTRUCTION_ALIGN (8UL)
3044 :
3045 : union fd_system_error_inner {
3046 : uchar nonempty; /* Hack to support enums with no inner structures */
3047 : };
3048 : typedef union fd_system_error_inner fd_system_error_inner_t;
3049 :
3050 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/system_instruction.rs#L16 */
3051 : struct fd_system_error {
3052 : uint discriminant;
3053 : fd_system_error_inner_t inner;
3054 : };
3055 : typedef struct fd_system_error fd_system_error_t;
3056 0 : #define FD_SYSTEM_ERROR_FOOTPRINT sizeof(fd_system_error_t)
3057 0 : #define FD_SYSTEM_ERROR_ALIGN (8UL)
3058 :
3059 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/stake/state.rs#L169 */
3060 : /* Encoded Size: Fixed (64 bytes) */
3061 : struct __attribute__((aligned(8UL))) fd_stake_authorized {
3062 : fd_pubkey_t staker;
3063 : fd_pubkey_t withdrawer;
3064 : };
3065 : typedef struct fd_stake_authorized fd_stake_authorized_t;
3066 0 : #define FD_STAKE_AUTHORIZED_FOOTPRINT sizeof(fd_stake_authorized_t)
3067 0 : #define FD_STAKE_AUTHORIZED_ALIGN (8UL)
3068 :
3069 : struct __attribute__((aligned(8UL))) fd_stake_authorized_off {
3070 : uint staker_off;
3071 : uint withdrawer_off;
3072 : };
3073 : typedef struct fd_stake_authorized_off fd_stake_authorized_off_t;
3074 : #define FD_STAKE_AUTHORIZED_OFF_FOOTPRINT sizeof(fd_stake_authorized_off_t)
3075 : #define FD_STAKE_AUTHORIZED_OFF_ALIGN (8UL)
3076 :
3077 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/stake/state.rs#L135 */
3078 : /* Encoded Size: Fixed (48 bytes) */
3079 : struct __attribute__((aligned(8UL))) fd_stake_lockup {
3080 : long unix_timestamp;
3081 : ulong epoch;
3082 : fd_pubkey_t custodian;
3083 : };
3084 : typedef struct fd_stake_lockup fd_stake_lockup_t;
3085 0 : #define FD_STAKE_LOCKUP_FOOTPRINT sizeof(fd_stake_lockup_t)
3086 0 : #define FD_STAKE_LOCKUP_ALIGN (8UL)
3087 :
3088 : struct __attribute__((aligned(8UL))) fd_stake_lockup_off {
3089 : uint unix_timestamp_off;
3090 : uint epoch_off;
3091 : uint custodian_off;
3092 : };
3093 : typedef struct fd_stake_lockup_off fd_stake_lockup_off_t;
3094 : #define FD_STAKE_LOCKUP_OFF_FOOTPRINT sizeof(fd_stake_lockup_off_t)
3095 : #define FD_STAKE_LOCKUP_OFF_ALIGN (8UL)
3096 :
3097 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/stake/instruction.rs#L68 */
3098 : /* Encoded Size: Fixed (112 bytes) */
3099 : struct __attribute__((aligned(8UL))) fd_stake_instruction_initialize {
3100 : fd_stake_authorized_t authorized;
3101 : fd_stake_lockup_t lockup;
3102 : };
3103 : typedef struct fd_stake_instruction_initialize fd_stake_instruction_initialize_t;
3104 0 : #define FD_STAKE_INSTRUCTION_INITIALIZE_FOOTPRINT sizeof(fd_stake_instruction_initialize_t)
3105 0 : #define FD_STAKE_INSTRUCTION_INITIALIZE_ALIGN (8UL)
3106 :
3107 : struct __attribute__((aligned(8UL))) fd_stake_instruction_initialize_off {
3108 : uint authorized_off;
3109 : uint lockup_off;
3110 : };
3111 : typedef struct fd_stake_instruction_initialize_off fd_stake_instruction_initialize_off_t;
3112 : #define FD_STAKE_INSTRUCTION_INITIALIZE_OFF_FOOTPRINT sizeof(fd_stake_instruction_initialize_off_t)
3113 : #define FD_STAKE_INSTRUCTION_INITIALIZE_OFF_ALIGN (8UL)
3114 :
3115 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/stake/instruction.rs#L78 */
3116 : /* Encoded Size: Dynamic */
3117 : struct __attribute__((aligned(8UL))) fd_stake_lockup_custodian_args {
3118 : fd_stake_lockup_t lockup;
3119 : fd_sol_sysvar_clock_t clock;
3120 : fd_pubkey_t * custodian;
3121 : };
3122 : typedef struct fd_stake_lockup_custodian_args fd_stake_lockup_custodian_args_t;
3123 0 : #define FD_STAKE_LOCKUP_CUSTODIAN_ARGS_FOOTPRINT sizeof(fd_stake_lockup_custodian_args_t)
3124 0 : #define FD_STAKE_LOCKUP_CUSTODIAN_ARGS_ALIGN (8UL)
3125 :
3126 : struct __attribute__((aligned(8UL))) fd_stake_lockup_custodian_args_off {
3127 : uint lockup_off;
3128 : uint clock_off;
3129 : uint custodian_off;
3130 : };
3131 : typedef struct fd_stake_lockup_custodian_args_off fd_stake_lockup_custodian_args_off_t;
3132 : #define FD_STAKE_LOCKUP_CUSTODIAN_ARGS_OFF_FOOTPRINT sizeof(fd_stake_lockup_custodian_args_off_t)
3133 : #define FD_STAKE_LOCKUP_CUSTODIAN_ARGS_OFF_ALIGN (8UL)
3134 :
3135 : union fd_stake_authorize_inner {
3136 : uchar nonempty; /* Hack to support enums with no inner structures */
3137 : };
3138 : typedef union fd_stake_authorize_inner fd_stake_authorize_inner_t;
3139 :
3140 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/stake/state.rs#L117 */
3141 : struct fd_stake_authorize {
3142 : uint discriminant;
3143 : fd_stake_authorize_inner_t inner;
3144 : };
3145 : typedef struct fd_stake_authorize fd_stake_authorize_t;
3146 0 : #define FD_STAKE_AUTHORIZE_FOOTPRINT sizeof(fd_stake_authorize_t)
3147 0 : #define FD_STAKE_AUTHORIZE_ALIGN (8UL)
3148 :
3149 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/stake/instruction.rs#L78 */
3150 : /* Encoded Size: Fixed (36 bytes) */
3151 : struct __attribute__((aligned(8UL))) fd_stake_instruction_authorize {
3152 : fd_pubkey_t pubkey;
3153 : fd_stake_authorize_t stake_authorize;
3154 : };
3155 : typedef struct fd_stake_instruction_authorize fd_stake_instruction_authorize_t;
3156 0 : #define FD_STAKE_INSTRUCTION_AUTHORIZE_FOOTPRINT sizeof(fd_stake_instruction_authorize_t)
3157 0 : #define FD_STAKE_INSTRUCTION_AUTHORIZE_ALIGN (8UL)
3158 :
3159 : struct __attribute__((aligned(8UL))) fd_stake_instruction_authorize_off {
3160 : uint pubkey_off;
3161 : uint stake_authorize_off;
3162 : };
3163 : typedef struct fd_stake_instruction_authorize_off fd_stake_instruction_authorize_off_t;
3164 : #define FD_STAKE_INSTRUCTION_AUTHORIZE_OFF_FOOTPRINT sizeof(fd_stake_instruction_authorize_off_t)
3165 : #define FD_STAKE_INSTRUCTION_AUTHORIZE_OFF_ALIGN (8UL)
3166 :
3167 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/stake/instruction.rs#L241 */
3168 : /* Encoded Size: Dynamic */
3169 : struct __attribute__((aligned(8UL))) fd_authorize_with_seed_args {
3170 : fd_pubkey_t new_authorized_pubkey;
3171 : fd_stake_authorize_t stake_authorize;
3172 : ulong authority_seed_len;
3173 : uchar* authority_seed;
3174 : fd_pubkey_t authority_owner;
3175 : };
3176 : typedef struct fd_authorize_with_seed_args fd_authorize_with_seed_args_t;
3177 0 : #define FD_AUTHORIZE_WITH_SEED_ARGS_FOOTPRINT sizeof(fd_authorize_with_seed_args_t)
3178 0 : #define FD_AUTHORIZE_WITH_SEED_ARGS_ALIGN (8UL)
3179 :
3180 : struct __attribute__((aligned(8UL))) fd_authorize_with_seed_args_off {
3181 : uint new_authorized_pubkey_off;
3182 : uint stake_authorize_off;
3183 : uint authority_seed_off;
3184 : uint authority_owner_off;
3185 : };
3186 : typedef struct fd_authorize_with_seed_args_off fd_authorize_with_seed_args_off_t;
3187 : #define FD_AUTHORIZE_WITH_SEED_ARGS_OFF_FOOTPRINT sizeof(fd_authorize_with_seed_args_off_t)
3188 : #define FD_AUTHORIZE_WITH_SEED_ARGS_OFF_ALIGN (8UL)
3189 :
3190 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/stake/instruction.rs#L249 */
3191 : /* Encoded Size: Dynamic */
3192 : struct __attribute__((aligned(8UL))) fd_authorize_checked_with_seed_args {
3193 : fd_stake_authorize_t stake_authorize;
3194 : ulong authority_seed_len;
3195 : uchar* authority_seed;
3196 : fd_pubkey_t authority_owner;
3197 : };
3198 : typedef struct fd_authorize_checked_with_seed_args fd_authorize_checked_with_seed_args_t;
3199 0 : #define FD_AUTHORIZE_CHECKED_WITH_SEED_ARGS_FOOTPRINT sizeof(fd_authorize_checked_with_seed_args_t)
3200 0 : #define FD_AUTHORIZE_CHECKED_WITH_SEED_ARGS_ALIGN (8UL)
3201 :
3202 : struct __attribute__((aligned(8UL))) fd_authorize_checked_with_seed_args_off {
3203 : uint stake_authorize_off;
3204 : uint authority_seed_off;
3205 : uint authority_owner_off;
3206 : };
3207 : typedef struct fd_authorize_checked_with_seed_args_off fd_authorize_checked_with_seed_args_off_t;
3208 : #define FD_AUTHORIZE_CHECKED_WITH_SEED_ARGS_OFF_FOOTPRINT sizeof(fd_authorize_checked_with_seed_args_off_t)
3209 : #define FD_AUTHORIZE_CHECKED_WITH_SEED_ARGS_OFF_ALIGN (8UL)
3210 :
3211 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/stake/instruction.rs#L235 */
3212 : /* Encoded Size: Dynamic */
3213 : struct __attribute__((aligned(8UL))) fd_lockup_checked_args {
3214 : long* unix_timestamp;
3215 : ulong* epoch;
3216 : };
3217 : typedef struct fd_lockup_checked_args fd_lockup_checked_args_t;
3218 0 : #define FD_LOCKUP_CHECKED_ARGS_FOOTPRINT sizeof(fd_lockup_checked_args_t)
3219 0 : #define FD_LOCKUP_CHECKED_ARGS_ALIGN (8UL)
3220 :
3221 : struct __attribute__((aligned(8UL))) fd_lockup_checked_args_off {
3222 : uint unix_timestamp_off;
3223 : uint epoch_off;
3224 : };
3225 : typedef struct fd_lockup_checked_args_off fd_lockup_checked_args_off_t;
3226 : #define FD_LOCKUP_CHECKED_ARGS_OFF_FOOTPRINT sizeof(fd_lockup_checked_args_off_t)
3227 : #define FD_LOCKUP_CHECKED_ARGS_OFF_ALIGN (8UL)
3228 :
3229 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/stake/instruction.rs#L228 */
3230 : /* Encoded Size: Dynamic */
3231 : struct __attribute__((aligned(8UL))) fd_lockup_args {
3232 : long* unix_timestamp;
3233 : ulong* epoch;
3234 : fd_pubkey_t * custodian;
3235 : };
3236 : typedef struct fd_lockup_args fd_lockup_args_t;
3237 0 : #define FD_LOCKUP_ARGS_FOOTPRINT sizeof(fd_lockup_args_t)
3238 0 : #define FD_LOCKUP_ARGS_ALIGN (8UL)
3239 :
3240 : struct __attribute__((aligned(8UL))) fd_lockup_args_off {
3241 : uint unix_timestamp_off;
3242 : uint epoch_off;
3243 : uint custodian_off;
3244 : };
3245 : typedef struct fd_lockup_args_off fd_lockup_args_off_t;
3246 : #define FD_LOCKUP_ARGS_OFF_FOOTPRINT sizeof(fd_lockup_args_off_t)
3247 : #define FD_LOCKUP_ARGS_OFF_ALIGN (8UL)
3248 :
3249 : union fd_stake_instruction_inner {
3250 : fd_stake_instruction_initialize_t initialize;
3251 : fd_stake_instruction_authorize_t authorize;
3252 : ulong split;
3253 : ulong withdraw;
3254 : fd_lockup_args_t set_lockup;
3255 : fd_authorize_with_seed_args_t authorize_with_seed;
3256 : fd_stake_authorize_t authorize_checked;
3257 : fd_authorize_checked_with_seed_args_t authorize_checked_with_seed;
3258 : fd_lockup_checked_args_t set_lockup_checked;
3259 : ulong move_stake;
3260 : ulong move_lamports;
3261 : };
3262 : typedef union fd_stake_instruction_inner fd_stake_instruction_inner_t;
3263 :
3264 : /* https://github.com/anza-xyz/agave/blob/cdff19c7807b006dd63429114fb1d9573bf74172/sdk/program/src/stake/instruction.rs#L96 */
3265 : struct fd_stake_instruction {
3266 : uint discriminant;
3267 : fd_stake_instruction_inner_t inner;
3268 : };
3269 : typedef struct fd_stake_instruction fd_stake_instruction_t;
3270 0 : #define FD_STAKE_INSTRUCTION_FOOTPRINT sizeof(fd_stake_instruction_t)
3271 0 : #define FD_STAKE_INSTRUCTION_ALIGN (8UL)
3272 :
3273 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/stake/state.rs#L248 */
3274 : /* Encoded Size: Fixed (120 bytes) */
3275 : struct __attribute__((aligned(8UL))) fd_stake_meta {
3276 : ulong rent_exempt_reserve;
3277 : fd_stake_authorized_t authorized;
3278 : fd_stake_lockup_t lockup;
3279 : };
3280 : typedef struct fd_stake_meta fd_stake_meta_t;
3281 0 : #define FD_STAKE_META_FOOTPRINT sizeof(fd_stake_meta_t)
3282 0 : #define FD_STAKE_META_ALIGN (8UL)
3283 :
3284 : struct __attribute__((aligned(8UL))) fd_stake_meta_off {
3285 : uint rent_exempt_reserve_off;
3286 : uint authorized_off;
3287 : uint lockup_off;
3288 : };
3289 : typedef struct fd_stake_meta_off fd_stake_meta_off_t;
3290 : #define FD_STAKE_META_OFF_FOOTPRINT sizeof(fd_stake_meta_off_t)
3291 : #define FD_STAKE_META_OFF_ALIGN (8UL)
3292 :
3293 : /* https://github.com/firedancer-io/solana/blob/v1.17/sdk/program/src/stake/stake_flags.rs#L21 */
3294 : /* Encoded Size: Fixed (1 bytes) */
3295 : struct __attribute__((aligned(8UL))) fd_stake_flags {
3296 : uchar bits;
3297 : };
3298 : typedef struct fd_stake_flags fd_stake_flags_t;
3299 0 : #define FD_STAKE_FLAGS_FOOTPRINT sizeof(fd_stake_flags_t)
3300 0 : #define FD_STAKE_FLAGS_ALIGN (8UL)
3301 :
3302 : struct __attribute__((aligned(8UL))) fd_stake_flags_off {
3303 : uint bits_off;
3304 : };
3305 : typedef struct fd_stake_flags_off fd_stake_flags_off_t;
3306 : #define FD_STAKE_FLAGS_OFF_FOOTPRINT sizeof(fd_stake_flags_off_t)
3307 : #define FD_STAKE_FLAGS_OFF_ALIGN (8UL)
3308 :
3309 : /* https://github.com/firedancer-io/solana/blob/v1.17/sdk/program/src/stake/state.rs#L135 */
3310 : /* Encoded Size: Fixed (120 bytes) */
3311 : struct __attribute__((aligned(8UL))) fd_stake_state_v2_initialized {
3312 : fd_stake_meta_t meta;
3313 : };
3314 : typedef struct fd_stake_state_v2_initialized fd_stake_state_v2_initialized_t;
3315 0 : #define FD_STAKE_STATE_V2_INITIALIZED_FOOTPRINT sizeof(fd_stake_state_v2_initialized_t)
3316 0 : #define FD_STAKE_STATE_V2_INITIALIZED_ALIGN (8UL)
3317 :
3318 : struct __attribute__((aligned(8UL))) fd_stake_state_v2_initialized_off {
3319 : uint meta_off;
3320 : };
3321 : typedef struct fd_stake_state_v2_initialized_off fd_stake_state_v2_initialized_off_t;
3322 : #define FD_STAKE_STATE_V2_INITIALIZED_OFF_FOOTPRINT sizeof(fd_stake_state_v2_initialized_off_t)
3323 : #define FD_STAKE_STATE_V2_INITIALIZED_OFF_ALIGN (8UL)
3324 :
3325 : /* https://github.com/firedancer-io/solana/blob/v1.17/sdk/program/src/stake/state.rs#L136 */
3326 : /* Encoded Size: Fixed (193 bytes) */
3327 : struct __attribute__((aligned(8UL))) fd_stake_state_v2_stake {
3328 : fd_stake_meta_t meta;
3329 : fd_stake_t stake;
3330 : fd_stake_flags_t stake_flags;
3331 : };
3332 : typedef struct fd_stake_state_v2_stake fd_stake_state_v2_stake_t;
3333 0 : #define FD_STAKE_STATE_V2_STAKE_FOOTPRINT sizeof(fd_stake_state_v2_stake_t)
3334 0 : #define FD_STAKE_STATE_V2_STAKE_ALIGN (8UL)
3335 :
3336 : struct __attribute__((aligned(8UL))) fd_stake_state_v2_stake_off {
3337 : uint meta_off;
3338 : uint stake_off;
3339 : uint stake_flags_off;
3340 : };
3341 : typedef struct fd_stake_state_v2_stake_off fd_stake_state_v2_stake_off_t;
3342 : #define FD_STAKE_STATE_V2_STAKE_OFF_FOOTPRINT sizeof(fd_stake_state_v2_stake_off_t)
3343 : #define FD_STAKE_STATE_V2_STAKE_OFF_ALIGN (8UL)
3344 :
3345 : union fd_stake_state_v2_inner {
3346 : fd_stake_state_v2_initialized_t initialized;
3347 : fd_stake_state_v2_stake_t stake;
3348 : };
3349 : typedef union fd_stake_state_v2_inner fd_stake_state_v2_inner_t;
3350 :
3351 : /* https://github.com/firedancer-io/solana/blob/v1.17/sdk/program/src/stake/state.rs#L132 */
3352 : struct fd_stake_state_v2 {
3353 : uint discriminant;
3354 : fd_stake_state_v2_inner_t inner;
3355 : };
3356 : typedef struct fd_stake_state_v2 fd_stake_state_v2_t;
3357 0 : #define FD_STAKE_STATE_V2_FOOTPRINT sizeof(fd_stake_state_v2_t)
3358 0 : #define FD_STAKE_STATE_V2_ALIGN (8UL)
3359 :
3360 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/nonce/state/current.rs#L17 */
3361 : /* Encoded Size: Fixed (72 bytes) */
3362 : struct __attribute__((aligned(8UL))) fd_nonce_data {
3363 : fd_pubkey_t authority;
3364 : fd_hash_t durable_nonce;
3365 : fd_fee_calculator_t fee_calculator;
3366 : };
3367 : typedef struct fd_nonce_data fd_nonce_data_t;
3368 0 : #define FD_NONCE_DATA_FOOTPRINT sizeof(fd_nonce_data_t)
3369 0 : #define FD_NONCE_DATA_ALIGN (8UL)
3370 :
3371 : struct __attribute__((aligned(8UL))) fd_nonce_data_off {
3372 : uint authority_off;
3373 : uint durable_nonce_off;
3374 : uint fee_calculator_off;
3375 : };
3376 : typedef struct fd_nonce_data_off fd_nonce_data_off_t;
3377 : #define FD_NONCE_DATA_OFF_FOOTPRINT sizeof(fd_nonce_data_off_t)
3378 : #define FD_NONCE_DATA_OFF_ALIGN (8UL)
3379 :
3380 : union fd_nonce_state_inner {
3381 : fd_nonce_data_t initialized;
3382 : };
3383 : typedef union fd_nonce_state_inner fd_nonce_state_inner_t;
3384 :
3385 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/nonce/state/current.rs#L65 */
3386 : struct fd_nonce_state {
3387 : uint discriminant;
3388 : fd_nonce_state_inner_t inner;
3389 : };
3390 : typedef struct fd_nonce_state fd_nonce_state_t;
3391 0 : #define FD_NONCE_STATE_FOOTPRINT sizeof(fd_nonce_state_t)
3392 0 : #define FD_NONCE_STATE_ALIGN (8UL)
3393 :
3394 : union fd_nonce_state_versions_inner {
3395 : fd_nonce_state_t legacy;
3396 : fd_nonce_state_t current;
3397 : };
3398 : typedef union fd_nonce_state_versions_inner fd_nonce_state_versions_inner_t;
3399 :
3400 : /* https://github.com/solana-labs/solana/blob/8f2c8b8388a495d2728909e30460aa40dcc5d733/sdk/program/src/nonce/state/mod.rs#L9 */
3401 : struct fd_nonce_state_versions {
3402 : uint discriminant;
3403 : fd_nonce_state_versions_inner_t inner;
3404 : };
3405 : typedef struct fd_nonce_state_versions fd_nonce_state_versions_t;
3406 0 : #define FD_NONCE_STATE_VERSIONS_FOOTPRINT sizeof(fd_nonce_state_versions_t)
3407 0 : #define FD_NONCE_STATE_VERSIONS_ALIGN (8UL)
3408 :
3409 : /* https://github.com/solana-labs/solana/blob/6c520396cd76807f6227a7973f7373b37894251c/sdk/src/compute_budget.rs#L28 */
3410 : /* Encoded Size: Fixed (8 bytes) */
3411 : struct __attribute__((aligned(8UL))) fd_compute_budget_program_instruction_request_units_deprecated {
3412 : uint units;
3413 : uint additional_fee;
3414 : };
3415 : typedef struct fd_compute_budget_program_instruction_request_units_deprecated fd_compute_budget_program_instruction_request_units_deprecated_t;
3416 0 : #define FD_COMPUTE_BUDGET_PROGRAM_INSTRUCTION_REQUEST_UNITS_DEPRECATED_FOOTPRINT sizeof(fd_compute_budget_program_instruction_request_units_deprecated_t)
3417 0 : #define FD_COMPUTE_BUDGET_PROGRAM_INSTRUCTION_REQUEST_UNITS_DEPRECATED_ALIGN (8UL)
3418 :
3419 : struct __attribute__((aligned(8UL))) fd_compute_budget_program_instruction_request_units_deprecated_off {
3420 : uint units_off;
3421 : uint additional_fee_off;
3422 : };
3423 : typedef struct fd_compute_budget_program_instruction_request_units_deprecated_off fd_compute_budget_program_instruction_request_units_deprecated_off_t;
3424 : #define FD_COMPUTE_BUDGET_PROGRAM_INSTRUCTION_REQUEST_UNITS_DEPRECATED_OFF_FOOTPRINT sizeof(fd_compute_budget_program_instruction_request_units_deprecated_off_t)
3425 : #define FD_COMPUTE_BUDGET_PROGRAM_INSTRUCTION_REQUEST_UNITS_DEPRECATED_OFF_ALIGN (8UL)
3426 :
3427 : union fd_compute_budget_program_instruction_inner {
3428 : fd_compute_budget_program_instruction_request_units_deprecated_t request_units_deprecated;
3429 : uint request_heap_frame;
3430 : uint set_compute_unit_limit;
3431 : ulong set_compute_unit_price;
3432 : uint set_loaded_accounts_data_size_limit;
3433 : };
3434 : typedef union fd_compute_budget_program_instruction_inner fd_compute_budget_program_instruction_inner_t;
3435 :
3436 : /* https://github.com/solana-labs/solana/blob/6c520396cd76807f6227a7973f7373b37894251c/sdk/src/compute_budget.rs#L25 */
3437 : struct fd_compute_budget_program_instruction {
3438 : uint discriminant;
3439 : fd_compute_budget_program_instruction_inner_t inner;
3440 : };
3441 : typedef struct fd_compute_budget_program_instruction fd_compute_budget_program_instruction_t;
3442 0 : #define FD_COMPUTE_BUDGET_PROGRAM_INSTRUCTION_FOOTPRINT sizeof(fd_compute_budget_program_instruction_t)
3443 0 : #define FD_COMPUTE_BUDGET_PROGRAM_INSTRUCTION_ALIGN (8UL)
3444 :
3445 : /* https://github.com/solana-labs/solana/blob/a03ae63daff987912c48ee286eb8ee7e8a84bf01/programs/config/src/lib.rs#L32 */
3446 : /* Encoded Size: Dynamic */
3447 : struct __attribute__((aligned(8UL))) fd_config_keys {
3448 : ushort keys_len;
3449 : fd_config_keys_pair_t * keys;
3450 : };
3451 : typedef struct fd_config_keys fd_config_keys_t;
3452 0 : #define FD_CONFIG_KEYS_FOOTPRINT sizeof(fd_config_keys_t)
3453 0 : #define FD_CONFIG_KEYS_ALIGN (8UL)
3454 :
3455 : struct __attribute__((aligned(8UL))) fd_config_keys_off {
3456 : uint keys_off;
3457 : };
3458 : typedef struct fd_config_keys_off fd_config_keys_off_t;
3459 : #define FD_CONFIG_KEYS_OFF_FOOTPRINT sizeof(fd_config_keys_off_t)
3460 : #define FD_CONFIG_KEYS_OFF_ALIGN (8UL)
3461 :
3462 : /* */
3463 : /* Encoded Size: Dynamic */
3464 : struct __attribute__((aligned(8UL))) fd_bpf_loader_program_instruction_write {
3465 : uint offset;
3466 : ulong bytes_len;
3467 : uchar* bytes;
3468 : };
3469 : typedef struct fd_bpf_loader_program_instruction_write fd_bpf_loader_program_instruction_write_t;
3470 0 : #define FD_BPF_LOADER_PROGRAM_INSTRUCTION_WRITE_FOOTPRINT sizeof(fd_bpf_loader_program_instruction_write_t)
3471 0 : #define FD_BPF_LOADER_PROGRAM_INSTRUCTION_WRITE_ALIGN (8UL)
3472 :
3473 : struct __attribute__((aligned(8UL))) fd_bpf_loader_program_instruction_write_off {
3474 : uint offset_off;
3475 : uint bytes_off;
3476 : };
3477 : typedef struct fd_bpf_loader_program_instruction_write_off fd_bpf_loader_program_instruction_write_off_t;
3478 : #define FD_BPF_LOADER_PROGRAM_INSTRUCTION_WRITE_OFF_FOOTPRINT sizeof(fd_bpf_loader_program_instruction_write_off_t)
3479 : #define FD_BPF_LOADER_PROGRAM_INSTRUCTION_WRITE_OFF_ALIGN (8UL)
3480 :
3481 : union fd_bpf_loader_program_instruction_inner {
3482 : fd_bpf_loader_program_instruction_write_t write;
3483 : };
3484 : typedef union fd_bpf_loader_program_instruction_inner fd_bpf_loader_program_instruction_inner_t;
3485 :
3486 : /* */
3487 : struct fd_bpf_loader_program_instruction {
3488 : uint discriminant;
3489 : fd_bpf_loader_program_instruction_inner_t inner;
3490 : };
3491 : typedef struct fd_bpf_loader_program_instruction fd_bpf_loader_program_instruction_t;
3492 0 : #define FD_BPF_LOADER_PROGRAM_INSTRUCTION_FOOTPRINT sizeof(fd_bpf_loader_program_instruction_t)
3493 0 : #define FD_BPF_LOADER_PROGRAM_INSTRUCTION_ALIGN (8UL)
3494 :
3495 : /* https://github.com/anza-xyz/agave/blob/007194391ca8313b2854d523769d0bedf040ef92/sdk/program/src/loader_v4_instruction.rs#L11-L17 */
3496 : /* Encoded Size: Dynamic */
3497 : struct __attribute__((aligned(8UL))) fd_loader_v4_program_instruction_write {
3498 : uint offset;
3499 : ulong bytes_len;
3500 : uchar* bytes;
3501 : };
3502 : typedef struct fd_loader_v4_program_instruction_write fd_loader_v4_program_instruction_write_t;
3503 0 : #define FD_LOADER_V4_PROGRAM_INSTRUCTION_WRITE_FOOTPRINT sizeof(fd_loader_v4_program_instruction_write_t)
3504 0 : #define FD_LOADER_V4_PROGRAM_INSTRUCTION_WRITE_ALIGN (8UL)
3505 :
3506 : struct __attribute__((aligned(8UL))) fd_loader_v4_program_instruction_write_off {
3507 : uint offset_off;
3508 : uint bytes_off;
3509 : };
3510 : typedef struct fd_loader_v4_program_instruction_write_off fd_loader_v4_program_instruction_write_off_t;
3511 : #define FD_LOADER_V4_PROGRAM_INSTRUCTION_WRITE_OFF_FOOTPRINT sizeof(fd_loader_v4_program_instruction_write_off_t)
3512 : #define FD_LOADER_V4_PROGRAM_INSTRUCTION_WRITE_OFF_ALIGN (8UL)
3513 :
3514 : /* https://github.com/anza-xyz/agave/blob/007194391ca8313b2854d523769d0bedf040ef92/sdk/program/src/loader_v4_instruction.rs#L33-L36 */
3515 : /* Encoded Size: Fixed (4 bytes) */
3516 : struct __attribute__((aligned(8UL))) fd_loader_v4_program_instruction_truncate {
3517 : uint new_size;
3518 : };
3519 : typedef struct fd_loader_v4_program_instruction_truncate fd_loader_v4_program_instruction_truncate_t;
3520 0 : #define FD_LOADER_V4_PROGRAM_INSTRUCTION_TRUNCATE_FOOTPRINT sizeof(fd_loader_v4_program_instruction_truncate_t)
3521 0 : #define FD_LOADER_V4_PROGRAM_INSTRUCTION_TRUNCATE_ALIGN (8UL)
3522 :
3523 : struct __attribute__((aligned(8UL))) fd_loader_v4_program_instruction_truncate_off {
3524 : uint new_size_off;
3525 : };
3526 : typedef struct fd_loader_v4_program_instruction_truncate_off fd_loader_v4_program_instruction_truncate_off_t;
3527 : #define FD_LOADER_V4_PROGRAM_INSTRUCTION_TRUNCATE_OFF_FOOTPRINT sizeof(fd_loader_v4_program_instruction_truncate_off_t)
3528 : #define FD_LOADER_V4_PROGRAM_INSTRUCTION_TRUNCATE_OFF_ALIGN (8UL)
3529 :
3530 : union fd_loader_v4_program_instruction_inner {
3531 : fd_loader_v4_program_instruction_write_t write;
3532 : fd_loader_v4_program_instruction_truncate_t truncate;
3533 : };
3534 : typedef union fd_loader_v4_program_instruction_inner fd_loader_v4_program_instruction_inner_t;
3535 :
3536 : /* https://github.com/anza-xyz/agave/blob/007194391ca8313b2854d523769d0bedf040ef92/sdk/program/src/loader_v4_instruction.rs#L5 */
3537 : struct fd_loader_v4_program_instruction {
3538 : uint discriminant;
3539 : fd_loader_v4_program_instruction_inner_t inner;
3540 : };
3541 : typedef struct fd_loader_v4_program_instruction fd_loader_v4_program_instruction_t;
3542 0 : #define FD_LOADER_V4_PROGRAM_INSTRUCTION_FOOTPRINT sizeof(fd_loader_v4_program_instruction_t)
3543 0 : #define FD_LOADER_V4_PROGRAM_INSTRUCTION_ALIGN (8UL)
3544 :
3545 : /* */
3546 : /* Encoded Size: Dynamic */
3547 : struct __attribute__((aligned(8UL))) fd_bpf_upgradeable_loader_program_instruction_write {
3548 : uint offset;
3549 : ulong bytes_len;
3550 : uchar* bytes;
3551 : };
3552 : typedef struct fd_bpf_upgradeable_loader_program_instruction_write fd_bpf_upgradeable_loader_program_instruction_write_t;
3553 0 : #define FD_BPF_UPGRADEABLE_LOADER_PROGRAM_INSTRUCTION_WRITE_FOOTPRINT sizeof(fd_bpf_upgradeable_loader_program_instruction_write_t)
3554 0 : #define FD_BPF_UPGRADEABLE_LOADER_PROGRAM_INSTRUCTION_WRITE_ALIGN (8UL)
3555 :
3556 : struct __attribute__((aligned(8UL))) fd_bpf_upgradeable_loader_program_instruction_write_off {
3557 : uint offset_off;
3558 : uint bytes_off;
3559 : };
3560 : typedef struct fd_bpf_upgradeable_loader_program_instruction_write_off fd_bpf_upgradeable_loader_program_instruction_write_off_t;
3561 : #define FD_BPF_UPGRADEABLE_LOADER_PROGRAM_INSTRUCTION_WRITE_OFF_FOOTPRINT sizeof(fd_bpf_upgradeable_loader_program_instruction_write_off_t)
3562 : #define FD_BPF_UPGRADEABLE_LOADER_PROGRAM_INSTRUCTION_WRITE_OFF_ALIGN (8UL)
3563 :
3564 : /* */
3565 : /* Encoded Size: Fixed (8 bytes) */
3566 : struct __attribute__((aligned(8UL))) fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len {
3567 : ulong max_data_len;
3568 : };
3569 : typedef struct fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_t;
3570 0 : #define FD_BPF_UPGRADEABLE_LOADER_PROGRAM_INSTRUCTION_DEPLOY_WITH_MAX_DATA_LEN_FOOTPRINT sizeof(fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_t)
3571 0 : #define FD_BPF_UPGRADEABLE_LOADER_PROGRAM_INSTRUCTION_DEPLOY_WITH_MAX_DATA_LEN_ALIGN (8UL)
3572 :
3573 : struct __attribute__((aligned(8UL))) fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_off {
3574 : uint max_data_len_off;
3575 : };
3576 : typedef struct fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_off fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_off_t;
3577 : #define FD_BPF_UPGRADEABLE_LOADER_PROGRAM_INSTRUCTION_DEPLOY_WITH_MAX_DATA_LEN_OFF_FOOTPRINT sizeof(fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_off_t)
3578 : #define FD_BPF_UPGRADEABLE_LOADER_PROGRAM_INSTRUCTION_DEPLOY_WITH_MAX_DATA_LEN_OFF_ALIGN (8UL)
3579 :
3580 : /* */
3581 : /* Encoded Size: Fixed (4 bytes) */
3582 : struct __attribute__((aligned(8UL))) fd_bpf_upgradeable_loader_program_instruction_extend_program {
3583 : uint additional_bytes;
3584 : };
3585 : typedef struct fd_bpf_upgradeable_loader_program_instruction_extend_program fd_bpf_upgradeable_loader_program_instruction_extend_program_t;
3586 0 : #define FD_BPF_UPGRADEABLE_LOADER_PROGRAM_INSTRUCTION_EXTEND_PROGRAM_FOOTPRINT sizeof(fd_bpf_upgradeable_loader_program_instruction_extend_program_t)
3587 0 : #define FD_BPF_UPGRADEABLE_LOADER_PROGRAM_INSTRUCTION_EXTEND_PROGRAM_ALIGN (8UL)
3588 :
3589 : struct __attribute__((aligned(8UL))) fd_bpf_upgradeable_loader_program_instruction_extend_program_off {
3590 : uint additional_bytes_off;
3591 : };
3592 : typedef struct fd_bpf_upgradeable_loader_program_instruction_extend_program_off fd_bpf_upgradeable_loader_program_instruction_extend_program_off_t;
3593 : #define FD_BPF_UPGRADEABLE_LOADER_PROGRAM_INSTRUCTION_EXTEND_PROGRAM_OFF_FOOTPRINT sizeof(fd_bpf_upgradeable_loader_program_instruction_extend_program_off_t)
3594 : #define FD_BPF_UPGRADEABLE_LOADER_PROGRAM_INSTRUCTION_EXTEND_PROGRAM_OFF_ALIGN (8UL)
3595 :
3596 : union fd_bpf_upgradeable_loader_program_instruction_inner {
3597 : fd_bpf_upgradeable_loader_program_instruction_write_t write;
3598 : fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_t deploy_with_max_data_len;
3599 : fd_bpf_upgradeable_loader_program_instruction_extend_program_t extend_program;
3600 : };
3601 : typedef union fd_bpf_upgradeable_loader_program_instruction_inner fd_bpf_upgradeable_loader_program_instruction_inner_t;
3602 :
3603 : /* */
3604 : struct fd_bpf_upgradeable_loader_program_instruction {
3605 : uint discriminant;
3606 : fd_bpf_upgradeable_loader_program_instruction_inner_t inner;
3607 : };
3608 : typedef struct fd_bpf_upgradeable_loader_program_instruction fd_bpf_upgradeable_loader_program_instruction_t;
3609 0 : #define FD_BPF_UPGRADEABLE_LOADER_PROGRAM_INSTRUCTION_FOOTPRINT sizeof(fd_bpf_upgradeable_loader_program_instruction_t)
3610 0 : #define FD_BPF_UPGRADEABLE_LOADER_PROGRAM_INSTRUCTION_ALIGN (8UL)
3611 :
3612 : /* */
3613 : /* Encoded Size: Dynamic */
3614 : struct __attribute__((aligned(8UL))) fd_bpf_upgradeable_loader_state_buffer {
3615 : fd_pubkey_t * authority_address;
3616 : };
3617 : typedef struct fd_bpf_upgradeable_loader_state_buffer fd_bpf_upgradeable_loader_state_buffer_t;
3618 0 : #define FD_BPF_UPGRADEABLE_LOADER_STATE_BUFFER_FOOTPRINT sizeof(fd_bpf_upgradeable_loader_state_buffer_t)
3619 0 : #define FD_BPF_UPGRADEABLE_LOADER_STATE_BUFFER_ALIGN (8UL)
3620 :
3621 : struct __attribute__((aligned(8UL))) fd_bpf_upgradeable_loader_state_buffer_off {
3622 : uint authority_address_off;
3623 : };
3624 : typedef struct fd_bpf_upgradeable_loader_state_buffer_off fd_bpf_upgradeable_loader_state_buffer_off_t;
3625 : #define FD_BPF_UPGRADEABLE_LOADER_STATE_BUFFER_OFF_FOOTPRINT sizeof(fd_bpf_upgradeable_loader_state_buffer_off_t)
3626 : #define FD_BPF_UPGRADEABLE_LOADER_STATE_BUFFER_OFF_ALIGN (8UL)
3627 :
3628 : /* */
3629 : /* Encoded Size: Fixed (32 bytes) */
3630 : struct __attribute__((aligned(8UL))) fd_bpf_upgradeable_loader_state_program {
3631 : fd_pubkey_t programdata_address;
3632 : };
3633 : typedef struct fd_bpf_upgradeable_loader_state_program fd_bpf_upgradeable_loader_state_program_t;
3634 0 : #define FD_BPF_UPGRADEABLE_LOADER_STATE_PROGRAM_FOOTPRINT sizeof(fd_bpf_upgradeable_loader_state_program_t)
3635 0 : #define FD_BPF_UPGRADEABLE_LOADER_STATE_PROGRAM_ALIGN (8UL)
3636 :
3637 : struct __attribute__((aligned(8UL))) fd_bpf_upgradeable_loader_state_program_off {
3638 : uint programdata_address_off;
3639 : };
3640 : typedef struct fd_bpf_upgradeable_loader_state_program_off fd_bpf_upgradeable_loader_state_program_off_t;
3641 : #define FD_BPF_UPGRADEABLE_LOADER_STATE_PROGRAM_OFF_FOOTPRINT sizeof(fd_bpf_upgradeable_loader_state_program_off_t)
3642 : #define FD_BPF_UPGRADEABLE_LOADER_STATE_PROGRAM_OFF_ALIGN (8UL)
3643 :
3644 : /* */
3645 : /* Encoded Size: Dynamic */
3646 : struct __attribute__((aligned(8UL))) fd_bpf_upgradeable_loader_state_program_data {
3647 : ulong slot;
3648 : fd_pubkey_t * upgrade_authority_address;
3649 : };
3650 : typedef struct fd_bpf_upgradeable_loader_state_program_data fd_bpf_upgradeable_loader_state_program_data_t;
3651 0 : #define FD_BPF_UPGRADEABLE_LOADER_STATE_PROGRAM_DATA_FOOTPRINT sizeof(fd_bpf_upgradeable_loader_state_program_data_t)
3652 0 : #define FD_BPF_UPGRADEABLE_LOADER_STATE_PROGRAM_DATA_ALIGN (8UL)
3653 :
3654 : struct __attribute__((aligned(8UL))) fd_bpf_upgradeable_loader_state_program_data_off {
3655 : uint slot_off;
3656 : uint upgrade_authority_address_off;
3657 : };
3658 : typedef struct fd_bpf_upgradeable_loader_state_program_data_off fd_bpf_upgradeable_loader_state_program_data_off_t;
3659 : #define FD_BPF_UPGRADEABLE_LOADER_STATE_PROGRAM_DATA_OFF_FOOTPRINT sizeof(fd_bpf_upgradeable_loader_state_program_data_off_t)
3660 : #define FD_BPF_UPGRADEABLE_LOADER_STATE_PROGRAM_DATA_OFF_ALIGN (8UL)
3661 :
3662 : union fd_bpf_upgradeable_loader_state_inner {
3663 : fd_bpf_upgradeable_loader_state_buffer_t buffer;
3664 : fd_bpf_upgradeable_loader_state_program_t program;
3665 : fd_bpf_upgradeable_loader_state_program_data_t program_data;
3666 : };
3667 : typedef union fd_bpf_upgradeable_loader_state_inner fd_bpf_upgradeable_loader_state_inner_t;
3668 :
3669 : /* */
3670 : struct fd_bpf_upgradeable_loader_state {
3671 : uint discriminant;
3672 : fd_bpf_upgradeable_loader_state_inner_t inner;
3673 : };
3674 : typedef struct fd_bpf_upgradeable_loader_state fd_bpf_upgradeable_loader_state_t;
3675 0 : #define FD_BPF_UPGRADEABLE_LOADER_STATE_FOOTPRINT sizeof(fd_bpf_upgradeable_loader_state_t)
3676 0 : #define FD_BPF_UPGRADEABLE_LOADER_STATE_ALIGN (8UL)
3677 :
3678 : /* https://github.com/anza-xyz/agave/blob/v2.1.4/sdk/program/src/loader_v4.rs#L33-L43 */
3679 : /* Encoded Size: Fixed (48 bytes) */
3680 : struct __attribute__((aligned(8UL))) fd_loader_v4_state {
3681 : ulong slot;
3682 : fd_pubkey_t authority_address_or_next_version;
3683 : ulong status;
3684 : };
3685 : typedef struct fd_loader_v4_state fd_loader_v4_state_t;
3686 0 : #define FD_LOADER_V4_STATE_FOOTPRINT sizeof(fd_loader_v4_state_t)
3687 0 : #define FD_LOADER_V4_STATE_ALIGN (8UL)
3688 :
3689 : struct __attribute__((aligned(8UL))) fd_loader_v4_state_off {
3690 : uint slot_off;
3691 : uint authority_address_or_next_version_off;
3692 : uint status_off;
3693 : };
3694 : typedef struct fd_loader_v4_state_off fd_loader_v4_state_off_t;
3695 : #define FD_LOADER_V4_STATE_OFF_FOOTPRINT sizeof(fd_loader_v4_state_off_t)
3696 : #define FD_LOADER_V4_STATE_OFF_ALIGN (8UL)
3697 :
3698 : /* https://github.com/firedancer-io/solana/blob/f4b7c54f9e021b40cfc7cbd32dc12b19dedbe791/ledger/src/blockstore_meta.rs#L178 */
3699 : /* Encoded Size: Fixed (33 bytes) */
3700 : struct __attribute__((aligned(8UL))) fd_frozen_hash_status {
3701 : fd_hash_t frozen_hash;
3702 : uchar is_duplicate_confirmed;
3703 : };
3704 : typedef struct fd_frozen_hash_status fd_frozen_hash_status_t;
3705 0 : #define FD_FROZEN_HASH_STATUS_FOOTPRINT sizeof(fd_frozen_hash_status_t)
3706 0 : #define FD_FROZEN_HASH_STATUS_ALIGN (8UL)
3707 :
3708 : struct __attribute__((aligned(8UL))) fd_frozen_hash_status_off {
3709 : uint frozen_hash_off;
3710 : uint is_duplicate_confirmed_off;
3711 : };
3712 : typedef struct fd_frozen_hash_status_off fd_frozen_hash_status_off_t;
3713 : #define FD_FROZEN_HASH_STATUS_OFF_FOOTPRINT sizeof(fd_frozen_hash_status_off_t)
3714 : #define FD_FROZEN_HASH_STATUS_OFF_ALIGN (8UL)
3715 :
3716 : union fd_frozen_hash_versioned_inner {
3717 : fd_frozen_hash_status_t current;
3718 : };
3719 : typedef union fd_frozen_hash_versioned_inner fd_frozen_hash_versioned_inner_t;
3720 :
3721 : /* https://github.com/firedancer-io/solana/blob/f4b7c54f9e021b40cfc7cbd32dc12b19dedbe791/ledger/src/blockstore_meta.rs#L157 */
3722 : struct fd_frozen_hash_versioned {
3723 : uint discriminant;
3724 : fd_frozen_hash_versioned_inner_t inner;
3725 : };
3726 : typedef struct fd_frozen_hash_versioned fd_frozen_hash_versioned_t;
3727 0 : #define FD_FROZEN_HASH_VERSIONED_FOOTPRINT sizeof(fd_frozen_hash_versioned_t)
3728 0 : #define FD_FROZEN_HASH_VERSIONED_ALIGN (8UL)
3729 :
3730 : /* */
3731 : /* Encoded Size: Dynamic */
3732 : struct __attribute__((aligned(8UL))) fd_lookup_table_meta {
3733 : ulong deactivation_slot;
3734 : ulong last_extended_slot;
3735 : uchar last_extended_slot_start_index;
3736 : fd_pubkey_t authority;
3737 : uchar has_authority;
3738 : ushort _padding;
3739 : };
3740 : typedef struct fd_lookup_table_meta fd_lookup_table_meta_t;
3741 0 : #define FD_LOOKUP_TABLE_META_FOOTPRINT sizeof(fd_lookup_table_meta_t)
3742 0 : #define FD_LOOKUP_TABLE_META_ALIGN (8UL)
3743 :
3744 : struct __attribute__((aligned(8UL))) fd_lookup_table_meta_off {
3745 : uint deactivation_slot_off;
3746 : uint last_extended_slot_off;
3747 : uint last_extended_slot_start_index_off;
3748 : uint authority_off;
3749 : uint _padding_off;
3750 : };
3751 : typedef struct fd_lookup_table_meta_off fd_lookup_table_meta_off_t;
3752 : #define FD_LOOKUP_TABLE_META_OFF_FOOTPRINT sizeof(fd_lookup_table_meta_off_t)
3753 : #define FD_LOOKUP_TABLE_META_OFF_ALIGN (8UL)
3754 :
3755 : /* */
3756 : /* Encoded Size: Dynamic */
3757 : struct __attribute__((aligned(8UL))) fd_address_lookup_table {
3758 : fd_lookup_table_meta_t meta;
3759 : };
3760 : typedef struct fd_address_lookup_table fd_address_lookup_table_t;
3761 0 : #define FD_ADDRESS_LOOKUP_TABLE_FOOTPRINT sizeof(fd_address_lookup_table_t)
3762 0 : #define FD_ADDRESS_LOOKUP_TABLE_ALIGN (8UL)
3763 :
3764 : struct __attribute__((aligned(8UL))) fd_address_lookup_table_off {
3765 : uint meta_off;
3766 : };
3767 : typedef struct fd_address_lookup_table_off fd_address_lookup_table_off_t;
3768 : #define FD_ADDRESS_LOOKUP_TABLE_OFF_FOOTPRINT sizeof(fd_address_lookup_table_off_t)
3769 : #define FD_ADDRESS_LOOKUP_TABLE_OFF_ALIGN (8UL)
3770 :
3771 : union fd_address_lookup_table_state_inner {
3772 : fd_address_lookup_table_t lookup_table;
3773 : };
3774 : typedef union fd_address_lookup_table_state_inner fd_address_lookup_table_state_inner_t;
3775 :
3776 : /* */
3777 : struct fd_address_lookup_table_state {
3778 : uint discriminant;
3779 : fd_address_lookup_table_state_inner_t inner;
3780 : };
3781 : typedef struct fd_address_lookup_table_state fd_address_lookup_table_state_t;
3782 0 : #define FD_ADDRESS_LOOKUP_TABLE_STATE_FOOTPRINT sizeof(fd_address_lookup_table_state_t)
3783 0 : #define FD_ADDRESS_LOOKUP_TABLE_STATE_ALIGN (8UL)
3784 :
3785 : /* Encoded Size: Dynamic */
3786 : struct __attribute__((aligned(8UL))) fd_gossip_bitvec_u8_inner {
3787 : ulong vec_len;
3788 : uchar* vec;
3789 : };
3790 : typedef struct fd_gossip_bitvec_u8_inner fd_gossip_bitvec_u8_inner_t;
3791 0 : #define FD_GOSSIP_BITVEC_U8_INNER_FOOTPRINT sizeof(fd_gossip_bitvec_u8_inner_t)
3792 0 : #define FD_GOSSIP_BITVEC_U8_INNER_ALIGN (8UL)
3793 :
3794 : struct __attribute__((aligned(8UL))) fd_gossip_bitvec_u8_inner_off {
3795 : uint vec_off;
3796 : };
3797 : typedef struct fd_gossip_bitvec_u8_inner_off fd_gossip_bitvec_u8_inner_off_t;
3798 : #define FD_GOSSIP_BITVEC_U8_INNER_OFF_FOOTPRINT sizeof(fd_gossip_bitvec_u8_inner_off_t)
3799 : #define FD_GOSSIP_BITVEC_U8_INNER_OFF_ALIGN (8UL)
3800 :
3801 : /* Encoded Size: Dynamic */
3802 : struct __attribute__((aligned(8UL))) fd_gossip_bitvec_u8 {
3803 : fd_gossip_bitvec_u8_inner_t bits;
3804 : uchar has_bits;
3805 : ulong len;
3806 : };
3807 : typedef struct fd_gossip_bitvec_u8 fd_gossip_bitvec_u8_t;
3808 0 : #define FD_GOSSIP_BITVEC_U8_FOOTPRINT sizeof(fd_gossip_bitvec_u8_t)
3809 0 : #define FD_GOSSIP_BITVEC_U8_ALIGN (8UL)
3810 :
3811 : struct __attribute__((aligned(8UL))) fd_gossip_bitvec_u8_off {
3812 : uint bits_off;
3813 : uint len_off;
3814 : };
3815 : typedef struct fd_gossip_bitvec_u8_off fd_gossip_bitvec_u8_off_t;
3816 : #define FD_GOSSIP_BITVEC_U8_OFF_FOOTPRINT sizeof(fd_gossip_bitvec_u8_off_t)
3817 : #define FD_GOSSIP_BITVEC_U8_OFF_ALIGN (8UL)
3818 :
3819 : /* Encoded Size: Dynamic */
3820 : struct __attribute__((aligned(8UL))) fd_gossip_bitvec_u64_inner {
3821 : ulong vec_len;
3822 : ulong* vec;
3823 : };
3824 : typedef struct fd_gossip_bitvec_u64_inner fd_gossip_bitvec_u64_inner_t;
3825 0 : #define FD_GOSSIP_BITVEC_U64_INNER_FOOTPRINT sizeof(fd_gossip_bitvec_u64_inner_t)
3826 0 : #define FD_GOSSIP_BITVEC_U64_INNER_ALIGN (8UL)
3827 :
3828 : struct __attribute__((aligned(8UL))) fd_gossip_bitvec_u64_inner_off {
3829 : uint vec_off;
3830 : };
3831 : typedef struct fd_gossip_bitvec_u64_inner_off fd_gossip_bitvec_u64_inner_off_t;
3832 : #define FD_GOSSIP_BITVEC_U64_INNER_OFF_FOOTPRINT sizeof(fd_gossip_bitvec_u64_inner_off_t)
3833 : #define FD_GOSSIP_BITVEC_U64_INNER_OFF_ALIGN (8UL)
3834 :
3835 : /* Encoded Size: Dynamic */
3836 : struct __attribute__((aligned(8UL))) fd_gossip_bitvec_u64 {
3837 : fd_gossip_bitvec_u64_inner_t bits;
3838 : uchar has_bits;
3839 : ulong len;
3840 : };
3841 : typedef struct fd_gossip_bitvec_u64 fd_gossip_bitvec_u64_t;
3842 0 : #define FD_GOSSIP_BITVEC_U64_FOOTPRINT sizeof(fd_gossip_bitvec_u64_t)
3843 0 : #define FD_GOSSIP_BITVEC_U64_ALIGN (8UL)
3844 :
3845 : struct __attribute__((aligned(8UL))) fd_gossip_bitvec_u64_off {
3846 : uint bits_off;
3847 : uint len_off;
3848 : };
3849 : typedef struct fd_gossip_bitvec_u64_off fd_gossip_bitvec_u64_off_t;
3850 : #define FD_GOSSIP_BITVEC_U64_OFF_FOOTPRINT sizeof(fd_gossip_bitvec_u64_off_t)
3851 : #define FD_GOSSIP_BITVEC_U64_OFF_ALIGN (8UL)
3852 :
3853 : /* https://github.com/solana-labs/solana/blob/52616cf7aa424a80f770e5ec3f2cd49d1cfeb845/gossip/src/ping_pong.rs#L22 */
3854 : /* Encoded Size: Fixed (128 bytes) */
3855 : struct __attribute__((aligned(8UL))) fd_gossip_ping {
3856 : fd_pubkey_t from;
3857 : fd_hash_t token;
3858 : fd_signature_t signature;
3859 : };
3860 : typedef struct fd_gossip_ping fd_gossip_ping_t;
3861 0 : #define FD_GOSSIP_PING_FOOTPRINT sizeof(fd_gossip_ping_t)
3862 0 : #define FD_GOSSIP_PING_ALIGN (8UL)
3863 :
3864 : struct __attribute__((aligned(8UL))) fd_gossip_ping_off {
3865 : uint from_off;
3866 : uint token_off;
3867 : uint signature_off;
3868 : };
3869 : typedef struct fd_gossip_ping_off fd_gossip_ping_off_t;
3870 : #define FD_GOSSIP_PING_OFF_FOOTPRINT sizeof(fd_gossip_ping_off_t)
3871 : #define FD_GOSSIP_PING_OFF_ALIGN (8UL)
3872 :
3873 : union fd_gossip_ip_addr_inner {
3874 : fd_gossip_ip4_addr_t ip4;
3875 : fd_gossip_ip6_addr_t ip6;
3876 : };
3877 : typedef union fd_gossip_ip_addr_inner fd_gossip_ip_addr_inner_t;
3878 :
3879 : /* Unnecessary and sad wrapper type. IPv4 addresses could have been mapped to IPv6 */
3880 : struct fd_gossip_ip_addr {
3881 : uint discriminant;
3882 : fd_gossip_ip_addr_inner_t inner;
3883 : };
3884 : typedef struct fd_gossip_ip_addr fd_gossip_ip_addr_t;
3885 3 : #define FD_GOSSIP_IP_ADDR_FOOTPRINT sizeof(fd_gossip_ip_addr_t)
3886 3 : #define FD_GOSSIP_IP_ADDR_ALIGN (8UL)
3887 :
3888 : /* Encoded Size: Dynamic */
3889 : struct __attribute__((aligned(8UL))) fd_gossip_prune_data {
3890 : fd_pubkey_t pubkey;
3891 : ulong prunes_len;
3892 : fd_pubkey_t * prunes;
3893 : fd_signature_t signature;
3894 : fd_pubkey_t destination;
3895 : ulong wallclock;
3896 : };
3897 : typedef struct fd_gossip_prune_data fd_gossip_prune_data_t;
3898 0 : #define FD_GOSSIP_PRUNE_DATA_FOOTPRINT sizeof(fd_gossip_prune_data_t)
3899 0 : #define FD_GOSSIP_PRUNE_DATA_ALIGN (8UL)
3900 :
3901 : struct __attribute__((aligned(8UL))) fd_gossip_prune_data_off {
3902 : uint pubkey_off;
3903 : uint prunes_off;
3904 : uint signature_off;
3905 : uint destination_off;
3906 : uint wallclock_off;
3907 : };
3908 : typedef struct fd_gossip_prune_data_off fd_gossip_prune_data_off_t;
3909 : #define FD_GOSSIP_PRUNE_DATA_OFF_FOOTPRINT sizeof(fd_gossip_prune_data_off_t)
3910 : #define FD_GOSSIP_PRUNE_DATA_OFF_ALIGN (8UL)
3911 :
3912 : /* Encoded Size: Dynamic */
3913 : struct __attribute__((aligned(8UL))) fd_gossip_prune_sign_data {
3914 : fd_pubkey_t pubkey;
3915 : ulong prunes_len;
3916 : fd_pubkey_t * prunes;
3917 : fd_pubkey_t destination;
3918 : ulong wallclock;
3919 : };
3920 : typedef struct fd_gossip_prune_sign_data fd_gossip_prune_sign_data_t;
3921 0 : #define FD_GOSSIP_PRUNE_SIGN_DATA_FOOTPRINT sizeof(fd_gossip_prune_sign_data_t)
3922 0 : #define FD_GOSSIP_PRUNE_SIGN_DATA_ALIGN (8UL)
3923 :
3924 : struct __attribute__((aligned(8UL))) fd_gossip_prune_sign_data_off {
3925 : uint pubkey_off;
3926 : uint prunes_off;
3927 : uint destination_off;
3928 : uint wallclock_off;
3929 : };
3930 : typedef struct fd_gossip_prune_sign_data_off fd_gossip_prune_sign_data_off_t;
3931 : #define FD_GOSSIP_PRUNE_SIGN_DATA_OFF_FOOTPRINT sizeof(fd_gossip_prune_sign_data_off_t)
3932 : #define FD_GOSSIP_PRUNE_SIGN_DATA_OFF_ALIGN (8UL)
3933 :
3934 : /* Encoded Size: Dynamic */
3935 : struct __attribute__((aligned(8UL))) fd_gossip_prune_sign_data_with_prefix {
3936 : ulong prefix_len;
3937 : uchar* prefix;
3938 : fd_gossip_prune_sign_data_t data;
3939 : };
3940 : typedef struct fd_gossip_prune_sign_data_with_prefix fd_gossip_prune_sign_data_with_prefix_t;
3941 0 : #define FD_GOSSIP_PRUNE_SIGN_DATA_WITH_PREFIX_FOOTPRINT sizeof(fd_gossip_prune_sign_data_with_prefix_t)
3942 0 : #define FD_GOSSIP_PRUNE_SIGN_DATA_WITH_PREFIX_ALIGN (8UL)
3943 :
3944 : struct __attribute__((aligned(8UL))) fd_gossip_prune_sign_data_with_prefix_off {
3945 : uint prefix_off;
3946 : uint data_off;
3947 : };
3948 : typedef struct fd_gossip_prune_sign_data_with_prefix_off fd_gossip_prune_sign_data_with_prefix_off_t;
3949 : #define FD_GOSSIP_PRUNE_SIGN_DATA_WITH_PREFIX_OFF_FOOTPRINT sizeof(fd_gossip_prune_sign_data_with_prefix_off_t)
3950 : #define FD_GOSSIP_PRUNE_SIGN_DATA_WITH_PREFIX_OFF_ALIGN (8UL)
3951 :
3952 : /* Encoded Size: Dynamic */
3953 : struct __attribute__((aligned(8UL))) fd_gossip_socket_addr_old {
3954 : fd_gossip_ip_addr_t addr;
3955 : ushort port;
3956 : };
3957 : typedef struct fd_gossip_socket_addr_old fd_gossip_socket_addr_old_t;
3958 0 : #define FD_GOSSIP_SOCKET_ADDR_OLD_FOOTPRINT sizeof(fd_gossip_socket_addr_old_t)
3959 0 : #define FD_GOSSIP_SOCKET_ADDR_OLD_ALIGN (8UL)
3960 :
3961 : struct __attribute__((aligned(8UL))) fd_gossip_socket_addr_old_off {
3962 : uint addr_off;
3963 : uint port_off;
3964 : };
3965 : typedef struct fd_gossip_socket_addr_old_off fd_gossip_socket_addr_old_off_t;
3966 : #define FD_GOSSIP_SOCKET_ADDR_OLD_OFF_FOOTPRINT sizeof(fd_gossip_socket_addr_old_off_t)
3967 : #define FD_GOSSIP_SOCKET_ADDR_OLD_OFF_ALIGN (8UL)
3968 :
3969 : /* Encoded Size: Dynamic */
3970 : struct __attribute__((aligned(8UL))) fd_gossip_socket_addr_ip4 {
3971 : fd_gossip_ip4_addr_t addr;
3972 : ushort port;
3973 : };
3974 : typedef struct fd_gossip_socket_addr_ip4 fd_gossip_socket_addr_ip4_t;
3975 0 : #define FD_GOSSIP_SOCKET_ADDR_IP4_FOOTPRINT sizeof(fd_gossip_socket_addr_ip4_t)
3976 0 : #define FD_GOSSIP_SOCKET_ADDR_IP4_ALIGN (8UL)
3977 :
3978 : struct __attribute__((aligned(8UL))) fd_gossip_socket_addr_ip4_off {
3979 : uint addr_off;
3980 : uint port_off;
3981 : };
3982 : typedef struct fd_gossip_socket_addr_ip4_off fd_gossip_socket_addr_ip4_off_t;
3983 : #define FD_GOSSIP_SOCKET_ADDR_IP4_OFF_FOOTPRINT sizeof(fd_gossip_socket_addr_ip4_off_t)
3984 : #define FD_GOSSIP_SOCKET_ADDR_IP4_OFF_ALIGN (8UL)
3985 :
3986 : /* Encoded Size: Dynamic */
3987 : struct __attribute__((aligned(8UL))) fd_gossip_socket_addr_ip6 {
3988 : fd_gossip_ip6_addr_t addr;
3989 : ushort port;
3990 : uint flowinfo;
3991 : uint scope_id;
3992 : };
3993 : typedef struct fd_gossip_socket_addr_ip6 fd_gossip_socket_addr_ip6_t;
3994 0 : #define FD_GOSSIP_SOCKET_ADDR_IP6_FOOTPRINT sizeof(fd_gossip_socket_addr_ip6_t)
3995 0 : #define FD_GOSSIP_SOCKET_ADDR_IP6_ALIGN (8UL)
3996 :
3997 : struct __attribute__((aligned(8UL))) fd_gossip_socket_addr_ip6_off {
3998 : uint addr_off;
3999 : uint port_off;
4000 : uint flowinfo_off;
4001 : uint scope_id_off;
4002 : };
4003 : typedef struct fd_gossip_socket_addr_ip6_off fd_gossip_socket_addr_ip6_off_t;
4004 : #define FD_GOSSIP_SOCKET_ADDR_IP6_OFF_FOOTPRINT sizeof(fd_gossip_socket_addr_ip6_off_t)
4005 : #define FD_GOSSIP_SOCKET_ADDR_IP6_OFF_ALIGN (8UL)
4006 :
4007 : union fd_gossip_socket_addr_inner {
4008 : fd_gossip_socket_addr_ip4_t ip4;
4009 : fd_gossip_socket_addr_ip6_t ip6;
4010 : };
4011 : typedef union fd_gossip_socket_addr_inner fd_gossip_socket_addr_inner_t;
4012 :
4013 : struct fd_gossip_socket_addr {
4014 : uint discriminant;
4015 : fd_gossip_socket_addr_inner_t inner;
4016 : };
4017 : typedef struct fd_gossip_socket_addr fd_gossip_socket_addr_t;
4018 0 : #define FD_GOSSIP_SOCKET_ADDR_FOOTPRINT sizeof(fd_gossip_socket_addr_t)
4019 0 : #define FD_GOSSIP_SOCKET_ADDR_ALIGN (8UL)
4020 :
4021 : /* Encoded Size: Dynamic */
4022 : struct __attribute__((aligned(8UL))) fd_gossip_contact_info_v1 {
4023 : fd_pubkey_t id;
4024 : fd_gossip_socket_addr_t gossip;
4025 : fd_gossip_socket_addr_t tvu;
4026 : fd_gossip_socket_addr_t tvu_fwd;
4027 : fd_gossip_socket_addr_t repair;
4028 : fd_gossip_socket_addr_t tpu;
4029 : fd_gossip_socket_addr_t tpu_fwd;
4030 : fd_gossip_socket_addr_t tpu_vote;
4031 : fd_gossip_socket_addr_t rpc;
4032 : fd_gossip_socket_addr_t rpc_pubsub;
4033 : fd_gossip_socket_addr_t serve_repair;
4034 : ulong wallclock;
4035 : ushort shred_version;
4036 : };
4037 : typedef struct fd_gossip_contact_info_v1 fd_gossip_contact_info_v1_t;
4038 0 : #define FD_GOSSIP_CONTACT_INFO_V1_FOOTPRINT sizeof(fd_gossip_contact_info_v1_t)
4039 0 : #define FD_GOSSIP_CONTACT_INFO_V1_ALIGN (8UL)
4040 :
4041 : struct __attribute__((aligned(8UL))) fd_gossip_contact_info_v1_off {
4042 : uint id_off;
4043 : uint gossip_off;
4044 : uint tvu_off;
4045 : uint tvu_fwd_off;
4046 : uint repair_off;
4047 : uint tpu_off;
4048 : uint tpu_fwd_off;
4049 : uint tpu_vote_off;
4050 : uint rpc_off;
4051 : uint rpc_pubsub_off;
4052 : uint serve_repair_off;
4053 : uint wallclock_off;
4054 : uint shred_version_off;
4055 : };
4056 : typedef struct fd_gossip_contact_info_v1_off fd_gossip_contact_info_v1_off_t;
4057 : #define FD_GOSSIP_CONTACT_INFO_V1_OFF_FOOTPRINT sizeof(fd_gossip_contact_info_v1_off_t)
4058 : #define FD_GOSSIP_CONTACT_INFO_V1_OFF_ALIGN (8UL)
4059 :
4060 : /* Encoded Size: Dynamic */
4061 : struct __attribute__((aligned(8UL))) fd_gossip_vote {
4062 : uchar index;
4063 : fd_pubkey_t from;
4064 : fd_flamenco_txn_t txn;
4065 : ulong wallclock;
4066 : };
4067 : typedef struct fd_gossip_vote fd_gossip_vote_t;
4068 0 : #define FD_GOSSIP_VOTE_FOOTPRINT sizeof(fd_gossip_vote_t)
4069 0 : #define FD_GOSSIP_VOTE_ALIGN (8UL)
4070 :
4071 : struct __attribute__((aligned(8UL))) fd_gossip_vote_off {
4072 : uint index_off;
4073 : uint from_off;
4074 : uint txn_off;
4075 : uint wallclock_off;
4076 : };
4077 : typedef struct fd_gossip_vote_off fd_gossip_vote_off_t;
4078 : #define FD_GOSSIP_VOTE_OFF_FOOTPRINT sizeof(fd_gossip_vote_off_t)
4079 : #define FD_GOSSIP_VOTE_OFF_ALIGN (8UL)
4080 :
4081 : /* Encoded Size: Dynamic */
4082 : struct __attribute__((aligned(8UL))) fd_gossip_lowest_slot {
4083 : uchar u8;
4084 : fd_pubkey_t from;
4085 : ulong root;
4086 : ulong lowest;
4087 : ulong slots_len;
4088 : ulong* slots;
4089 : ulong i_dont_know;
4090 : ulong wallclock;
4091 : };
4092 : typedef struct fd_gossip_lowest_slot fd_gossip_lowest_slot_t;
4093 0 : #define FD_GOSSIP_LOWEST_SLOT_FOOTPRINT sizeof(fd_gossip_lowest_slot_t)
4094 0 : #define FD_GOSSIP_LOWEST_SLOT_ALIGN (8UL)
4095 :
4096 : struct __attribute__((aligned(8UL))) fd_gossip_lowest_slot_off {
4097 : uint u8_off;
4098 : uint from_off;
4099 : uint root_off;
4100 : uint lowest_off;
4101 : uint slots_off;
4102 : uint i_dont_know_off;
4103 : uint wallclock_off;
4104 : };
4105 : typedef struct fd_gossip_lowest_slot_off fd_gossip_lowest_slot_off_t;
4106 : #define FD_GOSSIP_LOWEST_SLOT_OFF_FOOTPRINT sizeof(fd_gossip_lowest_slot_off_t)
4107 : #define FD_GOSSIP_LOWEST_SLOT_OFF_ALIGN (8UL)
4108 :
4109 : /* Encoded Size: Dynamic */
4110 : struct __attribute__((aligned(8UL))) fd_gossip_slot_hashes {
4111 : fd_pubkey_t from;
4112 : ulong hashes_len;
4113 : fd_slot_hash_t * hashes;
4114 : ulong wallclock;
4115 : };
4116 : typedef struct fd_gossip_slot_hashes fd_gossip_slot_hashes_t;
4117 0 : #define FD_GOSSIP_SLOT_HASHES_FOOTPRINT sizeof(fd_gossip_slot_hashes_t)
4118 0 : #define FD_GOSSIP_SLOT_HASHES_ALIGN (8UL)
4119 :
4120 : struct __attribute__((aligned(8UL))) fd_gossip_slot_hashes_off {
4121 : uint from_off;
4122 : uint hashes_off;
4123 : uint wallclock_off;
4124 : };
4125 : typedef struct fd_gossip_slot_hashes_off fd_gossip_slot_hashes_off_t;
4126 : #define FD_GOSSIP_SLOT_HASHES_OFF_FOOTPRINT sizeof(fd_gossip_slot_hashes_off_t)
4127 : #define FD_GOSSIP_SLOT_HASHES_OFF_ALIGN (8UL)
4128 :
4129 : /* Encoded Size: Dynamic */
4130 : struct __attribute__((aligned(8UL))) fd_gossip_slots {
4131 : ulong first_slot;
4132 : ulong num;
4133 : fd_gossip_bitvec_u8_t slots;
4134 : };
4135 : typedef struct fd_gossip_slots fd_gossip_slots_t;
4136 0 : #define FD_GOSSIP_SLOTS_FOOTPRINT sizeof(fd_gossip_slots_t)
4137 0 : #define FD_GOSSIP_SLOTS_ALIGN (8UL)
4138 :
4139 : struct __attribute__((aligned(8UL))) fd_gossip_slots_off {
4140 : uint first_slot_off;
4141 : uint num_off;
4142 : uint slots_off;
4143 : };
4144 : typedef struct fd_gossip_slots_off fd_gossip_slots_off_t;
4145 : #define FD_GOSSIP_SLOTS_OFF_FOOTPRINT sizeof(fd_gossip_slots_off_t)
4146 : #define FD_GOSSIP_SLOTS_OFF_ALIGN (8UL)
4147 :
4148 : /* Encoded Size: Dynamic */
4149 : struct __attribute__((aligned(8UL))) fd_gossip_flate2_slots {
4150 : ulong first_slot;
4151 : ulong num;
4152 : ulong compressed_len;
4153 : uchar* compressed;
4154 : };
4155 : typedef struct fd_gossip_flate2_slots fd_gossip_flate2_slots_t;
4156 0 : #define FD_GOSSIP_FLATE2_SLOTS_FOOTPRINT sizeof(fd_gossip_flate2_slots_t)
4157 0 : #define FD_GOSSIP_FLATE2_SLOTS_ALIGN (8UL)
4158 :
4159 : struct __attribute__((aligned(8UL))) fd_gossip_flate2_slots_off {
4160 : uint first_slot_off;
4161 : uint num_off;
4162 : uint compressed_off;
4163 : };
4164 : typedef struct fd_gossip_flate2_slots_off fd_gossip_flate2_slots_off_t;
4165 : #define FD_GOSSIP_FLATE2_SLOTS_OFF_FOOTPRINT sizeof(fd_gossip_flate2_slots_off_t)
4166 : #define FD_GOSSIP_FLATE2_SLOTS_OFF_ALIGN (8UL)
4167 :
4168 : union fd_gossip_slots_enum_inner {
4169 : fd_gossip_flate2_slots_t flate2;
4170 : fd_gossip_slots_t uncompressed;
4171 : };
4172 : typedef union fd_gossip_slots_enum_inner fd_gossip_slots_enum_inner_t;
4173 :
4174 : struct fd_gossip_slots_enum {
4175 : uint discriminant;
4176 : fd_gossip_slots_enum_inner_t inner;
4177 : };
4178 : typedef struct fd_gossip_slots_enum fd_gossip_slots_enum_t;
4179 0 : #define FD_GOSSIP_SLOTS_ENUM_FOOTPRINT sizeof(fd_gossip_slots_enum_t)
4180 0 : #define FD_GOSSIP_SLOTS_ENUM_ALIGN (8UL)
4181 :
4182 : /* Encoded Size: Dynamic */
4183 : struct __attribute__((aligned(8UL))) fd_gossip_epoch_slots {
4184 : uchar u8;
4185 : fd_pubkey_t from;
4186 : ulong slots_len;
4187 : fd_gossip_slots_enum_t * slots;
4188 : ulong wallclock;
4189 : };
4190 : typedef struct fd_gossip_epoch_slots fd_gossip_epoch_slots_t;
4191 0 : #define FD_GOSSIP_EPOCH_SLOTS_FOOTPRINT sizeof(fd_gossip_epoch_slots_t)
4192 0 : #define FD_GOSSIP_EPOCH_SLOTS_ALIGN (8UL)
4193 :
4194 : struct __attribute__((aligned(8UL))) fd_gossip_epoch_slots_off {
4195 : uint u8_off;
4196 : uint from_off;
4197 : uint slots_off;
4198 : uint wallclock_off;
4199 : };
4200 : typedef struct fd_gossip_epoch_slots_off fd_gossip_epoch_slots_off_t;
4201 : #define FD_GOSSIP_EPOCH_SLOTS_OFF_FOOTPRINT sizeof(fd_gossip_epoch_slots_off_t)
4202 : #define FD_GOSSIP_EPOCH_SLOTS_OFF_ALIGN (8UL)
4203 :
4204 : /* Encoded Size: Dynamic */
4205 : struct __attribute__((aligned(8UL))) fd_gossip_version_v1 {
4206 : fd_pubkey_t from;
4207 : ulong wallclock;
4208 : ushort major;
4209 : ushort minor;
4210 : ushort patch;
4211 : uint commit;
4212 : uchar has_commit;
4213 : };
4214 : typedef struct fd_gossip_version_v1 fd_gossip_version_v1_t;
4215 0 : #define FD_GOSSIP_VERSION_V1_FOOTPRINT sizeof(fd_gossip_version_v1_t)
4216 0 : #define FD_GOSSIP_VERSION_V1_ALIGN (8UL)
4217 :
4218 : struct __attribute__((aligned(8UL))) fd_gossip_version_v1_off {
4219 : uint from_off;
4220 : uint wallclock_off;
4221 : uint major_off;
4222 : uint minor_off;
4223 : uint patch_off;
4224 : uint commit_off;
4225 : };
4226 : typedef struct fd_gossip_version_v1_off fd_gossip_version_v1_off_t;
4227 : #define FD_GOSSIP_VERSION_V1_OFF_FOOTPRINT sizeof(fd_gossip_version_v1_off_t)
4228 : #define FD_GOSSIP_VERSION_V1_OFF_ALIGN (8UL)
4229 :
4230 : /* Encoded Size: Dynamic */
4231 : struct __attribute__((aligned(8UL))) fd_gossip_version_v2 {
4232 : fd_pubkey_t from;
4233 : ulong wallclock;
4234 : ushort major;
4235 : ushort minor;
4236 : ushort patch;
4237 : uint commit;
4238 : uchar has_commit;
4239 : uint feature_set;
4240 : };
4241 : typedef struct fd_gossip_version_v2 fd_gossip_version_v2_t;
4242 0 : #define FD_GOSSIP_VERSION_V2_FOOTPRINT sizeof(fd_gossip_version_v2_t)
4243 0 : #define FD_GOSSIP_VERSION_V2_ALIGN (8UL)
4244 :
4245 : struct __attribute__((aligned(8UL))) fd_gossip_version_v2_off {
4246 : uint from_off;
4247 : uint wallclock_off;
4248 : uint major_off;
4249 : uint minor_off;
4250 : uint patch_off;
4251 : uint commit_off;
4252 : uint feature_set_off;
4253 : };
4254 : typedef struct fd_gossip_version_v2_off fd_gossip_version_v2_off_t;
4255 : #define FD_GOSSIP_VERSION_V2_OFF_FOOTPRINT sizeof(fd_gossip_version_v2_off_t)
4256 : #define FD_GOSSIP_VERSION_V2_OFF_ALIGN (8UL)
4257 :
4258 : /* Encoded Size: Dynamic */
4259 : struct __attribute__((aligned(8UL))) fd_gossip_version_v3 {
4260 : ushort major;
4261 : ushort minor;
4262 : ushort patch;
4263 : uint commit;
4264 : uint feature_set;
4265 : ushort client;
4266 : };
4267 : typedef struct fd_gossip_version_v3 fd_gossip_version_v3_t;
4268 0 : #define FD_GOSSIP_VERSION_V3_FOOTPRINT sizeof(fd_gossip_version_v3_t)
4269 0 : #define FD_GOSSIP_VERSION_V3_ALIGN (8UL)
4270 :
4271 : struct __attribute__((aligned(8UL))) fd_gossip_version_v3_off {
4272 : uint major_off;
4273 : uint minor_off;
4274 : uint patch_off;
4275 : uint commit_off;
4276 : uint feature_set_off;
4277 : uint client_off;
4278 : };
4279 : typedef struct fd_gossip_version_v3_off fd_gossip_version_v3_off_t;
4280 : #define FD_GOSSIP_VERSION_V3_OFF_FOOTPRINT sizeof(fd_gossip_version_v3_off_t)
4281 : #define FD_GOSSIP_VERSION_V3_OFF_ALIGN (8UL)
4282 :
4283 : /* Encoded Size: Fixed (56 bytes) */
4284 : struct __attribute__((aligned(8UL))) fd_gossip_node_instance {
4285 : fd_pubkey_t from;
4286 : ulong wallclock;
4287 : long timestamp;
4288 : ulong token;
4289 : };
4290 : typedef struct fd_gossip_node_instance fd_gossip_node_instance_t;
4291 0 : #define FD_GOSSIP_NODE_INSTANCE_FOOTPRINT sizeof(fd_gossip_node_instance_t)
4292 0 : #define FD_GOSSIP_NODE_INSTANCE_ALIGN (8UL)
4293 :
4294 : struct __attribute__((aligned(8UL))) fd_gossip_node_instance_off {
4295 : uint from_off;
4296 : uint wallclock_off;
4297 : uint timestamp_off;
4298 : uint token_off;
4299 : };
4300 : typedef struct fd_gossip_node_instance_off fd_gossip_node_instance_off_t;
4301 : #define FD_GOSSIP_NODE_INSTANCE_OFF_FOOTPRINT sizeof(fd_gossip_node_instance_off_t)
4302 : #define FD_GOSSIP_NODE_INSTANCE_OFF_ALIGN (8UL)
4303 :
4304 : /* Encoded Size: Dynamic */
4305 : struct __attribute__((aligned(8UL))) fd_gossip_duplicate_shred {
4306 : ushort duplicate_shred_index;
4307 : fd_pubkey_t from;
4308 : ulong wallclock;
4309 : ulong slot;
4310 : uint _unused;
4311 : uchar _unused_shred_type;
4312 : uchar num_chunks;
4313 : uchar chunk_index;
4314 : ulong chunk_len;
4315 : uchar* chunk;
4316 : };
4317 : typedef struct fd_gossip_duplicate_shred fd_gossip_duplicate_shred_t;
4318 0 : #define FD_GOSSIP_DUPLICATE_SHRED_FOOTPRINT sizeof(fd_gossip_duplicate_shred_t)
4319 0 : #define FD_GOSSIP_DUPLICATE_SHRED_ALIGN (8UL)
4320 :
4321 : struct __attribute__((aligned(8UL))) fd_gossip_duplicate_shred_off {
4322 : uint duplicate_shred_index_off;
4323 : uint from_off;
4324 : uint wallclock_off;
4325 : uint slot_off;
4326 : uint _unused_off;
4327 : uint _unused_shred_type_off;
4328 : uint num_chunks_off;
4329 : uint chunk_index_off;
4330 : uint chunk_off;
4331 : };
4332 : typedef struct fd_gossip_duplicate_shred_off fd_gossip_duplicate_shred_off_t;
4333 : #define FD_GOSSIP_DUPLICATE_SHRED_OFF_FOOTPRINT sizeof(fd_gossip_duplicate_shred_off_t)
4334 : #define FD_GOSSIP_DUPLICATE_SHRED_OFF_ALIGN (8UL)
4335 :
4336 : /* Encoded Size: Dynamic */
4337 : struct __attribute__((aligned(8UL))) fd_gossip_incremental_snapshot_hashes {
4338 : fd_pubkey_t from;
4339 : fd_slot_hash_t base_hash;
4340 : ulong hashes_len;
4341 : fd_slot_hash_t * hashes;
4342 : ulong wallclock;
4343 : };
4344 : typedef struct fd_gossip_incremental_snapshot_hashes fd_gossip_incremental_snapshot_hashes_t;
4345 0 : #define FD_GOSSIP_INCREMENTAL_SNAPSHOT_HASHES_FOOTPRINT sizeof(fd_gossip_incremental_snapshot_hashes_t)
4346 0 : #define FD_GOSSIP_INCREMENTAL_SNAPSHOT_HASHES_ALIGN (8UL)
4347 :
4348 : struct __attribute__((aligned(8UL))) fd_gossip_incremental_snapshot_hashes_off {
4349 : uint from_off;
4350 : uint base_hash_off;
4351 : uint hashes_off;
4352 : uint wallclock_off;
4353 : };
4354 : typedef struct fd_gossip_incremental_snapshot_hashes_off fd_gossip_incremental_snapshot_hashes_off_t;
4355 : #define FD_GOSSIP_INCREMENTAL_SNAPSHOT_HASHES_OFF_FOOTPRINT sizeof(fd_gossip_incremental_snapshot_hashes_off_t)
4356 : #define FD_GOSSIP_INCREMENTAL_SNAPSHOT_HASHES_OFF_ALIGN (8UL)
4357 :
4358 : /* Encoded Size: Dynamic */
4359 : struct __attribute__((aligned(8UL))) fd_gossip_socket_entry {
4360 : uchar key;
4361 : uchar index;
4362 : ushort offset;
4363 : };
4364 : typedef struct fd_gossip_socket_entry fd_gossip_socket_entry_t;
4365 3 : #define FD_GOSSIP_SOCKET_ENTRY_FOOTPRINT sizeof(fd_gossip_socket_entry_t)
4366 3 : #define FD_GOSSIP_SOCKET_ENTRY_ALIGN (8UL)
4367 :
4368 : struct __attribute__((aligned(8UL))) fd_gossip_socket_entry_off {
4369 : uint key_off;
4370 : uint index_off;
4371 : uint offset_off;
4372 : };
4373 : typedef struct fd_gossip_socket_entry_off fd_gossip_socket_entry_off_t;
4374 : #define FD_GOSSIP_SOCKET_ENTRY_OFF_FOOTPRINT sizeof(fd_gossip_socket_entry_off_t)
4375 : #define FD_GOSSIP_SOCKET_ENTRY_OFF_ALIGN (8UL)
4376 :
4377 : /* Encoded Size: Dynamic */
4378 : struct __attribute__((aligned(8UL))) fd_gossip_contact_info_v2 {
4379 : fd_pubkey_t from;
4380 : ulong wallclock;
4381 : ulong outset;
4382 : ushort shred_version;
4383 : fd_gossip_version_v3_t version;
4384 : ushort addrs_len;
4385 : fd_gossip_ip_addr_t * addrs;
4386 : ushort sockets_len;
4387 : fd_gossip_socket_entry_t * sockets;
4388 : ushort extensions_len;
4389 : uint* extensions;
4390 : };
4391 : typedef struct fd_gossip_contact_info_v2 fd_gossip_contact_info_v2_t;
4392 0 : #define FD_GOSSIP_CONTACT_INFO_V2_FOOTPRINT sizeof(fd_gossip_contact_info_v2_t)
4393 0 : #define FD_GOSSIP_CONTACT_INFO_V2_ALIGN (8UL)
4394 :
4395 : struct __attribute__((aligned(8UL))) fd_gossip_contact_info_v2_off {
4396 : uint from_off;
4397 : uint wallclock_off;
4398 : uint outset_off;
4399 : uint shred_version_off;
4400 : uint version_off;
4401 : uint addrs_off;
4402 : uint sockets_off;
4403 : uint extensions_off;
4404 : };
4405 : typedef struct fd_gossip_contact_info_v2_off fd_gossip_contact_info_v2_off_t;
4406 : #define FD_GOSSIP_CONTACT_INFO_V2_OFF_FOOTPRINT sizeof(fd_gossip_contact_info_v2_off_t)
4407 : #define FD_GOSSIP_CONTACT_INFO_V2_OFF_ALIGN (8UL)
4408 :
4409 : /* Encoded Size: Dynamic */
4410 : struct __attribute__((aligned(8UL))) fd_restart_run_length_encoding_inner {
4411 : ushort bits;
4412 : };
4413 : typedef struct fd_restart_run_length_encoding_inner fd_restart_run_length_encoding_inner_t;
4414 0 : #define FD_RESTART_RUN_LENGTH_ENCODING_INNER_FOOTPRINT sizeof(fd_restart_run_length_encoding_inner_t)
4415 0 : #define FD_RESTART_RUN_LENGTH_ENCODING_INNER_ALIGN (8UL)
4416 :
4417 : struct __attribute__((aligned(8UL))) fd_restart_run_length_encoding_inner_off {
4418 : uint bits_off;
4419 : };
4420 : typedef struct fd_restart_run_length_encoding_inner_off fd_restart_run_length_encoding_inner_off_t;
4421 : #define FD_RESTART_RUN_LENGTH_ENCODING_INNER_OFF_FOOTPRINT sizeof(fd_restart_run_length_encoding_inner_off_t)
4422 : #define FD_RESTART_RUN_LENGTH_ENCODING_INNER_OFF_ALIGN (8UL)
4423 :
4424 : /* Encoded Size: Dynamic */
4425 : struct __attribute__((aligned(8UL))) fd_restart_run_length_encoding {
4426 : ulong offsets_len;
4427 : fd_restart_run_length_encoding_inner_t * offsets;
4428 : };
4429 : typedef struct fd_restart_run_length_encoding fd_restart_run_length_encoding_t;
4430 0 : #define FD_RESTART_RUN_LENGTH_ENCODING_FOOTPRINT sizeof(fd_restart_run_length_encoding_t)
4431 0 : #define FD_RESTART_RUN_LENGTH_ENCODING_ALIGN (8UL)
4432 :
4433 : struct __attribute__((aligned(8UL))) fd_restart_run_length_encoding_off {
4434 : uint offsets_off;
4435 : };
4436 : typedef struct fd_restart_run_length_encoding_off fd_restart_run_length_encoding_off_t;
4437 : #define FD_RESTART_RUN_LENGTH_ENCODING_OFF_FOOTPRINT sizeof(fd_restart_run_length_encoding_off_t)
4438 : #define FD_RESTART_RUN_LENGTH_ENCODING_OFF_ALIGN (8UL)
4439 :
4440 : /* Encoded Size: Dynamic */
4441 : struct __attribute__((aligned(8UL))) fd_restart_raw_offsets_bitvec_u8_inner {
4442 : ulong bits_len;
4443 : uchar* bits;
4444 : };
4445 : typedef struct fd_restart_raw_offsets_bitvec_u8_inner fd_restart_raw_offsets_bitvec_u8_inner_t;
4446 0 : #define FD_RESTART_RAW_OFFSETS_BITVEC_U8_INNER_FOOTPRINT sizeof(fd_restart_raw_offsets_bitvec_u8_inner_t)
4447 0 : #define FD_RESTART_RAW_OFFSETS_BITVEC_U8_INNER_ALIGN (8UL)
4448 :
4449 : struct __attribute__((aligned(8UL))) fd_restart_raw_offsets_bitvec_u8_inner_off {
4450 : uint bits_off;
4451 : };
4452 : typedef struct fd_restart_raw_offsets_bitvec_u8_inner_off fd_restart_raw_offsets_bitvec_u8_inner_off_t;
4453 : #define FD_RESTART_RAW_OFFSETS_BITVEC_U8_INNER_OFF_FOOTPRINT sizeof(fd_restart_raw_offsets_bitvec_u8_inner_off_t)
4454 : #define FD_RESTART_RAW_OFFSETS_BITVEC_U8_INNER_OFF_ALIGN (8UL)
4455 :
4456 : /* Encoded Size: Dynamic */
4457 : struct __attribute__((aligned(8UL))) fd_restart_raw_offsets_bitvec {
4458 : fd_restart_raw_offsets_bitvec_u8_inner_t bits;
4459 : uchar has_bits;
4460 : ulong len;
4461 : };
4462 : typedef struct fd_restart_raw_offsets_bitvec fd_restart_raw_offsets_bitvec_t;
4463 0 : #define FD_RESTART_RAW_OFFSETS_BITVEC_FOOTPRINT sizeof(fd_restart_raw_offsets_bitvec_t)
4464 0 : #define FD_RESTART_RAW_OFFSETS_BITVEC_ALIGN (8UL)
4465 :
4466 : struct __attribute__((aligned(8UL))) fd_restart_raw_offsets_bitvec_off {
4467 : uint bits_off;
4468 : uint len_off;
4469 : };
4470 : typedef struct fd_restart_raw_offsets_bitvec_off fd_restart_raw_offsets_bitvec_off_t;
4471 : #define FD_RESTART_RAW_OFFSETS_BITVEC_OFF_FOOTPRINT sizeof(fd_restart_raw_offsets_bitvec_off_t)
4472 : #define FD_RESTART_RAW_OFFSETS_BITVEC_OFF_ALIGN (8UL)
4473 :
4474 : /* Encoded Size: Dynamic */
4475 : struct __attribute__((aligned(8UL))) fd_restart_raw_offsets {
4476 : fd_restart_raw_offsets_bitvec_t offsets;
4477 : };
4478 : typedef struct fd_restart_raw_offsets fd_restart_raw_offsets_t;
4479 0 : #define FD_RESTART_RAW_OFFSETS_FOOTPRINT sizeof(fd_restart_raw_offsets_t)
4480 0 : #define FD_RESTART_RAW_OFFSETS_ALIGN (8UL)
4481 :
4482 : struct __attribute__((aligned(8UL))) fd_restart_raw_offsets_off {
4483 : uint offsets_off;
4484 : };
4485 : typedef struct fd_restart_raw_offsets_off fd_restart_raw_offsets_off_t;
4486 : #define FD_RESTART_RAW_OFFSETS_OFF_FOOTPRINT sizeof(fd_restart_raw_offsets_off_t)
4487 : #define FD_RESTART_RAW_OFFSETS_OFF_ALIGN (8UL)
4488 :
4489 : union fd_restart_slots_offsets_inner {
4490 : fd_restart_run_length_encoding_t run_length_encoding;
4491 : fd_restart_raw_offsets_t raw_offsets;
4492 : };
4493 : typedef union fd_restart_slots_offsets_inner fd_restart_slots_offsets_inner_t;
4494 :
4495 : struct fd_restart_slots_offsets {
4496 : uint discriminant;
4497 : fd_restart_slots_offsets_inner_t inner;
4498 : };
4499 : typedef struct fd_restart_slots_offsets fd_restart_slots_offsets_t;
4500 0 : #define FD_RESTART_SLOTS_OFFSETS_FOOTPRINT sizeof(fd_restart_slots_offsets_t)
4501 0 : #define FD_RESTART_SLOTS_OFFSETS_ALIGN (8UL)
4502 :
4503 : /* Encoded Size: Dynamic */
4504 : struct __attribute__((aligned(8UL))) fd_gossip_restart_last_voted_fork_slots {
4505 : fd_pubkey_t from;
4506 : ulong wallclock;
4507 : fd_restart_slots_offsets_t offsets;
4508 : ulong last_voted_slot;
4509 : fd_hash_t last_voted_hash;
4510 : ushort shred_version;
4511 : };
4512 : typedef struct fd_gossip_restart_last_voted_fork_slots fd_gossip_restart_last_voted_fork_slots_t;
4513 0 : #define FD_GOSSIP_RESTART_LAST_VOTED_FORK_SLOTS_FOOTPRINT sizeof(fd_gossip_restart_last_voted_fork_slots_t)
4514 0 : #define FD_GOSSIP_RESTART_LAST_VOTED_FORK_SLOTS_ALIGN (8UL)
4515 :
4516 : struct __attribute__((aligned(8UL))) fd_gossip_restart_last_voted_fork_slots_off {
4517 : uint from_off;
4518 : uint wallclock_off;
4519 : uint offsets_off;
4520 : uint last_voted_slot_off;
4521 : uint last_voted_hash_off;
4522 : uint shred_version_off;
4523 : };
4524 : typedef struct fd_gossip_restart_last_voted_fork_slots_off fd_gossip_restart_last_voted_fork_slots_off_t;
4525 : #define FD_GOSSIP_RESTART_LAST_VOTED_FORK_SLOTS_OFF_FOOTPRINT sizeof(fd_gossip_restart_last_voted_fork_slots_off_t)
4526 : #define FD_GOSSIP_RESTART_LAST_VOTED_FORK_SLOTS_OFF_ALIGN (8UL)
4527 :
4528 : /* Encoded Size: Fixed (90 bytes) */
4529 : struct __attribute__((aligned(8UL))) fd_gossip_restart_heaviest_fork {
4530 : fd_pubkey_t from;
4531 : ulong wallclock;
4532 : ulong last_slot;
4533 : fd_hash_t last_slot_hash;
4534 : ulong observed_stake;
4535 : ushort shred_version;
4536 : };
4537 : typedef struct fd_gossip_restart_heaviest_fork fd_gossip_restart_heaviest_fork_t;
4538 0 : #define FD_GOSSIP_RESTART_HEAVIEST_FORK_FOOTPRINT sizeof(fd_gossip_restart_heaviest_fork_t)
4539 0 : #define FD_GOSSIP_RESTART_HEAVIEST_FORK_ALIGN (8UL)
4540 :
4541 : struct __attribute__((aligned(8UL))) fd_gossip_restart_heaviest_fork_off {
4542 : uint from_off;
4543 : uint wallclock_off;
4544 : uint last_slot_off;
4545 : uint last_slot_hash_off;
4546 : uint observed_stake_off;
4547 : uint shred_version_off;
4548 : };
4549 : typedef struct fd_gossip_restart_heaviest_fork_off fd_gossip_restart_heaviest_fork_off_t;
4550 : #define FD_GOSSIP_RESTART_HEAVIEST_FORK_OFF_FOOTPRINT sizeof(fd_gossip_restart_heaviest_fork_off_t)
4551 : #define FD_GOSSIP_RESTART_HEAVIEST_FORK_OFF_ALIGN (8UL)
4552 :
4553 : union fd_crds_data_inner {
4554 : fd_gossip_contact_info_v1_t contact_info_v1;
4555 : fd_gossip_vote_t vote;
4556 : fd_gossip_lowest_slot_t lowest_slot;
4557 : fd_gossip_slot_hashes_t snapshot_hashes;
4558 : fd_gossip_slot_hashes_t accounts_hashes;
4559 : fd_gossip_epoch_slots_t epoch_slots;
4560 : fd_gossip_version_v1_t version_v1;
4561 : fd_gossip_version_v2_t version_v2;
4562 : fd_gossip_node_instance_t node_instance;
4563 : fd_gossip_duplicate_shred_t duplicate_shred;
4564 : fd_gossip_incremental_snapshot_hashes_t incremental_snapshot_hashes;
4565 : fd_gossip_contact_info_v2_t contact_info_v2;
4566 : fd_gossip_restart_last_voted_fork_slots_t restart_last_voted_fork_slots;
4567 : fd_gossip_restart_heaviest_fork_t restart_heaviest_fork;
4568 : };
4569 : typedef union fd_crds_data_inner fd_crds_data_inner_t;
4570 :
4571 : struct fd_crds_data {
4572 : uint discriminant;
4573 : fd_crds_data_inner_t inner;
4574 : };
4575 : typedef struct fd_crds_data fd_crds_data_t;
4576 0 : #define FD_CRDS_DATA_FOOTPRINT sizeof(fd_crds_data_t)
4577 0 : #define FD_CRDS_DATA_ALIGN (8UL)
4578 :
4579 : /* Encoded Size: Dynamic */
4580 : struct __attribute__((aligned(8UL))) fd_crds_bloom {
4581 : ulong keys_len;
4582 : ulong* keys;
4583 : fd_gossip_bitvec_u64_t bits;
4584 : ulong num_bits_set;
4585 : };
4586 : typedef struct fd_crds_bloom fd_crds_bloom_t;
4587 0 : #define FD_CRDS_BLOOM_FOOTPRINT sizeof(fd_crds_bloom_t)
4588 0 : #define FD_CRDS_BLOOM_ALIGN (8UL)
4589 :
4590 : struct __attribute__((aligned(8UL))) fd_crds_bloom_off {
4591 : uint keys_off;
4592 : uint bits_off;
4593 : uint num_bits_set_off;
4594 : };
4595 : typedef struct fd_crds_bloom_off fd_crds_bloom_off_t;
4596 : #define FD_CRDS_BLOOM_OFF_FOOTPRINT sizeof(fd_crds_bloom_off_t)
4597 : #define FD_CRDS_BLOOM_OFF_ALIGN (8UL)
4598 :
4599 : /* Encoded Size: Dynamic */
4600 : struct __attribute__((aligned(8UL))) fd_crds_filter {
4601 : fd_crds_bloom_t filter;
4602 : ulong mask;
4603 : uint mask_bits;
4604 : };
4605 : typedef struct fd_crds_filter fd_crds_filter_t;
4606 0 : #define FD_CRDS_FILTER_FOOTPRINT sizeof(fd_crds_filter_t)
4607 0 : #define FD_CRDS_FILTER_ALIGN (8UL)
4608 :
4609 : struct __attribute__((aligned(8UL))) fd_crds_filter_off {
4610 : uint filter_off;
4611 : uint mask_off;
4612 : uint mask_bits_off;
4613 : };
4614 : typedef struct fd_crds_filter_off fd_crds_filter_off_t;
4615 : #define FD_CRDS_FILTER_OFF_FOOTPRINT sizeof(fd_crds_filter_off_t)
4616 : #define FD_CRDS_FILTER_OFF_ALIGN (8UL)
4617 :
4618 : /* Encoded Size: Dynamic */
4619 : struct __attribute__((aligned(8UL))) fd_crds_value {
4620 : fd_signature_t signature;
4621 : fd_crds_data_t data;
4622 : };
4623 : typedef struct fd_crds_value fd_crds_value_t;
4624 18 : #define FD_CRDS_VALUE_FOOTPRINT sizeof(fd_crds_value_t)
4625 18 : #define FD_CRDS_VALUE_ALIGN (8UL)
4626 :
4627 : struct __attribute__((aligned(8UL))) fd_crds_value_off {
4628 : uint signature_off;
4629 : uint data_off;
4630 : };
4631 : typedef struct fd_crds_value_off fd_crds_value_off_t;
4632 : #define FD_CRDS_VALUE_OFF_FOOTPRINT sizeof(fd_crds_value_off_t)
4633 : #define FD_CRDS_VALUE_OFF_ALIGN (8UL)
4634 :
4635 : /* Encoded Size: Dynamic */
4636 : struct __attribute__((aligned(8UL))) fd_gossip_pull_req {
4637 : fd_crds_filter_t filter;
4638 : fd_crds_value_t value;
4639 : };
4640 : typedef struct fd_gossip_pull_req fd_gossip_pull_req_t;
4641 0 : #define FD_GOSSIP_PULL_REQ_FOOTPRINT sizeof(fd_gossip_pull_req_t)
4642 0 : #define FD_GOSSIP_PULL_REQ_ALIGN (8UL)
4643 :
4644 : struct __attribute__((aligned(8UL))) fd_gossip_pull_req_off {
4645 : uint filter_off;
4646 : uint value_off;
4647 : };
4648 : typedef struct fd_gossip_pull_req_off fd_gossip_pull_req_off_t;
4649 : #define FD_GOSSIP_PULL_REQ_OFF_FOOTPRINT sizeof(fd_gossip_pull_req_off_t)
4650 : #define FD_GOSSIP_PULL_REQ_OFF_ALIGN (8UL)
4651 :
4652 : /* Encoded Size: Dynamic */
4653 : struct __attribute__((aligned(8UL))) fd_gossip_pull_resp {
4654 : fd_pubkey_t pubkey;
4655 : ulong crds_len;
4656 : fd_crds_value_t * crds;
4657 : };
4658 : typedef struct fd_gossip_pull_resp fd_gossip_pull_resp_t;
4659 0 : #define FD_GOSSIP_PULL_RESP_FOOTPRINT sizeof(fd_gossip_pull_resp_t)
4660 0 : #define FD_GOSSIP_PULL_RESP_ALIGN (8UL)
4661 :
4662 : struct __attribute__((aligned(8UL))) fd_gossip_pull_resp_off {
4663 : uint pubkey_off;
4664 : uint crds_off;
4665 : };
4666 : typedef struct fd_gossip_pull_resp_off fd_gossip_pull_resp_off_t;
4667 : #define FD_GOSSIP_PULL_RESP_OFF_FOOTPRINT sizeof(fd_gossip_pull_resp_off_t)
4668 : #define FD_GOSSIP_PULL_RESP_OFF_ALIGN (8UL)
4669 :
4670 : /* Encoded Size: Dynamic */
4671 : struct __attribute__((aligned(8UL))) fd_gossip_push_msg {
4672 : fd_pubkey_t pubkey;
4673 : ulong crds_len;
4674 : fd_crds_value_t * crds;
4675 : };
4676 : typedef struct fd_gossip_push_msg fd_gossip_push_msg_t;
4677 0 : #define FD_GOSSIP_PUSH_MSG_FOOTPRINT sizeof(fd_gossip_push_msg_t)
4678 0 : #define FD_GOSSIP_PUSH_MSG_ALIGN (8UL)
4679 :
4680 : struct __attribute__((aligned(8UL))) fd_gossip_push_msg_off {
4681 : uint pubkey_off;
4682 : uint crds_off;
4683 : };
4684 : typedef struct fd_gossip_push_msg_off fd_gossip_push_msg_off_t;
4685 : #define FD_GOSSIP_PUSH_MSG_OFF_FOOTPRINT sizeof(fd_gossip_push_msg_off_t)
4686 : #define FD_GOSSIP_PUSH_MSG_OFF_ALIGN (8UL)
4687 :
4688 : /* Encoded Size: Dynamic */
4689 : struct __attribute__((aligned(8UL))) fd_gossip_prune_msg {
4690 : fd_pubkey_t pubkey;
4691 : fd_gossip_prune_data_t data;
4692 : };
4693 : typedef struct fd_gossip_prune_msg fd_gossip_prune_msg_t;
4694 0 : #define FD_GOSSIP_PRUNE_MSG_FOOTPRINT sizeof(fd_gossip_prune_msg_t)
4695 0 : #define FD_GOSSIP_PRUNE_MSG_ALIGN (8UL)
4696 :
4697 : struct __attribute__((aligned(8UL))) fd_gossip_prune_msg_off {
4698 : uint pubkey_off;
4699 : uint data_off;
4700 : };
4701 : typedef struct fd_gossip_prune_msg_off fd_gossip_prune_msg_off_t;
4702 : #define FD_GOSSIP_PRUNE_MSG_OFF_FOOTPRINT sizeof(fd_gossip_prune_msg_off_t)
4703 : #define FD_GOSSIP_PRUNE_MSG_OFF_ALIGN (8UL)
4704 :
4705 : union fd_gossip_msg_inner {
4706 : fd_gossip_pull_req_t pull_req;
4707 : fd_gossip_pull_resp_t pull_resp;
4708 : fd_gossip_push_msg_t push_msg;
4709 : fd_gossip_prune_msg_t prune_msg;
4710 : fd_gossip_ping_t ping;
4711 : fd_gossip_ping_t pong;
4712 : };
4713 : typedef union fd_gossip_msg_inner fd_gossip_msg_inner_t;
4714 :
4715 : /* UDP payloads of the Solana gossip protocol */
4716 : struct fd_gossip_msg {
4717 : uint discriminant;
4718 : fd_gossip_msg_inner_t inner;
4719 : };
4720 : typedef struct fd_gossip_msg fd_gossip_msg_t;
4721 0 : #define FD_GOSSIP_MSG_FOOTPRINT sizeof(fd_gossip_msg_t)
4722 0 : #define FD_GOSSIP_MSG_ALIGN (8UL)
4723 :
4724 : /* Encoded Size: Fixed (9 bytes) */
4725 : struct __attribute__((aligned(8UL))) fd_addrlut_create {
4726 : ulong recent_slot;
4727 : uchar bump_seed;
4728 : };
4729 : typedef struct fd_addrlut_create fd_addrlut_create_t;
4730 0 : #define FD_ADDRLUT_CREATE_FOOTPRINT sizeof(fd_addrlut_create_t)
4731 0 : #define FD_ADDRLUT_CREATE_ALIGN (8UL)
4732 :
4733 : struct __attribute__((aligned(8UL))) fd_addrlut_create_off {
4734 : uint recent_slot_off;
4735 : uint bump_seed_off;
4736 : };
4737 : typedef struct fd_addrlut_create_off fd_addrlut_create_off_t;
4738 : #define FD_ADDRLUT_CREATE_OFF_FOOTPRINT sizeof(fd_addrlut_create_off_t)
4739 : #define FD_ADDRLUT_CREATE_OFF_ALIGN (8UL)
4740 :
4741 : /* Encoded Size: Dynamic */
4742 : struct __attribute__((aligned(8UL))) fd_addrlut_extend {
4743 : ulong new_addrs_len;
4744 : fd_pubkey_t * new_addrs;
4745 : };
4746 : typedef struct fd_addrlut_extend fd_addrlut_extend_t;
4747 0 : #define FD_ADDRLUT_EXTEND_FOOTPRINT sizeof(fd_addrlut_extend_t)
4748 0 : #define FD_ADDRLUT_EXTEND_ALIGN (8UL)
4749 :
4750 : struct __attribute__((aligned(8UL))) fd_addrlut_extend_off {
4751 : uint new_addrs_off;
4752 : };
4753 : typedef struct fd_addrlut_extend_off fd_addrlut_extend_off_t;
4754 : #define FD_ADDRLUT_EXTEND_OFF_FOOTPRINT sizeof(fd_addrlut_extend_off_t)
4755 : #define FD_ADDRLUT_EXTEND_OFF_ALIGN (8UL)
4756 :
4757 : union fd_addrlut_instruction_inner {
4758 : fd_addrlut_create_t create_lut;
4759 : fd_addrlut_extend_t extend_lut;
4760 : };
4761 : typedef union fd_addrlut_instruction_inner fd_addrlut_instruction_inner_t;
4762 :
4763 : /* https://github.com/solana-labs/solana/blob/fb80288f885a62bcd923f4c9579fd0edeafaff9b/sdk/program/src/address_lookup_table/instruction.rs#L13 */
4764 : struct fd_addrlut_instruction {
4765 : uint discriminant;
4766 : fd_addrlut_instruction_inner_t inner;
4767 : };
4768 : typedef struct fd_addrlut_instruction fd_addrlut_instruction_t;
4769 0 : #define FD_ADDRLUT_INSTRUCTION_FOOTPRINT sizeof(fd_addrlut_instruction_t)
4770 0 : #define FD_ADDRLUT_INSTRUCTION_ALIGN (8UL)
4771 :
4772 : /* Encoded Size: Fixed (140 bytes) */
4773 : struct __attribute__((aligned(8UL))) fd_repair_request_header {
4774 : fd_signature_t signature;
4775 : fd_pubkey_t sender;
4776 : fd_pubkey_t recipient;
4777 : long timestamp;
4778 : uint nonce;
4779 : };
4780 : typedef struct fd_repair_request_header fd_repair_request_header_t;
4781 0 : #define FD_REPAIR_REQUEST_HEADER_FOOTPRINT sizeof(fd_repair_request_header_t)
4782 0 : #define FD_REPAIR_REQUEST_HEADER_ALIGN (8UL)
4783 :
4784 : struct __attribute__((aligned(8UL))) fd_repair_request_header_off {
4785 : uint signature_off;
4786 : uint sender_off;
4787 : uint recipient_off;
4788 : uint timestamp_off;
4789 : uint nonce_off;
4790 : };
4791 : typedef struct fd_repair_request_header_off fd_repair_request_header_off_t;
4792 : #define FD_REPAIR_REQUEST_HEADER_OFF_FOOTPRINT sizeof(fd_repair_request_header_off_t)
4793 : #define FD_REPAIR_REQUEST_HEADER_OFF_ALIGN (8UL)
4794 :
4795 : /* Encoded Size: Fixed (156 bytes) */
4796 : struct __attribute__((aligned(8UL))) fd_repair_window_index {
4797 : fd_repair_request_header_t header;
4798 : ulong slot;
4799 : ulong shred_index;
4800 : };
4801 : typedef struct fd_repair_window_index fd_repair_window_index_t;
4802 0 : #define FD_REPAIR_WINDOW_INDEX_FOOTPRINT sizeof(fd_repair_window_index_t)
4803 0 : #define FD_REPAIR_WINDOW_INDEX_ALIGN (8UL)
4804 :
4805 : struct __attribute__((aligned(8UL))) fd_repair_window_index_off {
4806 : uint header_off;
4807 : uint slot_off;
4808 : uint shred_index_off;
4809 : };
4810 : typedef struct fd_repair_window_index_off fd_repair_window_index_off_t;
4811 : #define FD_REPAIR_WINDOW_INDEX_OFF_FOOTPRINT sizeof(fd_repair_window_index_off_t)
4812 : #define FD_REPAIR_WINDOW_INDEX_OFF_ALIGN (8UL)
4813 :
4814 : /* Encoded Size: Fixed (156 bytes) */
4815 : struct __attribute__((aligned(8UL))) fd_repair_highest_window_index {
4816 : fd_repair_request_header_t header;
4817 : ulong slot;
4818 : ulong shred_index;
4819 : };
4820 : typedef struct fd_repair_highest_window_index fd_repair_highest_window_index_t;
4821 0 : #define FD_REPAIR_HIGHEST_WINDOW_INDEX_FOOTPRINT sizeof(fd_repair_highest_window_index_t)
4822 0 : #define FD_REPAIR_HIGHEST_WINDOW_INDEX_ALIGN (8UL)
4823 :
4824 : struct __attribute__((aligned(8UL))) fd_repair_highest_window_index_off {
4825 : uint header_off;
4826 : uint slot_off;
4827 : uint shred_index_off;
4828 : };
4829 : typedef struct fd_repair_highest_window_index_off fd_repair_highest_window_index_off_t;
4830 : #define FD_REPAIR_HIGHEST_WINDOW_INDEX_OFF_FOOTPRINT sizeof(fd_repair_highest_window_index_off_t)
4831 : #define FD_REPAIR_HIGHEST_WINDOW_INDEX_OFF_ALIGN (8UL)
4832 :
4833 : /* Encoded Size: Fixed (148 bytes) */
4834 : struct __attribute__((aligned(8UL))) fd_repair_orphan {
4835 : fd_repair_request_header_t header;
4836 : ulong slot;
4837 : };
4838 : typedef struct fd_repair_orphan fd_repair_orphan_t;
4839 0 : #define FD_REPAIR_ORPHAN_FOOTPRINT sizeof(fd_repair_orphan_t)
4840 0 : #define FD_REPAIR_ORPHAN_ALIGN (8UL)
4841 :
4842 : struct __attribute__((aligned(8UL))) fd_repair_orphan_off {
4843 : uint header_off;
4844 : uint slot_off;
4845 : };
4846 : typedef struct fd_repair_orphan_off fd_repair_orphan_off_t;
4847 : #define FD_REPAIR_ORPHAN_OFF_FOOTPRINT sizeof(fd_repair_orphan_off_t)
4848 : #define FD_REPAIR_ORPHAN_OFF_ALIGN (8UL)
4849 :
4850 : /* Encoded Size: Fixed (148 bytes) */
4851 : struct __attribute__((aligned(8UL))) fd_repair_ancestor_hashes {
4852 : fd_repair_request_header_t header;
4853 : ulong slot;
4854 : };
4855 : typedef struct fd_repair_ancestor_hashes fd_repair_ancestor_hashes_t;
4856 0 : #define FD_REPAIR_ANCESTOR_HASHES_FOOTPRINT sizeof(fd_repair_ancestor_hashes_t)
4857 0 : #define FD_REPAIR_ANCESTOR_HASHES_ALIGN (8UL)
4858 :
4859 : struct __attribute__((aligned(8UL))) fd_repair_ancestor_hashes_off {
4860 : uint header_off;
4861 : uint slot_off;
4862 : };
4863 : typedef struct fd_repair_ancestor_hashes_off fd_repair_ancestor_hashes_off_t;
4864 : #define FD_REPAIR_ANCESTOR_HASHES_OFF_FOOTPRINT sizeof(fd_repair_ancestor_hashes_off_t)
4865 : #define FD_REPAIR_ANCESTOR_HASHES_OFF_ALIGN (8UL)
4866 :
4867 : union fd_repair_protocol_inner {
4868 : fd_gossip_ping_t pong;
4869 : fd_repair_window_index_t window_index;
4870 : fd_repair_highest_window_index_t highest_window_index;
4871 : fd_repair_orphan_t orphan;
4872 : fd_repair_ancestor_hashes_t ancestor_hashes;
4873 : };
4874 : typedef union fd_repair_protocol_inner fd_repair_protocol_inner_t;
4875 :
4876 : struct fd_repair_protocol {
4877 : uint discriminant;
4878 : fd_repair_protocol_inner_t inner;
4879 : };
4880 : typedef struct fd_repair_protocol fd_repair_protocol_t;
4881 0 : #define FD_REPAIR_PROTOCOL_FOOTPRINT sizeof(fd_repair_protocol_t)
4882 0 : #define FD_REPAIR_PROTOCOL_ALIGN (8UL)
4883 :
4884 : union fd_repair_response_inner {
4885 : fd_gossip_ping_t ping;
4886 : };
4887 : typedef union fd_repair_response_inner fd_repair_response_inner_t;
4888 :
4889 : struct fd_repair_response {
4890 : uint discriminant;
4891 : fd_repair_response_inner_t inner;
4892 : };
4893 : typedef struct fd_repair_response fd_repair_response_t;
4894 0 : #define FD_REPAIR_RESPONSE_FOOTPRINT sizeof(fd_repair_response_t)
4895 0 : #define FD_REPAIR_RESPONSE_ALIGN (8UL)
4896 :
4897 : union fd_instr_error_enum_inner {
4898 : uint custom;
4899 : char* borsh_io_error;
4900 : };
4901 : typedef union fd_instr_error_enum_inner fd_instr_error_enum_inner_t;
4902 :
4903 : struct fd_instr_error_enum {
4904 : uint discriminant;
4905 : fd_instr_error_enum_inner_t inner;
4906 : };
4907 : typedef struct fd_instr_error_enum fd_instr_error_enum_t;
4908 0 : #define FD_INSTR_ERROR_ENUM_FOOTPRINT sizeof(fd_instr_error_enum_t)
4909 0 : #define FD_INSTR_ERROR_ENUM_ALIGN (8UL)
4910 :
4911 : /* Encoded Size: Dynamic */
4912 : struct __attribute__((aligned(8UL))) fd_txn_instr_error {
4913 : uchar instr_idx;
4914 : fd_instr_error_enum_t error;
4915 : };
4916 : typedef struct fd_txn_instr_error fd_txn_instr_error_t;
4917 0 : #define FD_TXN_INSTR_ERROR_FOOTPRINT sizeof(fd_txn_instr_error_t)
4918 0 : #define FD_TXN_INSTR_ERROR_ALIGN (8UL)
4919 :
4920 : struct __attribute__((aligned(8UL))) fd_txn_instr_error_off {
4921 : uint instr_idx_off;
4922 : uint error_off;
4923 : };
4924 : typedef struct fd_txn_instr_error_off fd_txn_instr_error_off_t;
4925 : #define FD_TXN_INSTR_ERROR_OFF_FOOTPRINT sizeof(fd_txn_instr_error_off_t)
4926 : #define FD_TXN_INSTR_ERROR_OFF_ALIGN (8UL)
4927 :
4928 : union fd_txn_error_enum_inner {
4929 : fd_txn_instr_error_t instruction_error;
4930 : uchar duplicate_instruction;
4931 : uchar insufficient_funds_for_rent;
4932 : uchar program_execution_temporarily_restricted;
4933 : };
4934 : typedef union fd_txn_error_enum_inner fd_txn_error_enum_inner_t;
4935 :
4936 : struct fd_txn_error_enum {
4937 : uint discriminant;
4938 : fd_txn_error_enum_inner_t inner;
4939 : };
4940 : typedef struct fd_txn_error_enum fd_txn_error_enum_t;
4941 0 : #define FD_TXN_ERROR_ENUM_FOOTPRINT sizeof(fd_txn_error_enum_t)
4942 0 : #define FD_TXN_ERROR_ENUM_ALIGN (8UL)
4943 :
4944 : union fd_txn_result_inner {
4945 : fd_txn_error_enum_t error;
4946 : };
4947 : typedef union fd_txn_result_inner fd_txn_result_inner_t;
4948 :
4949 : struct fd_txn_result {
4950 : uint discriminant;
4951 : fd_txn_result_inner_t inner;
4952 : };
4953 : typedef struct fd_txn_result fd_txn_result_t;
4954 0 : #define FD_TXN_RESULT_FOOTPRINT sizeof(fd_txn_result_t)
4955 0 : #define FD_TXN_RESULT_ALIGN (8UL)
4956 :
4957 : /* Encoded Size: Dynamic */
4958 : struct __attribute__((aligned(8UL))) fd_cache_status {
4959 : uchar key_slice[20];
4960 : fd_txn_result_t result;
4961 : };
4962 : typedef struct fd_cache_status fd_cache_status_t;
4963 6 : #define FD_CACHE_STATUS_FOOTPRINT sizeof(fd_cache_status_t)
4964 6 : #define FD_CACHE_STATUS_ALIGN (8UL)
4965 :
4966 : struct __attribute__((aligned(8UL))) fd_cache_status_off {
4967 : uint key_slice_off;
4968 : uint result_off;
4969 : };
4970 : typedef struct fd_cache_status_off fd_cache_status_off_t;
4971 : #define FD_CACHE_STATUS_OFF_FOOTPRINT sizeof(fd_cache_status_off_t)
4972 : #define FD_CACHE_STATUS_OFF_ALIGN (8UL)
4973 :
4974 : /* Encoded Size: Dynamic */
4975 : struct __attribute__((aligned(8UL))) fd_status_value {
4976 : ulong txn_idx;
4977 : ulong statuses_len;
4978 : fd_cache_status_t * statuses;
4979 : };
4980 : typedef struct fd_status_value fd_status_value_t;
4981 0 : #define FD_STATUS_VALUE_FOOTPRINT sizeof(fd_status_value_t)
4982 0 : #define FD_STATUS_VALUE_ALIGN (8UL)
4983 :
4984 : struct __attribute__((aligned(8UL))) fd_status_value_off {
4985 : uint txn_idx_off;
4986 : uint statuses_off;
4987 : };
4988 : typedef struct fd_status_value_off fd_status_value_off_t;
4989 : #define FD_STATUS_VALUE_OFF_FOOTPRINT sizeof(fd_status_value_off_t)
4990 : #define FD_STATUS_VALUE_OFF_ALIGN (8UL)
4991 :
4992 : /* Encoded Size: Dynamic */
4993 : struct __attribute__((aligned(8UL))) fd_status_pair {
4994 : fd_hash_t hash;
4995 : fd_status_value_t value;
4996 : };
4997 : typedef struct fd_status_pair fd_status_pair_t;
4998 6 : #define FD_STATUS_PAIR_FOOTPRINT sizeof(fd_status_pair_t)
4999 6 : #define FD_STATUS_PAIR_ALIGN (8UL)
5000 :
5001 : struct __attribute__((aligned(8UL))) fd_status_pair_off {
5002 : uint hash_off;
5003 : uint value_off;
5004 : };
5005 : typedef struct fd_status_pair_off fd_status_pair_off_t;
5006 : #define FD_STATUS_PAIR_OFF_FOOTPRINT sizeof(fd_status_pair_off_t)
5007 : #define FD_STATUS_PAIR_OFF_ALIGN (8UL)
5008 :
5009 : /* Encoded Size: Dynamic */
5010 : struct __attribute__((aligned(8UL))) fd_slot_delta {
5011 : ulong slot;
5012 : uchar is_root;
5013 : ulong slot_delta_vec_len;
5014 : fd_status_pair_t * slot_delta_vec;
5015 : };
5016 : typedef struct fd_slot_delta fd_slot_delta_t;
5017 6 : #define FD_SLOT_DELTA_FOOTPRINT sizeof(fd_slot_delta_t)
5018 6 : #define FD_SLOT_DELTA_ALIGN (8UL)
5019 :
5020 : struct __attribute__((aligned(8UL))) fd_slot_delta_off {
5021 : uint slot_off;
5022 : uint is_root_off;
5023 : uint slot_delta_vec_off;
5024 : };
5025 : typedef struct fd_slot_delta_off fd_slot_delta_off_t;
5026 : #define FD_SLOT_DELTA_OFF_FOOTPRINT sizeof(fd_slot_delta_off_t)
5027 : #define FD_SLOT_DELTA_OFF_ALIGN (8UL)
5028 :
5029 : /* Encoded Size: Dynamic */
5030 : struct __attribute__((aligned(8UL))) fd_bank_slot_deltas {
5031 : ulong slot_deltas_len;
5032 : fd_slot_delta_t * slot_deltas;
5033 : };
5034 : typedef struct fd_bank_slot_deltas fd_bank_slot_deltas_t;
5035 0 : #define FD_BANK_SLOT_DELTAS_FOOTPRINT sizeof(fd_bank_slot_deltas_t)
5036 0 : #define FD_BANK_SLOT_DELTAS_ALIGN (8UL)
5037 :
5038 : struct __attribute__((aligned(8UL))) fd_bank_slot_deltas_off {
5039 : uint slot_deltas_off;
5040 : };
5041 : typedef struct fd_bank_slot_deltas_off fd_bank_slot_deltas_off_t;
5042 : #define FD_BANK_SLOT_DELTAS_OFF_FOOTPRINT sizeof(fd_bank_slot_deltas_off_t)
5043 : #define FD_BANK_SLOT_DELTAS_OFF_ALIGN (8UL)
5044 :
5045 : /* https://github.com/anza-xyz/agave/blob/7117ed9653ce19e8b2dea108eff1f3eb6a3378a7/runtime/src/bank/partitioned_epoch_rewards/mod.rs#L85 */
5046 : /* Encoded Size: Fixed (60 bytes) */
5047 : struct __attribute__((aligned(8UL))) fd_pubkey_rewardinfo_pair {
5048 : fd_pubkey_t pubkey;
5049 : fd_reward_info_t reward_info;
5050 : };
5051 : typedef struct fd_pubkey_rewardinfo_pair fd_pubkey_rewardinfo_pair_t;
5052 0 : #define FD_PUBKEY_REWARDINFO_PAIR_FOOTPRINT sizeof(fd_pubkey_rewardinfo_pair_t)
5053 0 : #define FD_PUBKEY_REWARDINFO_PAIR_ALIGN (8UL)
5054 :
5055 : struct __attribute__((aligned(8UL))) fd_pubkey_rewardinfo_pair_off {
5056 : uint pubkey_off;
5057 : uint reward_info_off;
5058 : };
5059 : typedef struct fd_pubkey_rewardinfo_pair_off fd_pubkey_rewardinfo_pair_off_t;
5060 : #define FD_PUBKEY_REWARDINFO_PAIR_OFF_FOOTPRINT sizeof(fd_pubkey_rewardinfo_pair_off_t)
5061 : #define FD_PUBKEY_REWARDINFO_PAIR_OFF_ALIGN (8UL)
5062 :
5063 : /* Encoded Size: Dynamic */
5064 : struct __attribute__((aligned(8UL))) fd_optional_account {
5065 : fd_solana_account_t * account;
5066 : };
5067 : typedef struct fd_optional_account fd_optional_account_t;
5068 0 : #define FD_OPTIONAL_ACCOUNT_FOOTPRINT sizeof(fd_optional_account_t)
5069 0 : #define FD_OPTIONAL_ACCOUNT_ALIGN (8UL)
5070 :
5071 : struct __attribute__((aligned(8UL))) fd_optional_account_off {
5072 : uint account_off;
5073 : };
5074 : typedef struct fd_optional_account_off fd_optional_account_off_t;
5075 : #define FD_OPTIONAL_ACCOUNT_OFF_FOOTPRINT sizeof(fd_optional_account_off_t)
5076 : #define FD_OPTIONAL_ACCOUNT_OFF_ALIGN (8UL)
5077 :
5078 : /* https://github.com/anza-xyz/agave/blob/cbc8320d35358da14d79ebcada4dfb6756ffac79/programs/stake/src/points.rs#L27 */
5079 : /* Encoded Size: Fixed (25 bytes) */
5080 : struct __attribute__((aligned(8UL))) fd_calculated_stake_points {
5081 : uint128 points;
5082 : ulong new_credits_observed;
5083 : uchar force_credits_update_with_skipped_reward;
5084 : };
5085 : typedef struct fd_calculated_stake_points fd_calculated_stake_points_t;
5086 0 : #define FD_CALCULATED_STAKE_POINTS_FOOTPRINT sizeof(fd_calculated_stake_points_t)
5087 0 : #define FD_CALCULATED_STAKE_POINTS_ALIGN (8UL)
5088 :
5089 : struct __attribute__((aligned(8UL))) fd_calculated_stake_points_off {
5090 : uint points_off;
5091 : uint new_credits_observed_off;
5092 : uint force_credits_update_with_skipped_reward_off;
5093 : };
5094 : typedef struct fd_calculated_stake_points_off fd_calculated_stake_points_off_t;
5095 : #define FD_CALCULATED_STAKE_POINTS_OFF_FOOTPRINT sizeof(fd_calculated_stake_points_off_t)
5096 : #define FD_CALCULATED_STAKE_POINTS_OFF_ALIGN (8UL)
5097 :
5098 : /* https://github.com/anza-xyz/agave/blob/cbc8320d35358da14d79ebcada4dfb6756ffac79/programs/stake/src/rewards.rs#L24 */
5099 : /* Encoded Size: Fixed (24 bytes) */
5100 : struct __attribute__((aligned(8UL))) fd_calculated_stake_rewards {
5101 : ulong staker_rewards;
5102 : ulong voter_rewards;
5103 : ulong new_credits_observed;
5104 : };
5105 : typedef struct fd_calculated_stake_rewards fd_calculated_stake_rewards_t;
5106 0 : #define FD_CALCULATED_STAKE_REWARDS_FOOTPRINT sizeof(fd_calculated_stake_rewards_t)
5107 0 : #define FD_CALCULATED_STAKE_REWARDS_ALIGN (8UL)
5108 :
5109 : struct __attribute__((aligned(8UL))) fd_calculated_stake_rewards_off {
5110 : uint staker_rewards_off;
5111 : uint voter_rewards_off;
5112 : uint new_credits_observed_off;
5113 : };
5114 : typedef struct fd_calculated_stake_rewards_off fd_calculated_stake_rewards_off_t;
5115 : #define FD_CALCULATED_STAKE_REWARDS_OFF_FOOTPRINT sizeof(fd_calculated_stake_rewards_off_t)
5116 : #define FD_CALCULATED_STAKE_REWARDS_OFF_ALIGN (8UL)
5117 :
5118 : /* https://github.com/anza-xyz/agave/blob/v2.0.3/ledger/src/blockstore_meta.rs#L150-L156 */
5119 : /* Encoded Size: Dynamic */
5120 : struct __attribute__((aligned(8UL))) fd_duplicate_slot_proof {
5121 : ulong shred1_len;
5122 : uchar* shred1;
5123 : ulong shred2_len;
5124 : uchar* shred2;
5125 : };
5126 : typedef struct fd_duplicate_slot_proof fd_duplicate_slot_proof_t;
5127 0 : #define FD_DUPLICATE_SLOT_PROOF_FOOTPRINT sizeof(fd_duplicate_slot_proof_t)
5128 0 : #define FD_DUPLICATE_SLOT_PROOF_ALIGN (8UL)
5129 :
5130 : struct __attribute__((aligned(8UL))) fd_duplicate_slot_proof_off {
5131 : uint shred1_off;
5132 : uint shred2_off;
5133 : };
5134 : typedef struct fd_duplicate_slot_proof_off fd_duplicate_slot_proof_off_t;
5135 : #define FD_DUPLICATE_SLOT_PROOF_OFF_FOOTPRINT sizeof(fd_duplicate_slot_proof_off_t)
5136 : #define FD_DUPLICATE_SLOT_PROOF_OFF_ALIGN (8UL)
5137 :
5138 :
5139 : FD_PROTOTYPES_BEGIN
5140 :
5141 : void fd_hash_new( fd_hash_t * self );
5142 : int fd_hash_decode( fd_hash_t * self, fd_bincode_decode_ctx_t * ctx );
5143 : int fd_hash_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5144 : void fd_hash_decode_unsafe( fd_hash_t * self, fd_bincode_decode_ctx_t * ctx );
5145 : int fd_hash_encode( fd_hash_t const * self, fd_bincode_encode_ctx_t * ctx );
5146 : void fd_hash_destroy( fd_hash_t * self, fd_bincode_destroy_ctx_t * ctx );
5147 : void fd_hash_walk( void * w, fd_hash_t const * self, fd_types_walk_fn_t fun, const char * name, uint level );
5148 : ulong fd_hash_size( fd_hash_t const * self );
5149 : ulong fd_hash_footprint( void );
5150 : ulong fd_hash_align( void );
5151 :
5152 : void fd_signature_new( fd_signature_t * self );
5153 : int fd_signature_decode( fd_signature_t * self, fd_bincode_decode_ctx_t * ctx );
5154 : int fd_signature_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5155 : void fd_signature_decode_unsafe( fd_signature_t * self, fd_bincode_decode_ctx_t * ctx );
5156 : int fd_signature_encode( fd_signature_t const * self, fd_bincode_encode_ctx_t * ctx );
5157 : void fd_signature_destroy( fd_signature_t * self, fd_bincode_destroy_ctx_t * ctx );
5158 : void fd_signature_walk( void * w, fd_signature_t const * self, fd_types_walk_fn_t fun, const char * name, uint level );
5159 : ulong fd_signature_size( fd_signature_t const * self );
5160 : ulong fd_signature_footprint( void );
5161 : ulong fd_signature_align( void );
5162 :
5163 : void fd_gossip_ip4_addr_new( fd_gossip_ip4_addr_t * self );
5164 : int fd_gossip_ip4_addr_decode( fd_gossip_ip4_addr_t * self, fd_bincode_decode_ctx_t * ctx );
5165 : int fd_gossip_ip4_addr_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5166 : void fd_gossip_ip4_addr_decode_unsafe( fd_gossip_ip4_addr_t * self, fd_bincode_decode_ctx_t * ctx );
5167 : int fd_gossip_ip4_addr_encode( fd_gossip_ip4_addr_t const * self, fd_bincode_encode_ctx_t * ctx );
5168 : void fd_gossip_ip4_addr_destroy( fd_gossip_ip4_addr_t * self, fd_bincode_destroy_ctx_t * ctx );
5169 : void fd_gossip_ip4_addr_walk( void * w, fd_gossip_ip4_addr_t const * self, fd_types_walk_fn_t fun, const char * name, uint level );
5170 : ulong fd_gossip_ip4_addr_size( fd_gossip_ip4_addr_t const * self );
5171 : ulong fd_gossip_ip4_addr_footprint( void );
5172 : ulong fd_gossip_ip4_addr_align( void );
5173 :
5174 : void fd_gossip_ip6_addr_new( fd_gossip_ip6_addr_t * self );
5175 : int fd_gossip_ip6_addr_decode( fd_gossip_ip6_addr_t * self, fd_bincode_decode_ctx_t * ctx );
5176 : int fd_gossip_ip6_addr_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5177 : void fd_gossip_ip6_addr_decode_unsafe( fd_gossip_ip6_addr_t * self, fd_bincode_decode_ctx_t * ctx );
5178 : int fd_gossip_ip6_addr_encode( fd_gossip_ip6_addr_t const * self, fd_bincode_encode_ctx_t * ctx );
5179 : void fd_gossip_ip6_addr_destroy( fd_gossip_ip6_addr_t * self, fd_bincode_destroy_ctx_t * ctx );
5180 : void fd_gossip_ip6_addr_walk( void * w, fd_gossip_ip6_addr_t const * self, fd_types_walk_fn_t fun, const char * name, uint level );
5181 : ulong fd_gossip_ip6_addr_size( fd_gossip_ip6_addr_t const * self );
5182 : ulong fd_gossip_ip6_addr_footprint( void );
5183 : ulong fd_gossip_ip6_addr_align( void );
5184 :
5185 : void fd_feature_new( fd_feature_t * self );
5186 : int fd_feature_decode( fd_feature_t * self, fd_bincode_decode_ctx_t * ctx );
5187 : int fd_feature_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5188 : void fd_feature_decode_unsafe( fd_feature_t * self, fd_bincode_decode_ctx_t * ctx );
5189 : int fd_feature_decode_offsets( fd_feature_off_t * self, fd_bincode_decode_ctx_t * ctx );
5190 : int fd_feature_encode( fd_feature_t const * self, fd_bincode_encode_ctx_t * ctx );
5191 : void fd_feature_destroy( fd_feature_t * self, fd_bincode_destroy_ctx_t * ctx );
5192 : void fd_feature_walk( void * w, fd_feature_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5193 : ulong fd_feature_size( fd_feature_t const * self );
5194 : ulong fd_feature_footprint( void );
5195 : ulong fd_feature_align( void );
5196 :
5197 : void fd_fee_calculator_new( fd_fee_calculator_t * self );
5198 : int fd_fee_calculator_decode( fd_fee_calculator_t * self, fd_bincode_decode_ctx_t * ctx );
5199 : int fd_fee_calculator_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5200 : void fd_fee_calculator_decode_unsafe( fd_fee_calculator_t * self, fd_bincode_decode_ctx_t * ctx );
5201 : int fd_fee_calculator_decode_offsets( fd_fee_calculator_off_t * self, fd_bincode_decode_ctx_t * ctx );
5202 : int fd_fee_calculator_encode( fd_fee_calculator_t const * self, fd_bincode_encode_ctx_t * ctx );
5203 : void fd_fee_calculator_destroy( fd_fee_calculator_t * self, fd_bincode_destroy_ctx_t * ctx );
5204 : void fd_fee_calculator_walk( void * w, fd_fee_calculator_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5205 : ulong fd_fee_calculator_size( fd_fee_calculator_t const * self );
5206 : ulong fd_fee_calculator_footprint( void );
5207 : ulong fd_fee_calculator_align( void );
5208 : int fd_fee_calculator_decode_archival( fd_fee_calculator_t * self, fd_bincode_decode_ctx_t * ctx );
5209 : int fd_fee_calculator_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5210 : void fd_fee_calculator_decode_archival_unsafe( fd_fee_calculator_t * self, fd_bincode_decode_ctx_t * ctx );
5211 : int fd_fee_calculator_encode_archival( fd_fee_calculator_t const * self, fd_bincode_encode_ctx_t * ctx );
5212 :
5213 : void fd_hash_age_new( fd_hash_age_t * self );
5214 : int fd_hash_age_decode( fd_hash_age_t * self, fd_bincode_decode_ctx_t * ctx );
5215 : int fd_hash_age_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5216 : void fd_hash_age_decode_unsafe( fd_hash_age_t * self, fd_bincode_decode_ctx_t * ctx );
5217 : int fd_hash_age_decode_offsets( fd_hash_age_off_t * self, fd_bincode_decode_ctx_t * ctx );
5218 : int fd_hash_age_encode( fd_hash_age_t const * self, fd_bincode_encode_ctx_t * ctx );
5219 : void fd_hash_age_destroy( fd_hash_age_t * self, fd_bincode_destroy_ctx_t * ctx );
5220 : void fd_hash_age_walk( void * w, fd_hash_age_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5221 : ulong fd_hash_age_size( fd_hash_age_t const * self );
5222 : ulong fd_hash_age_footprint( void );
5223 : ulong fd_hash_age_align( void );
5224 : int fd_hash_age_decode_archival( fd_hash_age_t * self, fd_bincode_decode_ctx_t * ctx );
5225 : int fd_hash_age_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5226 : void fd_hash_age_decode_archival_unsafe( fd_hash_age_t * self, fd_bincode_decode_ctx_t * ctx );
5227 : int fd_hash_age_encode_archival( fd_hash_age_t const * self, fd_bincode_encode_ctx_t * ctx );
5228 :
5229 : void fd_hash_hash_age_pair_new( fd_hash_hash_age_pair_t * self );
5230 : int fd_hash_hash_age_pair_decode( fd_hash_hash_age_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5231 : int fd_hash_hash_age_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5232 : void fd_hash_hash_age_pair_decode_unsafe( fd_hash_hash_age_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5233 : int fd_hash_hash_age_pair_decode_offsets( fd_hash_hash_age_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
5234 : int fd_hash_hash_age_pair_encode( fd_hash_hash_age_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5235 : void fd_hash_hash_age_pair_destroy( fd_hash_hash_age_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
5236 : void fd_hash_hash_age_pair_walk( void * w, fd_hash_hash_age_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5237 : ulong fd_hash_hash_age_pair_size( fd_hash_hash_age_pair_t const * self );
5238 : ulong fd_hash_hash_age_pair_footprint( void );
5239 : ulong fd_hash_hash_age_pair_align( void );
5240 : int fd_hash_hash_age_pair_decode_archival( fd_hash_hash_age_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5241 : int fd_hash_hash_age_pair_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5242 : void fd_hash_hash_age_pair_decode_archival_unsafe( fd_hash_hash_age_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5243 : int fd_hash_hash_age_pair_encode_archival( fd_hash_hash_age_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5244 :
5245 : void fd_block_hash_vec_new( fd_block_hash_vec_t * self );
5246 : int fd_block_hash_vec_decode( fd_block_hash_vec_t * self, fd_bincode_decode_ctx_t * ctx );
5247 : int fd_block_hash_vec_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5248 : void fd_block_hash_vec_decode_unsafe( fd_block_hash_vec_t * self, fd_bincode_decode_ctx_t * ctx );
5249 : int fd_block_hash_vec_decode_offsets( fd_block_hash_vec_off_t * self, fd_bincode_decode_ctx_t * ctx );
5250 : int fd_block_hash_vec_encode( fd_block_hash_vec_t const * self, fd_bincode_encode_ctx_t * ctx );
5251 : void fd_block_hash_vec_destroy( fd_block_hash_vec_t * self, fd_bincode_destroy_ctx_t * ctx );
5252 : void fd_block_hash_vec_walk( void * w, fd_block_hash_vec_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5253 : ulong fd_block_hash_vec_size( fd_block_hash_vec_t const * self );
5254 : ulong fd_block_hash_vec_footprint( void );
5255 : ulong fd_block_hash_vec_align( void );
5256 :
5257 : void fd_block_hash_queue_new( fd_block_hash_queue_t * self );
5258 : int fd_block_hash_queue_decode( fd_block_hash_queue_t * self, fd_bincode_decode_ctx_t * ctx );
5259 : int fd_block_hash_queue_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5260 : void fd_block_hash_queue_decode_unsafe( fd_block_hash_queue_t * self, fd_bincode_decode_ctx_t * ctx );
5261 : int fd_block_hash_queue_decode_offsets( fd_block_hash_queue_off_t * self, fd_bincode_decode_ctx_t * ctx );
5262 : int fd_block_hash_queue_encode( fd_block_hash_queue_t const * self, fd_bincode_encode_ctx_t * ctx );
5263 : void fd_block_hash_queue_destroy( fd_block_hash_queue_t * self, fd_bincode_destroy_ctx_t * ctx );
5264 : void fd_block_hash_queue_walk( void * w, fd_block_hash_queue_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5265 : ulong fd_block_hash_queue_size( fd_block_hash_queue_t const * self );
5266 : ulong fd_block_hash_queue_footprint( void );
5267 : ulong fd_block_hash_queue_align( void );
5268 : int fd_block_hash_queue_decode_archival( fd_block_hash_queue_t * self, fd_bincode_decode_ctx_t * ctx );
5269 : int fd_block_hash_queue_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5270 : void fd_block_hash_queue_decode_archival_unsafe( fd_block_hash_queue_t * self, fd_bincode_decode_ctx_t * ctx );
5271 : int fd_block_hash_queue_encode_archival( fd_block_hash_queue_t const * self, fd_bincode_encode_ctx_t * ctx );
5272 :
5273 : void fd_fee_rate_governor_new( fd_fee_rate_governor_t * self );
5274 : int fd_fee_rate_governor_decode( fd_fee_rate_governor_t * self, fd_bincode_decode_ctx_t * ctx );
5275 : int fd_fee_rate_governor_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5276 : void fd_fee_rate_governor_decode_unsafe( fd_fee_rate_governor_t * self, fd_bincode_decode_ctx_t * ctx );
5277 : int fd_fee_rate_governor_decode_offsets( fd_fee_rate_governor_off_t * self, fd_bincode_decode_ctx_t * ctx );
5278 : int fd_fee_rate_governor_encode( fd_fee_rate_governor_t const * self, fd_bincode_encode_ctx_t * ctx );
5279 : void fd_fee_rate_governor_destroy( fd_fee_rate_governor_t * self, fd_bincode_destroy_ctx_t * ctx );
5280 : void fd_fee_rate_governor_walk( void * w, fd_fee_rate_governor_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5281 : ulong fd_fee_rate_governor_size( fd_fee_rate_governor_t const * self );
5282 : ulong fd_fee_rate_governor_footprint( void );
5283 : ulong fd_fee_rate_governor_align( void );
5284 : int fd_fee_rate_governor_decode_archival( fd_fee_rate_governor_t * self, fd_bincode_decode_ctx_t * ctx );
5285 : int fd_fee_rate_governor_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5286 : void fd_fee_rate_governor_decode_archival_unsafe( fd_fee_rate_governor_t * self, fd_bincode_decode_ctx_t * ctx );
5287 : int fd_fee_rate_governor_encode_archival( fd_fee_rate_governor_t const * self, fd_bincode_encode_ctx_t * ctx );
5288 :
5289 : void fd_slot_pair_new( fd_slot_pair_t * self );
5290 : int fd_slot_pair_decode( fd_slot_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5291 : int fd_slot_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5292 : void fd_slot_pair_decode_unsafe( fd_slot_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5293 : int fd_slot_pair_decode_offsets( fd_slot_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
5294 : int fd_slot_pair_encode( fd_slot_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5295 : void fd_slot_pair_destroy( fd_slot_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
5296 : void fd_slot_pair_walk( void * w, fd_slot_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5297 : ulong fd_slot_pair_size( fd_slot_pair_t const * self );
5298 : ulong fd_slot_pair_footprint( void );
5299 : ulong fd_slot_pair_align( void );
5300 : int fd_slot_pair_decode_archival( fd_slot_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5301 : int fd_slot_pair_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5302 : void fd_slot_pair_decode_archival_unsafe( fd_slot_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5303 : int fd_slot_pair_encode_archival( fd_slot_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5304 :
5305 : void fd_hard_forks_new( fd_hard_forks_t * self );
5306 : int fd_hard_forks_decode( fd_hard_forks_t * self, fd_bincode_decode_ctx_t * ctx );
5307 : int fd_hard_forks_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5308 : void fd_hard_forks_decode_unsafe( fd_hard_forks_t * self, fd_bincode_decode_ctx_t * ctx );
5309 : int fd_hard_forks_decode_offsets( fd_hard_forks_off_t * self, fd_bincode_decode_ctx_t * ctx );
5310 : int fd_hard_forks_encode( fd_hard_forks_t const * self, fd_bincode_encode_ctx_t * ctx );
5311 : void fd_hard_forks_destroy( fd_hard_forks_t * self, fd_bincode_destroy_ctx_t * ctx );
5312 : void fd_hard_forks_walk( void * w, fd_hard_forks_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5313 : ulong fd_hard_forks_size( fd_hard_forks_t const * self );
5314 : ulong fd_hard_forks_footprint( void );
5315 : ulong fd_hard_forks_align( void );
5316 : int fd_hard_forks_decode_archival( fd_hard_forks_t * self, fd_bincode_decode_ctx_t * ctx );
5317 : int fd_hard_forks_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5318 : void fd_hard_forks_decode_archival_unsafe( fd_hard_forks_t * self, fd_bincode_decode_ctx_t * ctx );
5319 : int fd_hard_forks_encode_archival( fd_hard_forks_t const * self, fd_bincode_encode_ctx_t * ctx );
5320 :
5321 : void fd_inflation_new( fd_inflation_t * self );
5322 : int fd_inflation_decode( fd_inflation_t * self, fd_bincode_decode_ctx_t * ctx );
5323 : int fd_inflation_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5324 : void fd_inflation_decode_unsafe( fd_inflation_t * self, fd_bincode_decode_ctx_t * ctx );
5325 : int fd_inflation_decode_offsets( fd_inflation_off_t * self, fd_bincode_decode_ctx_t * ctx );
5326 : int fd_inflation_encode( fd_inflation_t const * self, fd_bincode_encode_ctx_t * ctx );
5327 : void fd_inflation_destroy( fd_inflation_t * self, fd_bincode_destroy_ctx_t * ctx );
5328 : void fd_inflation_walk( void * w, fd_inflation_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5329 : ulong fd_inflation_size( fd_inflation_t const * self );
5330 : ulong fd_inflation_footprint( void );
5331 : ulong fd_inflation_align( void );
5332 : int fd_inflation_decode_archival( fd_inflation_t * self, fd_bincode_decode_ctx_t * ctx );
5333 : int fd_inflation_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5334 : void fd_inflation_decode_archival_unsafe( fd_inflation_t * self, fd_bincode_decode_ctx_t * ctx );
5335 : int fd_inflation_encode_archival( fd_inflation_t const * self, fd_bincode_encode_ctx_t * ctx );
5336 :
5337 : void fd_rent_new( fd_rent_t * self );
5338 : int fd_rent_decode( fd_rent_t * self, fd_bincode_decode_ctx_t * ctx );
5339 : int fd_rent_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5340 : void fd_rent_decode_unsafe( fd_rent_t * self, fd_bincode_decode_ctx_t * ctx );
5341 : int fd_rent_decode_offsets( fd_rent_off_t * self, fd_bincode_decode_ctx_t * ctx );
5342 : int fd_rent_encode( fd_rent_t const * self, fd_bincode_encode_ctx_t * ctx );
5343 : void fd_rent_destroy( fd_rent_t * self, fd_bincode_destroy_ctx_t * ctx );
5344 : void fd_rent_walk( void * w, fd_rent_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5345 : ulong fd_rent_size( fd_rent_t const * self );
5346 : ulong fd_rent_footprint( void );
5347 : ulong fd_rent_align( void );
5348 : int fd_rent_decode_archival( fd_rent_t * self, fd_bincode_decode_ctx_t * ctx );
5349 : int fd_rent_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5350 : void fd_rent_decode_archival_unsafe( fd_rent_t * self, fd_bincode_decode_ctx_t * ctx );
5351 : int fd_rent_encode_archival( fd_rent_t const * self, fd_bincode_encode_ctx_t * ctx );
5352 :
5353 : void fd_epoch_schedule_new( fd_epoch_schedule_t * self );
5354 : int fd_epoch_schedule_decode( fd_epoch_schedule_t * self, fd_bincode_decode_ctx_t * ctx );
5355 : int fd_epoch_schedule_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5356 : void fd_epoch_schedule_decode_unsafe( fd_epoch_schedule_t * self, fd_bincode_decode_ctx_t * ctx );
5357 : int fd_epoch_schedule_decode_offsets( fd_epoch_schedule_off_t * self, fd_bincode_decode_ctx_t * ctx );
5358 : int fd_epoch_schedule_encode( fd_epoch_schedule_t const * self, fd_bincode_encode_ctx_t * ctx );
5359 : void fd_epoch_schedule_destroy( fd_epoch_schedule_t * self, fd_bincode_destroy_ctx_t * ctx );
5360 : void fd_epoch_schedule_walk( void * w, fd_epoch_schedule_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5361 : ulong fd_epoch_schedule_size( fd_epoch_schedule_t const * self );
5362 : ulong fd_epoch_schedule_footprint( void );
5363 : ulong fd_epoch_schedule_align( void );
5364 : int fd_epoch_schedule_decode_archival( fd_epoch_schedule_t * self, fd_bincode_decode_ctx_t * ctx );
5365 : int fd_epoch_schedule_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5366 : void fd_epoch_schedule_decode_archival_unsafe( fd_epoch_schedule_t * self, fd_bincode_decode_ctx_t * ctx );
5367 : int fd_epoch_schedule_encode_archival( fd_epoch_schedule_t const * self, fd_bincode_encode_ctx_t * ctx );
5368 :
5369 : void fd_rent_collector_new( fd_rent_collector_t * self );
5370 : int fd_rent_collector_decode( fd_rent_collector_t * self, fd_bincode_decode_ctx_t * ctx );
5371 : int fd_rent_collector_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5372 : void fd_rent_collector_decode_unsafe( fd_rent_collector_t * self, fd_bincode_decode_ctx_t * ctx );
5373 : int fd_rent_collector_decode_offsets( fd_rent_collector_off_t * self, fd_bincode_decode_ctx_t * ctx );
5374 : int fd_rent_collector_encode( fd_rent_collector_t const * self, fd_bincode_encode_ctx_t * ctx );
5375 : void fd_rent_collector_destroy( fd_rent_collector_t * self, fd_bincode_destroy_ctx_t * ctx );
5376 : void fd_rent_collector_walk( void * w, fd_rent_collector_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5377 : ulong fd_rent_collector_size( fd_rent_collector_t const * self );
5378 : ulong fd_rent_collector_footprint( void );
5379 : ulong fd_rent_collector_align( void );
5380 :
5381 : void fd_stake_history_entry_new( fd_stake_history_entry_t * self );
5382 : int fd_stake_history_entry_decode( fd_stake_history_entry_t * self, fd_bincode_decode_ctx_t * ctx );
5383 : int fd_stake_history_entry_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5384 : void fd_stake_history_entry_decode_unsafe( fd_stake_history_entry_t * self, fd_bincode_decode_ctx_t * ctx );
5385 : int fd_stake_history_entry_decode_offsets( fd_stake_history_entry_off_t * self, fd_bincode_decode_ctx_t * ctx );
5386 : int fd_stake_history_entry_encode( fd_stake_history_entry_t const * self, fd_bincode_encode_ctx_t * ctx );
5387 : void fd_stake_history_entry_destroy( fd_stake_history_entry_t * self, fd_bincode_destroy_ctx_t * ctx );
5388 : void fd_stake_history_entry_walk( void * w, fd_stake_history_entry_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5389 : ulong fd_stake_history_entry_size( fd_stake_history_entry_t const * self );
5390 : ulong fd_stake_history_entry_footprint( void );
5391 : ulong fd_stake_history_entry_align( void );
5392 : int fd_stake_history_entry_decode_archival( fd_stake_history_entry_t * self, fd_bincode_decode_ctx_t * ctx );
5393 : int fd_stake_history_entry_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5394 : void fd_stake_history_entry_decode_archival_unsafe( fd_stake_history_entry_t * self, fd_bincode_decode_ctx_t * ctx );
5395 : int fd_stake_history_entry_encode_archival( fd_stake_history_entry_t const * self, fd_bincode_encode_ctx_t * ctx );
5396 :
5397 : void fd_stake_history_new( fd_stake_history_t * self );
5398 : int fd_stake_history_decode( fd_stake_history_t * self, fd_bincode_decode_ctx_t * ctx );
5399 : int fd_stake_history_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5400 : void fd_stake_history_decode_unsafe( fd_stake_history_t * self, fd_bincode_decode_ctx_t * ctx );
5401 : int fd_stake_history_decode_offsets( fd_stake_history_off_t * self, fd_bincode_decode_ctx_t * ctx );
5402 : int fd_stake_history_encode( fd_stake_history_t const * self, fd_bincode_encode_ctx_t * ctx );
5403 : void fd_stake_history_destroy( fd_stake_history_t * self, fd_bincode_destroy_ctx_t * ctx );
5404 : void fd_stake_history_walk( void * w, fd_stake_history_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5405 : ulong fd_stake_history_size( fd_stake_history_t const * self );
5406 : ulong fd_stake_history_footprint( void );
5407 : ulong fd_stake_history_align( void );
5408 : int fd_stake_history_decode_archival( fd_stake_history_t * self, fd_bincode_decode_ctx_t * ctx );
5409 : int fd_stake_history_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5410 : void fd_stake_history_decode_archival_unsafe( fd_stake_history_t * self, fd_bincode_decode_ctx_t * ctx );
5411 : int fd_stake_history_encode_archival( fd_stake_history_t const * self, fd_bincode_encode_ctx_t * ctx );
5412 :
5413 : void fd_solana_account_new( fd_solana_account_t * self );
5414 : int fd_solana_account_decode( fd_solana_account_t * self, fd_bincode_decode_ctx_t * ctx );
5415 : int fd_solana_account_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5416 : void fd_solana_account_decode_unsafe( fd_solana_account_t * self, fd_bincode_decode_ctx_t * ctx );
5417 : int fd_solana_account_decode_offsets( fd_solana_account_off_t * self, fd_bincode_decode_ctx_t * ctx );
5418 : int fd_solana_account_encode( fd_solana_account_t const * self, fd_bincode_encode_ctx_t * ctx );
5419 : void fd_solana_account_destroy( fd_solana_account_t * self, fd_bincode_destroy_ctx_t * ctx );
5420 : void fd_solana_account_walk( void * w, fd_solana_account_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5421 : ulong fd_solana_account_size( fd_solana_account_t const * self );
5422 : ulong fd_solana_account_footprint( void );
5423 : ulong fd_solana_account_align( void );
5424 :
5425 : void fd_vote_accounts_pair_new( fd_vote_accounts_pair_t * self );
5426 : int fd_vote_accounts_pair_decode( fd_vote_accounts_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5427 : int fd_vote_accounts_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5428 : void fd_vote_accounts_pair_decode_unsafe( fd_vote_accounts_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5429 : int fd_vote_accounts_pair_decode_offsets( fd_vote_accounts_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
5430 : int fd_vote_accounts_pair_encode( fd_vote_accounts_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5431 : void fd_vote_accounts_pair_destroy( fd_vote_accounts_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
5432 : void fd_vote_accounts_pair_walk( void * w, fd_vote_accounts_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5433 : ulong fd_vote_accounts_pair_size( fd_vote_accounts_pair_t const * self );
5434 : ulong fd_vote_accounts_pair_footprint( void );
5435 : ulong fd_vote_accounts_pair_align( void );
5436 : int fd_vote_accounts_pair_decode_archival( fd_vote_accounts_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5437 : int fd_vote_accounts_pair_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5438 : void fd_vote_accounts_pair_decode_archival_unsafe( fd_vote_accounts_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5439 : int fd_vote_accounts_pair_encode_archival( fd_vote_accounts_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5440 :
5441 : void fd_vote_accounts_pair_serializable_new( fd_vote_accounts_pair_serializable_t * self );
5442 : int fd_vote_accounts_pair_serializable_decode( fd_vote_accounts_pair_serializable_t * self, fd_bincode_decode_ctx_t * ctx );
5443 : int fd_vote_accounts_pair_serializable_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5444 : void fd_vote_accounts_pair_serializable_decode_unsafe( fd_vote_accounts_pair_serializable_t * self, fd_bincode_decode_ctx_t * ctx );
5445 : int fd_vote_accounts_pair_serializable_decode_offsets( fd_vote_accounts_pair_serializable_off_t * self, fd_bincode_decode_ctx_t * ctx );
5446 : int fd_vote_accounts_pair_serializable_encode( fd_vote_accounts_pair_serializable_t const * self, fd_bincode_encode_ctx_t * ctx );
5447 : void fd_vote_accounts_pair_serializable_destroy( fd_vote_accounts_pair_serializable_t * self, fd_bincode_destroy_ctx_t * ctx );
5448 : void fd_vote_accounts_pair_serializable_walk( void * w, fd_vote_accounts_pair_serializable_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5449 : ulong fd_vote_accounts_pair_serializable_size( fd_vote_accounts_pair_serializable_t const * self );
5450 : ulong fd_vote_accounts_pair_serializable_footprint( void );
5451 : ulong fd_vote_accounts_pair_serializable_align( void );
5452 :
5453 : void fd_vote_accounts_serializable_new( fd_vote_accounts_serializable_t * self );
5454 : int fd_vote_accounts_serializable_decode( fd_vote_accounts_serializable_t * self, fd_bincode_decode_ctx_t * ctx );
5455 : int fd_vote_accounts_serializable_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5456 : void fd_vote_accounts_serializable_decode_unsafe( fd_vote_accounts_serializable_t * self, fd_bincode_decode_ctx_t * ctx );
5457 : int fd_vote_accounts_serializable_decode_offsets( fd_vote_accounts_serializable_off_t * self, fd_bincode_decode_ctx_t * ctx );
5458 : int fd_vote_accounts_serializable_encode( fd_vote_accounts_serializable_t const * self, fd_bincode_encode_ctx_t * ctx );
5459 : void fd_vote_accounts_serializable_destroy( fd_vote_accounts_serializable_t * self, fd_bincode_destroy_ctx_t * ctx );
5460 : void fd_vote_accounts_serializable_walk( void * w, fd_vote_accounts_serializable_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5461 : ulong fd_vote_accounts_serializable_size( fd_vote_accounts_serializable_t const * self );
5462 : ulong fd_vote_accounts_serializable_footprint( void );
5463 : ulong fd_vote_accounts_serializable_align( void );
5464 :
5465 : void fd_vote_accounts_new( fd_vote_accounts_t * self );
5466 : int fd_vote_accounts_decode( fd_vote_accounts_t * self, fd_bincode_decode_ctx_t * ctx );
5467 : int fd_vote_accounts_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5468 : void fd_vote_accounts_decode_unsafe( fd_vote_accounts_t * self, fd_bincode_decode_ctx_t * ctx );
5469 : int fd_vote_accounts_decode_offsets( fd_vote_accounts_off_t * self, fd_bincode_decode_ctx_t * ctx );
5470 : int fd_vote_accounts_encode( fd_vote_accounts_t const * self, fd_bincode_encode_ctx_t * ctx );
5471 : void fd_vote_accounts_destroy( fd_vote_accounts_t * self, fd_bincode_destroy_ctx_t * ctx );
5472 : void fd_vote_accounts_walk( void * w, fd_vote_accounts_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5473 : ulong fd_vote_accounts_size( fd_vote_accounts_t const * self );
5474 : ulong fd_vote_accounts_footprint( void );
5475 : ulong fd_vote_accounts_align( void );
5476 : int fd_vote_accounts_decode_archival( fd_vote_accounts_t * self, fd_bincode_decode_ctx_t * ctx );
5477 : int fd_vote_accounts_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5478 : void fd_vote_accounts_decode_archival_unsafe( fd_vote_accounts_t * self, fd_bincode_decode_ctx_t * ctx );
5479 : int fd_vote_accounts_encode_archival( fd_vote_accounts_t const * self, fd_bincode_encode_ctx_t * ctx );
5480 :
5481 : void fd_stake_accounts_pair_new( fd_stake_accounts_pair_t * self );
5482 : int fd_stake_accounts_pair_decode( fd_stake_accounts_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5483 : int fd_stake_accounts_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5484 : void fd_stake_accounts_pair_decode_unsafe( fd_stake_accounts_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5485 : int fd_stake_accounts_pair_decode_offsets( fd_stake_accounts_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
5486 : int fd_stake_accounts_pair_encode( fd_stake_accounts_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5487 : void fd_stake_accounts_pair_destroy( fd_stake_accounts_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
5488 : void fd_stake_accounts_pair_walk( void * w, fd_stake_accounts_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5489 : ulong fd_stake_accounts_pair_size( fd_stake_accounts_pair_t const * self );
5490 : ulong fd_stake_accounts_pair_footprint( void );
5491 : ulong fd_stake_accounts_pair_align( void );
5492 : int fd_stake_accounts_pair_decode_archival( fd_stake_accounts_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5493 : int fd_stake_accounts_pair_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5494 : void fd_stake_accounts_pair_decode_archival_unsafe( fd_stake_accounts_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5495 : int fd_stake_accounts_pair_encode_archival( fd_stake_accounts_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5496 :
5497 : void fd_stake_accounts_new( fd_stake_accounts_t * self );
5498 : int fd_stake_accounts_decode( fd_stake_accounts_t * self, fd_bincode_decode_ctx_t * ctx );
5499 : int fd_stake_accounts_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5500 : void fd_stake_accounts_decode_unsafe( fd_stake_accounts_t * self, fd_bincode_decode_ctx_t * ctx );
5501 : int fd_stake_accounts_decode_offsets( fd_stake_accounts_off_t * self, fd_bincode_decode_ctx_t * ctx );
5502 : int fd_stake_accounts_encode( fd_stake_accounts_t const * self, fd_bincode_encode_ctx_t * ctx );
5503 : void fd_stake_accounts_destroy( fd_stake_accounts_t * self, fd_bincode_destroy_ctx_t * ctx );
5504 : void fd_stake_accounts_walk( void * w, fd_stake_accounts_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5505 : ulong fd_stake_accounts_size( fd_stake_accounts_t const * self );
5506 : ulong fd_stake_accounts_footprint( void );
5507 : ulong fd_stake_accounts_align( void );
5508 : int fd_stake_accounts_decode_archival( fd_stake_accounts_t * self, fd_bincode_decode_ctx_t * ctx );
5509 : int fd_stake_accounts_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5510 : void fd_stake_accounts_decode_archival_unsafe( fd_stake_accounts_t * self, fd_bincode_decode_ctx_t * ctx );
5511 : int fd_stake_accounts_encode_archival( fd_stake_accounts_t const * self, fd_bincode_encode_ctx_t * ctx );
5512 :
5513 : void fd_stake_weight_new( fd_stake_weight_t * self );
5514 : int fd_stake_weight_decode( fd_stake_weight_t * self, fd_bincode_decode_ctx_t * ctx );
5515 : int fd_stake_weight_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5516 : void fd_stake_weight_decode_unsafe( fd_stake_weight_t * self, fd_bincode_decode_ctx_t * ctx );
5517 : int fd_stake_weight_decode_offsets( fd_stake_weight_off_t * self, fd_bincode_decode_ctx_t * ctx );
5518 : int fd_stake_weight_encode( fd_stake_weight_t const * self, fd_bincode_encode_ctx_t * ctx );
5519 : void fd_stake_weight_destroy( fd_stake_weight_t * self, fd_bincode_destroy_ctx_t * ctx );
5520 : void fd_stake_weight_walk( void * w, fd_stake_weight_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5521 : ulong fd_stake_weight_size( fd_stake_weight_t const * self );
5522 : ulong fd_stake_weight_footprint( void );
5523 : ulong fd_stake_weight_align( void );
5524 :
5525 : void fd_stake_weights_new( fd_stake_weights_t * self );
5526 : int fd_stake_weights_decode( fd_stake_weights_t * self, fd_bincode_decode_ctx_t * ctx );
5527 : int fd_stake_weights_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5528 : void fd_stake_weights_decode_unsafe( fd_stake_weights_t * self, fd_bincode_decode_ctx_t * ctx );
5529 : int fd_stake_weights_decode_offsets( fd_stake_weights_off_t * self, fd_bincode_decode_ctx_t * ctx );
5530 : int fd_stake_weights_encode( fd_stake_weights_t const * self, fd_bincode_encode_ctx_t * ctx );
5531 : void fd_stake_weights_destroy( fd_stake_weights_t * self, fd_bincode_destroy_ctx_t * ctx );
5532 : void fd_stake_weights_walk( void * w, fd_stake_weights_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5533 : ulong fd_stake_weights_size( fd_stake_weights_t const * self );
5534 : ulong fd_stake_weights_footprint( void );
5535 : ulong fd_stake_weights_align( void );
5536 :
5537 : void fd_delegation_new( fd_delegation_t * self );
5538 : int fd_delegation_decode( fd_delegation_t * self, fd_bincode_decode_ctx_t * ctx );
5539 : int fd_delegation_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5540 : void fd_delegation_decode_unsafe( fd_delegation_t * self, fd_bincode_decode_ctx_t * ctx );
5541 : int fd_delegation_decode_offsets( fd_delegation_off_t * self, fd_bincode_decode_ctx_t * ctx );
5542 : int fd_delegation_encode( fd_delegation_t const * self, fd_bincode_encode_ctx_t * ctx );
5543 : void fd_delegation_destroy( fd_delegation_t * self, fd_bincode_destroy_ctx_t * ctx );
5544 : void fd_delegation_walk( void * w, fd_delegation_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5545 : ulong fd_delegation_size( fd_delegation_t const * self );
5546 : ulong fd_delegation_footprint( void );
5547 : ulong fd_delegation_align( void );
5548 : int fd_delegation_decode_archival( fd_delegation_t * self, fd_bincode_decode_ctx_t * ctx );
5549 : int fd_delegation_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5550 : void fd_delegation_decode_archival_unsafe( fd_delegation_t * self, fd_bincode_decode_ctx_t * ctx );
5551 : int fd_delegation_encode_archival( fd_delegation_t const * self, fd_bincode_encode_ctx_t * ctx );
5552 :
5553 : void fd_delegation_pair_new( fd_delegation_pair_t * self );
5554 : int fd_delegation_pair_decode( fd_delegation_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5555 : int fd_delegation_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5556 : void fd_delegation_pair_decode_unsafe( fd_delegation_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5557 : int fd_delegation_pair_decode_offsets( fd_delegation_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
5558 : int fd_delegation_pair_encode( fd_delegation_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5559 : void fd_delegation_pair_destroy( fd_delegation_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
5560 : void fd_delegation_pair_walk( void * w, fd_delegation_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5561 : ulong fd_delegation_pair_size( fd_delegation_pair_t const * self );
5562 : ulong fd_delegation_pair_footprint( void );
5563 : ulong fd_delegation_pair_align( void );
5564 : int fd_delegation_pair_decode_archival( fd_delegation_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5565 : int fd_delegation_pair_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5566 : void fd_delegation_pair_decode_archival_unsafe( fd_delegation_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5567 : int fd_delegation_pair_encode_archival( fd_delegation_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5568 :
5569 : void fd_stake_new( fd_stake_t * self );
5570 : int fd_stake_decode( fd_stake_t * self, fd_bincode_decode_ctx_t * ctx );
5571 : int fd_stake_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5572 : void fd_stake_decode_unsafe( fd_stake_t * self, fd_bincode_decode_ctx_t * ctx );
5573 : int fd_stake_decode_offsets( fd_stake_off_t * self, fd_bincode_decode_ctx_t * ctx );
5574 : int fd_stake_encode( fd_stake_t const * self, fd_bincode_encode_ctx_t * ctx );
5575 : void fd_stake_destroy( fd_stake_t * self, fd_bincode_destroy_ctx_t * ctx );
5576 : void fd_stake_walk( void * w, fd_stake_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5577 : ulong fd_stake_size( fd_stake_t const * self );
5578 : ulong fd_stake_footprint( void );
5579 : ulong fd_stake_align( void );
5580 :
5581 : void fd_epoch_info_pair_new( fd_epoch_info_pair_t * self );
5582 : int fd_epoch_info_pair_decode( fd_epoch_info_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5583 : int fd_epoch_info_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5584 : void fd_epoch_info_pair_decode_unsafe( fd_epoch_info_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5585 : int fd_epoch_info_pair_decode_offsets( fd_epoch_info_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
5586 : int fd_epoch_info_pair_encode( fd_epoch_info_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5587 : void fd_epoch_info_pair_destroy( fd_epoch_info_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
5588 : void fd_epoch_info_pair_walk( void * w, fd_epoch_info_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5589 : ulong fd_epoch_info_pair_size( fd_epoch_info_pair_t const * self );
5590 : ulong fd_epoch_info_pair_footprint( void );
5591 : ulong fd_epoch_info_pair_align( void );
5592 :
5593 : void fd_epoch_info_new( fd_epoch_info_t * self );
5594 : int fd_epoch_info_decode( fd_epoch_info_t * self, fd_bincode_decode_ctx_t * ctx );
5595 : int fd_epoch_info_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5596 : void fd_epoch_info_decode_unsafe( fd_epoch_info_t * self, fd_bincode_decode_ctx_t * ctx );
5597 : int fd_epoch_info_decode_offsets( fd_epoch_info_off_t * self, fd_bincode_decode_ctx_t * ctx );
5598 : int fd_epoch_info_encode( fd_epoch_info_t const * self, fd_bincode_encode_ctx_t * ctx );
5599 : void fd_epoch_info_destroy( fd_epoch_info_t * self, fd_bincode_destroy_ctx_t * ctx );
5600 : void fd_epoch_info_walk( void * w, fd_epoch_info_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5601 : ulong fd_epoch_info_size( fd_epoch_info_t const * self );
5602 : ulong fd_epoch_info_footprint( void );
5603 : ulong fd_epoch_info_align( void );
5604 :
5605 : void fd_stake_pair_new( fd_stake_pair_t * self );
5606 : int fd_stake_pair_decode( fd_stake_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5607 : int fd_stake_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5608 : void fd_stake_pair_decode_unsafe( fd_stake_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5609 : int fd_stake_pair_decode_offsets( fd_stake_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
5610 : int fd_stake_pair_encode( fd_stake_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5611 : void fd_stake_pair_destroy( fd_stake_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
5612 : void fd_stake_pair_walk( void * w, fd_stake_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5613 : ulong fd_stake_pair_size( fd_stake_pair_t const * self );
5614 : ulong fd_stake_pair_footprint( void );
5615 : ulong fd_stake_pair_align( void );
5616 :
5617 : void fd_stakes_new( fd_stakes_t * self );
5618 : int fd_stakes_decode( fd_stakes_t * self, fd_bincode_decode_ctx_t * ctx );
5619 : int fd_stakes_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5620 : void fd_stakes_decode_unsafe( fd_stakes_t * self, fd_bincode_decode_ctx_t * ctx );
5621 : int fd_stakes_decode_offsets( fd_stakes_off_t * self, fd_bincode_decode_ctx_t * ctx );
5622 : int fd_stakes_encode( fd_stakes_t const * self, fd_bincode_encode_ctx_t * ctx );
5623 : void fd_stakes_destroy( fd_stakes_t * self, fd_bincode_destroy_ctx_t * ctx );
5624 : void fd_stakes_walk( void * w, fd_stakes_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5625 : ulong fd_stakes_size( fd_stakes_t const * self );
5626 : ulong fd_stakes_footprint( void );
5627 : ulong fd_stakes_align( void );
5628 : int fd_stakes_decode_archival( fd_stakes_t * self, fd_bincode_decode_ctx_t * ctx );
5629 : int fd_stakes_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5630 : void fd_stakes_decode_archival_unsafe( fd_stakes_t * self, fd_bincode_decode_ctx_t * ctx );
5631 : int fd_stakes_encode_archival( fd_stakes_t const * self, fd_bincode_encode_ctx_t * ctx );
5632 :
5633 : void fd_stakes_serializable_new( fd_stakes_serializable_t * self );
5634 : int fd_stakes_serializable_decode( fd_stakes_serializable_t * self, fd_bincode_decode_ctx_t * ctx );
5635 : int fd_stakes_serializable_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5636 : void fd_stakes_serializable_decode_unsafe( fd_stakes_serializable_t * self, fd_bincode_decode_ctx_t * ctx );
5637 : int fd_stakes_serializable_decode_offsets( fd_stakes_serializable_off_t * self, fd_bincode_decode_ctx_t * ctx );
5638 : int fd_stakes_serializable_encode( fd_stakes_serializable_t const * self, fd_bincode_encode_ctx_t * ctx );
5639 : void fd_stakes_serializable_destroy( fd_stakes_serializable_t * self, fd_bincode_destroy_ctx_t * ctx );
5640 : void fd_stakes_serializable_walk( void * w, fd_stakes_serializable_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5641 : ulong fd_stakes_serializable_size( fd_stakes_serializable_t const * self );
5642 : ulong fd_stakes_serializable_footprint( void );
5643 : ulong fd_stakes_serializable_align( void );
5644 :
5645 : void fd_stakes_stake_new( fd_stakes_stake_t * self );
5646 : int fd_stakes_stake_decode( fd_stakes_stake_t * self, fd_bincode_decode_ctx_t * ctx );
5647 : int fd_stakes_stake_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5648 : void fd_stakes_stake_decode_unsafe( fd_stakes_stake_t * self, fd_bincode_decode_ctx_t * ctx );
5649 : int fd_stakes_stake_decode_offsets( fd_stakes_stake_off_t * self, fd_bincode_decode_ctx_t * ctx );
5650 : int fd_stakes_stake_encode( fd_stakes_stake_t const * self, fd_bincode_encode_ctx_t * ctx );
5651 : void fd_stakes_stake_destroy( fd_stakes_stake_t * self, fd_bincode_destroy_ctx_t * ctx );
5652 : void fd_stakes_stake_walk( void * w, fd_stakes_stake_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5653 : ulong fd_stakes_stake_size( fd_stakes_stake_t const * self );
5654 : ulong fd_stakes_stake_footprint( void );
5655 : ulong fd_stakes_stake_align( void );
5656 :
5657 : void fd_bank_incremental_snapshot_persistence_new( fd_bank_incremental_snapshot_persistence_t * self );
5658 : int fd_bank_incremental_snapshot_persistence_decode( fd_bank_incremental_snapshot_persistence_t * self, fd_bincode_decode_ctx_t * ctx );
5659 : int fd_bank_incremental_snapshot_persistence_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5660 : void fd_bank_incremental_snapshot_persistence_decode_unsafe( fd_bank_incremental_snapshot_persistence_t * self, fd_bincode_decode_ctx_t * ctx );
5661 : int fd_bank_incremental_snapshot_persistence_decode_offsets( fd_bank_incremental_snapshot_persistence_off_t * self, fd_bincode_decode_ctx_t * ctx );
5662 : int fd_bank_incremental_snapshot_persistence_encode( fd_bank_incremental_snapshot_persistence_t const * self, fd_bincode_encode_ctx_t * ctx );
5663 : void fd_bank_incremental_snapshot_persistence_destroy( fd_bank_incremental_snapshot_persistence_t * self, fd_bincode_destroy_ctx_t * ctx );
5664 : void fd_bank_incremental_snapshot_persistence_walk( void * w, fd_bank_incremental_snapshot_persistence_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5665 : ulong fd_bank_incremental_snapshot_persistence_size( fd_bank_incremental_snapshot_persistence_t const * self );
5666 : ulong fd_bank_incremental_snapshot_persistence_footprint( void );
5667 : ulong fd_bank_incremental_snapshot_persistence_align( void );
5668 :
5669 : void fd_node_vote_accounts_new( fd_node_vote_accounts_t * self );
5670 : int fd_node_vote_accounts_decode( fd_node_vote_accounts_t * self, fd_bincode_decode_ctx_t * ctx );
5671 : int fd_node_vote_accounts_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5672 : void fd_node_vote_accounts_decode_unsafe( fd_node_vote_accounts_t * self, fd_bincode_decode_ctx_t * ctx );
5673 : int fd_node_vote_accounts_decode_offsets( fd_node_vote_accounts_off_t * self, fd_bincode_decode_ctx_t * ctx );
5674 : int fd_node_vote_accounts_encode( fd_node_vote_accounts_t const * self, fd_bincode_encode_ctx_t * ctx );
5675 : void fd_node_vote_accounts_destroy( fd_node_vote_accounts_t * self, fd_bincode_destroy_ctx_t * ctx );
5676 : void fd_node_vote_accounts_walk( void * w, fd_node_vote_accounts_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5677 : ulong fd_node_vote_accounts_size( fd_node_vote_accounts_t const * self );
5678 : ulong fd_node_vote_accounts_footprint( void );
5679 : ulong fd_node_vote_accounts_align( void );
5680 :
5681 : void fd_pubkey_node_vote_accounts_pair_new( fd_pubkey_node_vote_accounts_pair_t * self );
5682 : int fd_pubkey_node_vote_accounts_pair_decode( fd_pubkey_node_vote_accounts_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5683 : int fd_pubkey_node_vote_accounts_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5684 : void fd_pubkey_node_vote_accounts_pair_decode_unsafe( fd_pubkey_node_vote_accounts_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5685 : int fd_pubkey_node_vote_accounts_pair_decode_offsets( fd_pubkey_node_vote_accounts_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
5686 : int fd_pubkey_node_vote_accounts_pair_encode( fd_pubkey_node_vote_accounts_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5687 : void fd_pubkey_node_vote_accounts_pair_destroy( fd_pubkey_node_vote_accounts_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
5688 : void fd_pubkey_node_vote_accounts_pair_walk( void * w, fd_pubkey_node_vote_accounts_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5689 : ulong fd_pubkey_node_vote_accounts_pair_size( fd_pubkey_node_vote_accounts_pair_t const * self );
5690 : ulong fd_pubkey_node_vote_accounts_pair_footprint( void );
5691 : ulong fd_pubkey_node_vote_accounts_pair_align( void );
5692 :
5693 : void fd_pubkey_pubkey_pair_new( fd_pubkey_pubkey_pair_t * self );
5694 : int fd_pubkey_pubkey_pair_decode( fd_pubkey_pubkey_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5695 : int fd_pubkey_pubkey_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5696 : void fd_pubkey_pubkey_pair_decode_unsafe( fd_pubkey_pubkey_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5697 : int fd_pubkey_pubkey_pair_decode_offsets( fd_pubkey_pubkey_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
5698 : int fd_pubkey_pubkey_pair_encode( fd_pubkey_pubkey_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5699 : void fd_pubkey_pubkey_pair_destroy( fd_pubkey_pubkey_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
5700 : void fd_pubkey_pubkey_pair_walk( void * w, fd_pubkey_pubkey_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5701 : ulong fd_pubkey_pubkey_pair_size( fd_pubkey_pubkey_pair_t const * self );
5702 : ulong fd_pubkey_pubkey_pair_footprint( void );
5703 : ulong fd_pubkey_pubkey_pair_align( void );
5704 :
5705 : void fd_epoch_stakes_new( fd_epoch_stakes_t * self );
5706 : int fd_epoch_stakes_decode( fd_epoch_stakes_t * self, fd_bincode_decode_ctx_t * ctx );
5707 : int fd_epoch_stakes_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5708 : void fd_epoch_stakes_decode_unsafe( fd_epoch_stakes_t * self, fd_bincode_decode_ctx_t * ctx );
5709 : int fd_epoch_stakes_decode_offsets( fd_epoch_stakes_off_t * self, fd_bincode_decode_ctx_t * ctx );
5710 : int fd_epoch_stakes_encode( fd_epoch_stakes_t const * self, fd_bincode_encode_ctx_t * ctx );
5711 : void fd_epoch_stakes_destroy( fd_epoch_stakes_t * self, fd_bincode_destroy_ctx_t * ctx );
5712 : void fd_epoch_stakes_walk( void * w, fd_epoch_stakes_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5713 : ulong fd_epoch_stakes_size( fd_epoch_stakes_t const * self );
5714 : ulong fd_epoch_stakes_footprint( void );
5715 : ulong fd_epoch_stakes_align( void );
5716 :
5717 : void fd_epoch_epoch_stakes_pair_new( fd_epoch_epoch_stakes_pair_t * self );
5718 : int fd_epoch_epoch_stakes_pair_decode( fd_epoch_epoch_stakes_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5719 : int fd_epoch_epoch_stakes_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5720 : void fd_epoch_epoch_stakes_pair_decode_unsafe( fd_epoch_epoch_stakes_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5721 : int fd_epoch_epoch_stakes_pair_decode_offsets( fd_epoch_epoch_stakes_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
5722 : int fd_epoch_epoch_stakes_pair_encode( fd_epoch_epoch_stakes_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5723 : void fd_epoch_epoch_stakes_pair_destroy( fd_epoch_epoch_stakes_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
5724 : void fd_epoch_epoch_stakes_pair_walk( void * w, fd_epoch_epoch_stakes_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5725 : ulong fd_epoch_epoch_stakes_pair_size( fd_epoch_epoch_stakes_pair_t const * self );
5726 : ulong fd_epoch_epoch_stakes_pair_footprint( void );
5727 : ulong fd_epoch_epoch_stakes_pair_align( void );
5728 :
5729 : void fd_pubkey_u64_pair_new( fd_pubkey_u64_pair_t * self );
5730 : int fd_pubkey_u64_pair_decode( fd_pubkey_u64_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5731 : int fd_pubkey_u64_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5732 : void fd_pubkey_u64_pair_decode_unsafe( fd_pubkey_u64_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5733 : int fd_pubkey_u64_pair_decode_offsets( fd_pubkey_u64_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
5734 : int fd_pubkey_u64_pair_encode( fd_pubkey_u64_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5735 : void fd_pubkey_u64_pair_destroy( fd_pubkey_u64_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
5736 : void fd_pubkey_u64_pair_walk( void * w, fd_pubkey_u64_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5737 : ulong fd_pubkey_u64_pair_size( fd_pubkey_u64_pair_t const * self );
5738 : ulong fd_pubkey_u64_pair_footprint( void );
5739 : ulong fd_pubkey_u64_pair_align( void );
5740 :
5741 : void fd_unused_accounts_new( fd_unused_accounts_t * self );
5742 : int fd_unused_accounts_decode( fd_unused_accounts_t * self, fd_bincode_decode_ctx_t * ctx );
5743 : int fd_unused_accounts_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5744 : void fd_unused_accounts_decode_unsafe( fd_unused_accounts_t * self, fd_bincode_decode_ctx_t * ctx );
5745 : int fd_unused_accounts_decode_offsets( fd_unused_accounts_off_t * self, fd_bincode_decode_ctx_t * ctx );
5746 : int fd_unused_accounts_encode( fd_unused_accounts_t const * self, fd_bincode_encode_ctx_t * ctx );
5747 : void fd_unused_accounts_destroy( fd_unused_accounts_t * self, fd_bincode_destroy_ctx_t * ctx );
5748 : void fd_unused_accounts_walk( void * w, fd_unused_accounts_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5749 : ulong fd_unused_accounts_size( fd_unused_accounts_t const * self );
5750 : ulong fd_unused_accounts_footprint( void );
5751 : ulong fd_unused_accounts_align( void );
5752 :
5753 : void fd_deserializable_versioned_bank_new( fd_deserializable_versioned_bank_t * self );
5754 : int fd_deserializable_versioned_bank_decode( fd_deserializable_versioned_bank_t * self, fd_bincode_decode_ctx_t * ctx );
5755 : int fd_deserializable_versioned_bank_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5756 : void fd_deserializable_versioned_bank_decode_unsafe( fd_deserializable_versioned_bank_t * self, fd_bincode_decode_ctx_t * ctx );
5757 : int fd_deserializable_versioned_bank_decode_offsets( fd_deserializable_versioned_bank_off_t * self, fd_bincode_decode_ctx_t * ctx );
5758 : int fd_deserializable_versioned_bank_encode( fd_deserializable_versioned_bank_t const * self, fd_bincode_encode_ctx_t * ctx );
5759 : void fd_deserializable_versioned_bank_destroy( fd_deserializable_versioned_bank_t * self, fd_bincode_destroy_ctx_t * ctx );
5760 : void fd_deserializable_versioned_bank_walk( void * w, fd_deserializable_versioned_bank_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5761 : ulong fd_deserializable_versioned_bank_size( fd_deserializable_versioned_bank_t const * self );
5762 : ulong fd_deserializable_versioned_bank_footprint( void );
5763 : ulong fd_deserializable_versioned_bank_align( void );
5764 :
5765 : void fd_serializable_versioned_bank_new( fd_serializable_versioned_bank_t * self );
5766 : int fd_serializable_versioned_bank_decode( fd_serializable_versioned_bank_t * self, fd_bincode_decode_ctx_t * ctx );
5767 : int fd_serializable_versioned_bank_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5768 : void fd_serializable_versioned_bank_decode_unsafe( fd_serializable_versioned_bank_t * self, fd_bincode_decode_ctx_t * ctx );
5769 : int fd_serializable_versioned_bank_decode_offsets( fd_serializable_versioned_bank_off_t * self, fd_bincode_decode_ctx_t * ctx );
5770 : int fd_serializable_versioned_bank_encode( fd_serializable_versioned_bank_t const * self, fd_bincode_encode_ctx_t * ctx );
5771 : void fd_serializable_versioned_bank_destroy( fd_serializable_versioned_bank_t * self, fd_bincode_destroy_ctx_t * ctx );
5772 : void fd_serializable_versioned_bank_walk( void * w, fd_serializable_versioned_bank_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5773 : ulong fd_serializable_versioned_bank_size( fd_serializable_versioned_bank_t const * self );
5774 : ulong fd_serializable_versioned_bank_footprint( void );
5775 : ulong fd_serializable_versioned_bank_align( void );
5776 :
5777 : void fd_bank_hash_stats_new( fd_bank_hash_stats_t * self );
5778 : int fd_bank_hash_stats_decode( fd_bank_hash_stats_t * self, fd_bincode_decode_ctx_t * ctx );
5779 : int fd_bank_hash_stats_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5780 : void fd_bank_hash_stats_decode_unsafe( fd_bank_hash_stats_t * self, fd_bincode_decode_ctx_t * ctx );
5781 : int fd_bank_hash_stats_decode_offsets( fd_bank_hash_stats_off_t * self, fd_bincode_decode_ctx_t * ctx );
5782 : int fd_bank_hash_stats_encode( fd_bank_hash_stats_t const * self, fd_bincode_encode_ctx_t * ctx );
5783 : void fd_bank_hash_stats_destroy( fd_bank_hash_stats_t * self, fd_bincode_destroy_ctx_t * ctx );
5784 : void fd_bank_hash_stats_walk( void * w, fd_bank_hash_stats_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5785 : ulong fd_bank_hash_stats_size( fd_bank_hash_stats_t const * self );
5786 : ulong fd_bank_hash_stats_footprint( void );
5787 : ulong fd_bank_hash_stats_align( void );
5788 :
5789 : void fd_bank_hash_info_new( fd_bank_hash_info_t * self );
5790 : int fd_bank_hash_info_decode( fd_bank_hash_info_t * self, fd_bincode_decode_ctx_t * ctx );
5791 : int fd_bank_hash_info_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5792 : void fd_bank_hash_info_decode_unsafe( fd_bank_hash_info_t * self, fd_bincode_decode_ctx_t * ctx );
5793 : int fd_bank_hash_info_decode_offsets( fd_bank_hash_info_off_t * self, fd_bincode_decode_ctx_t * ctx );
5794 : int fd_bank_hash_info_encode( fd_bank_hash_info_t const * self, fd_bincode_encode_ctx_t * ctx );
5795 : void fd_bank_hash_info_destroy( fd_bank_hash_info_t * self, fd_bincode_destroy_ctx_t * ctx );
5796 : void fd_bank_hash_info_walk( void * w, fd_bank_hash_info_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5797 : ulong fd_bank_hash_info_size( fd_bank_hash_info_t const * self );
5798 : ulong fd_bank_hash_info_footprint( void );
5799 : ulong fd_bank_hash_info_align( void );
5800 :
5801 : void fd_slot_map_pair_new( fd_slot_map_pair_t * self );
5802 : int fd_slot_map_pair_decode( fd_slot_map_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5803 : int fd_slot_map_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5804 : void fd_slot_map_pair_decode_unsafe( fd_slot_map_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5805 : int fd_slot_map_pair_decode_offsets( fd_slot_map_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
5806 : int fd_slot_map_pair_encode( fd_slot_map_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5807 : void fd_slot_map_pair_destroy( fd_slot_map_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
5808 : void fd_slot_map_pair_walk( void * w, fd_slot_map_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5809 : ulong fd_slot_map_pair_size( fd_slot_map_pair_t const * self );
5810 : ulong fd_slot_map_pair_footprint( void );
5811 : ulong fd_slot_map_pair_align( void );
5812 :
5813 : void fd_snapshot_acc_vec_new( fd_snapshot_acc_vec_t * self );
5814 : int fd_snapshot_acc_vec_decode( fd_snapshot_acc_vec_t * self, fd_bincode_decode_ctx_t * ctx );
5815 : int fd_snapshot_acc_vec_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5816 : void fd_snapshot_acc_vec_decode_unsafe( fd_snapshot_acc_vec_t * self, fd_bincode_decode_ctx_t * ctx );
5817 : int fd_snapshot_acc_vec_decode_offsets( fd_snapshot_acc_vec_off_t * self, fd_bincode_decode_ctx_t * ctx );
5818 : int fd_snapshot_acc_vec_encode( fd_snapshot_acc_vec_t const * self, fd_bincode_encode_ctx_t * ctx );
5819 : void fd_snapshot_acc_vec_destroy( fd_snapshot_acc_vec_t * self, fd_bincode_destroy_ctx_t * ctx );
5820 : void fd_snapshot_acc_vec_walk( void * w, fd_snapshot_acc_vec_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5821 : ulong fd_snapshot_acc_vec_size( fd_snapshot_acc_vec_t const * self );
5822 : ulong fd_snapshot_acc_vec_footprint( void );
5823 : ulong fd_snapshot_acc_vec_align( void );
5824 :
5825 : void fd_snapshot_slot_acc_vecs_new( fd_snapshot_slot_acc_vecs_t * self );
5826 : int fd_snapshot_slot_acc_vecs_decode( fd_snapshot_slot_acc_vecs_t * self, fd_bincode_decode_ctx_t * ctx );
5827 : int fd_snapshot_slot_acc_vecs_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5828 : void fd_snapshot_slot_acc_vecs_decode_unsafe( fd_snapshot_slot_acc_vecs_t * self, fd_bincode_decode_ctx_t * ctx );
5829 : int fd_snapshot_slot_acc_vecs_decode_offsets( fd_snapshot_slot_acc_vecs_off_t * self, fd_bincode_decode_ctx_t * ctx );
5830 : int fd_snapshot_slot_acc_vecs_encode( fd_snapshot_slot_acc_vecs_t const * self, fd_bincode_encode_ctx_t * ctx );
5831 : void fd_snapshot_slot_acc_vecs_destroy( fd_snapshot_slot_acc_vecs_t * self, fd_bincode_destroy_ctx_t * ctx );
5832 : void fd_snapshot_slot_acc_vecs_walk( void * w, fd_snapshot_slot_acc_vecs_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5833 : ulong fd_snapshot_slot_acc_vecs_size( fd_snapshot_slot_acc_vecs_t const * self );
5834 : ulong fd_snapshot_slot_acc_vecs_footprint( void );
5835 : ulong fd_snapshot_slot_acc_vecs_align( void );
5836 :
5837 : void fd_reward_type_new_disc( fd_reward_type_t * self, uint discriminant );
5838 : void fd_reward_type_new( fd_reward_type_t * self );
5839 : int fd_reward_type_decode( fd_reward_type_t * self, fd_bincode_decode_ctx_t * ctx );
5840 : int fd_reward_type_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5841 : void fd_reward_type_decode_unsafe( fd_reward_type_t * self, fd_bincode_decode_ctx_t * ctx );
5842 : int fd_reward_type_encode( fd_reward_type_t const * self, fd_bincode_encode_ctx_t * ctx );
5843 : void fd_reward_type_destroy( fd_reward_type_t * self, fd_bincode_destroy_ctx_t * ctx );
5844 : void fd_reward_type_walk( void * w, fd_reward_type_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5845 : ulong fd_reward_type_size( fd_reward_type_t const * self );
5846 : ulong fd_reward_type_footprint( void );
5847 : ulong fd_reward_type_align( void );
5848 :
5849 : FD_FN_PURE uchar fd_reward_type_is_fee( fd_reward_type_t const * self );
5850 : FD_FN_PURE uchar fd_reward_type_is_rent( fd_reward_type_t const * self );
5851 : FD_FN_PURE uchar fd_reward_type_is_staking( fd_reward_type_t const * self );
5852 : FD_FN_PURE uchar fd_reward_type_is_voting( fd_reward_type_t const * self );
5853 : enum {
5854 : fd_reward_type_enum_fee = 0,
5855 : fd_reward_type_enum_rent = 1,
5856 : fd_reward_type_enum_staking = 2,
5857 : fd_reward_type_enum_voting = 3,
5858 : };
5859 : void fd_solana_accounts_db_fields_new( fd_solana_accounts_db_fields_t * self );
5860 : int fd_solana_accounts_db_fields_decode( fd_solana_accounts_db_fields_t * self, fd_bincode_decode_ctx_t * ctx );
5861 : int fd_solana_accounts_db_fields_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5862 : void fd_solana_accounts_db_fields_decode_unsafe( fd_solana_accounts_db_fields_t * self, fd_bincode_decode_ctx_t * ctx );
5863 : int fd_solana_accounts_db_fields_decode_offsets( fd_solana_accounts_db_fields_off_t * self, fd_bincode_decode_ctx_t * ctx );
5864 : int fd_solana_accounts_db_fields_encode( fd_solana_accounts_db_fields_t const * self, fd_bincode_encode_ctx_t * ctx );
5865 : void fd_solana_accounts_db_fields_destroy( fd_solana_accounts_db_fields_t * self, fd_bincode_destroy_ctx_t * ctx );
5866 : void fd_solana_accounts_db_fields_walk( void * w, fd_solana_accounts_db_fields_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5867 : ulong fd_solana_accounts_db_fields_size( fd_solana_accounts_db_fields_t const * self );
5868 : ulong fd_solana_accounts_db_fields_footprint( void );
5869 : ulong fd_solana_accounts_db_fields_align( void );
5870 :
5871 : void fd_versioned_epoch_stakes_current_new( fd_versioned_epoch_stakes_current_t * self );
5872 : int fd_versioned_epoch_stakes_current_decode( fd_versioned_epoch_stakes_current_t * self, fd_bincode_decode_ctx_t * ctx );
5873 : int fd_versioned_epoch_stakes_current_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5874 : void fd_versioned_epoch_stakes_current_decode_unsafe( fd_versioned_epoch_stakes_current_t * self, fd_bincode_decode_ctx_t * ctx );
5875 : int fd_versioned_epoch_stakes_current_decode_offsets( fd_versioned_epoch_stakes_current_off_t * self, fd_bincode_decode_ctx_t * ctx );
5876 : int fd_versioned_epoch_stakes_current_encode( fd_versioned_epoch_stakes_current_t const * self, fd_bincode_encode_ctx_t * ctx );
5877 : void fd_versioned_epoch_stakes_current_destroy( fd_versioned_epoch_stakes_current_t * self, fd_bincode_destroy_ctx_t * ctx );
5878 : void fd_versioned_epoch_stakes_current_walk( void * w, fd_versioned_epoch_stakes_current_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5879 : ulong fd_versioned_epoch_stakes_current_size( fd_versioned_epoch_stakes_current_t const * self );
5880 : ulong fd_versioned_epoch_stakes_current_footprint( void );
5881 : ulong fd_versioned_epoch_stakes_current_align( void );
5882 :
5883 : void fd_versioned_epoch_stakes_new_disc( fd_versioned_epoch_stakes_t * self, uint discriminant );
5884 : void fd_versioned_epoch_stakes_new( fd_versioned_epoch_stakes_t * self );
5885 : int fd_versioned_epoch_stakes_decode( fd_versioned_epoch_stakes_t * self, fd_bincode_decode_ctx_t * ctx );
5886 : int fd_versioned_epoch_stakes_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5887 : void fd_versioned_epoch_stakes_decode_unsafe( fd_versioned_epoch_stakes_t * self, fd_bincode_decode_ctx_t * ctx );
5888 : int fd_versioned_epoch_stakes_encode( fd_versioned_epoch_stakes_t const * self, fd_bincode_encode_ctx_t * ctx );
5889 : void fd_versioned_epoch_stakes_destroy( fd_versioned_epoch_stakes_t * self, fd_bincode_destroy_ctx_t * ctx );
5890 : void fd_versioned_epoch_stakes_walk( void * w, fd_versioned_epoch_stakes_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5891 : ulong fd_versioned_epoch_stakes_size( fd_versioned_epoch_stakes_t const * self );
5892 : ulong fd_versioned_epoch_stakes_footprint( void );
5893 : ulong fd_versioned_epoch_stakes_align( void );
5894 :
5895 : FD_FN_PURE uchar fd_versioned_epoch_stakes_is_Current( fd_versioned_epoch_stakes_t const * self );
5896 : enum {
5897 : fd_versioned_epoch_stakes_enum_Current = 0,
5898 : };
5899 : void fd_versioned_epoch_stakes_pair_new( fd_versioned_epoch_stakes_pair_t * self );
5900 : int fd_versioned_epoch_stakes_pair_decode( fd_versioned_epoch_stakes_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5901 : int fd_versioned_epoch_stakes_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5902 : void fd_versioned_epoch_stakes_pair_decode_unsafe( fd_versioned_epoch_stakes_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5903 : int fd_versioned_epoch_stakes_pair_decode_offsets( fd_versioned_epoch_stakes_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
5904 : int fd_versioned_epoch_stakes_pair_encode( fd_versioned_epoch_stakes_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5905 : void fd_versioned_epoch_stakes_pair_destroy( fd_versioned_epoch_stakes_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
5906 : void fd_versioned_epoch_stakes_pair_walk( void * w, fd_versioned_epoch_stakes_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5907 : ulong fd_versioned_epoch_stakes_pair_size( fd_versioned_epoch_stakes_pair_t const * self );
5908 : ulong fd_versioned_epoch_stakes_pair_footprint( void );
5909 : ulong fd_versioned_epoch_stakes_pair_align( void );
5910 :
5911 : void fd_reward_info_new( fd_reward_info_t * self );
5912 : int fd_reward_info_decode( fd_reward_info_t * self, fd_bincode_decode_ctx_t * ctx );
5913 : int fd_reward_info_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5914 : void fd_reward_info_decode_unsafe( fd_reward_info_t * self, fd_bincode_decode_ctx_t * ctx );
5915 : int fd_reward_info_decode_offsets( fd_reward_info_off_t * self, fd_bincode_decode_ctx_t * ctx );
5916 : int fd_reward_info_encode( fd_reward_info_t const * self, fd_bincode_encode_ctx_t * ctx );
5917 : void fd_reward_info_destroy( fd_reward_info_t * self, fd_bincode_destroy_ctx_t * ctx );
5918 : void fd_reward_info_walk( void * w, fd_reward_info_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5919 : ulong fd_reward_info_size( fd_reward_info_t const * self );
5920 : ulong fd_reward_info_footprint( void );
5921 : ulong fd_reward_info_align( void );
5922 :
5923 : void fd_slot_lthash_new( fd_slot_lthash_t * self );
5924 : int fd_slot_lthash_decode( fd_slot_lthash_t * self, fd_bincode_decode_ctx_t * ctx );
5925 : int fd_slot_lthash_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5926 : void fd_slot_lthash_decode_unsafe( fd_slot_lthash_t * self, fd_bincode_decode_ctx_t * ctx );
5927 : int fd_slot_lthash_decode_offsets( fd_slot_lthash_off_t * self, fd_bincode_decode_ctx_t * ctx );
5928 : int fd_slot_lthash_encode( fd_slot_lthash_t const * self, fd_bincode_encode_ctx_t * ctx );
5929 : void fd_slot_lthash_destroy( fd_slot_lthash_t * self, fd_bincode_destroy_ctx_t * ctx );
5930 : void fd_slot_lthash_walk( void * w, fd_slot_lthash_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5931 : ulong fd_slot_lthash_size( fd_slot_lthash_t const * self );
5932 : ulong fd_slot_lthash_footprint( void );
5933 : ulong fd_slot_lthash_align( void );
5934 : int fd_slot_lthash_decode_archival( fd_slot_lthash_t * self, fd_bincode_decode_ctx_t * ctx );
5935 : int fd_slot_lthash_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
5936 : void fd_slot_lthash_decode_archival_unsafe( fd_slot_lthash_t * self, fd_bincode_decode_ctx_t * ctx );
5937 : int fd_slot_lthash_encode_archival( fd_slot_lthash_t const * self, fd_bincode_encode_ctx_t * ctx );
5938 :
5939 : void fd_solana_manifest_new( fd_solana_manifest_t * self );
5940 : int fd_solana_manifest_decode( fd_solana_manifest_t * self, fd_bincode_decode_ctx_t * ctx );
5941 : int fd_solana_manifest_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5942 : void fd_solana_manifest_decode_unsafe( fd_solana_manifest_t * self, fd_bincode_decode_ctx_t * ctx );
5943 : int fd_solana_manifest_decode_offsets( fd_solana_manifest_off_t * self, fd_bincode_decode_ctx_t * ctx );
5944 : int fd_solana_manifest_encode( fd_solana_manifest_t const * self, fd_bincode_encode_ctx_t * ctx );
5945 : void fd_solana_manifest_destroy( fd_solana_manifest_t * self, fd_bincode_destroy_ctx_t * ctx );
5946 : void fd_solana_manifest_walk( void * w, fd_solana_manifest_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5947 : ulong fd_solana_manifest_size( fd_solana_manifest_t const * self );
5948 : ulong fd_solana_manifest_footprint( void );
5949 : ulong fd_solana_manifest_align( void );
5950 :
5951 : void fd_solana_manifest_serializable_new( fd_solana_manifest_serializable_t * self );
5952 : int fd_solana_manifest_serializable_decode( fd_solana_manifest_serializable_t * self, fd_bincode_decode_ctx_t * ctx );
5953 : int fd_solana_manifest_serializable_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5954 : void fd_solana_manifest_serializable_decode_unsafe( fd_solana_manifest_serializable_t * self, fd_bincode_decode_ctx_t * ctx );
5955 : int fd_solana_manifest_serializable_decode_offsets( fd_solana_manifest_serializable_off_t * self, fd_bincode_decode_ctx_t * ctx );
5956 : int fd_solana_manifest_serializable_encode( fd_solana_manifest_serializable_t const * self, fd_bincode_encode_ctx_t * ctx );
5957 : void fd_solana_manifest_serializable_destroy( fd_solana_manifest_serializable_t * self, fd_bincode_destroy_ctx_t * ctx );
5958 : void fd_solana_manifest_serializable_walk( void * w, fd_solana_manifest_serializable_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5959 : ulong fd_solana_manifest_serializable_size( fd_solana_manifest_serializable_t const * self );
5960 : ulong fd_solana_manifest_serializable_footprint( void );
5961 : ulong fd_solana_manifest_serializable_align( void );
5962 :
5963 : void fd_rust_duration_new( fd_rust_duration_t * self );
5964 : int fd_rust_duration_decode( fd_rust_duration_t * self, fd_bincode_decode_ctx_t * ctx );
5965 : int fd_rust_duration_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5966 : void fd_rust_duration_decode_unsafe( fd_rust_duration_t * self, fd_bincode_decode_ctx_t * ctx );
5967 : int fd_rust_duration_decode_offsets( fd_rust_duration_off_t * self, fd_bincode_decode_ctx_t * ctx );
5968 : int fd_rust_duration_encode( fd_rust_duration_t const * self, fd_bincode_encode_ctx_t * ctx );
5969 : void fd_rust_duration_destroy( fd_rust_duration_t * self, fd_bincode_destroy_ctx_t * ctx );
5970 : void fd_rust_duration_walk( void * w, fd_rust_duration_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5971 : ulong fd_rust_duration_size( fd_rust_duration_t const * self );
5972 : ulong fd_rust_duration_footprint( void );
5973 : ulong fd_rust_duration_align( void );
5974 :
5975 : void fd_poh_config_new( fd_poh_config_t * self );
5976 : int fd_poh_config_decode( fd_poh_config_t * self, fd_bincode_decode_ctx_t * ctx );
5977 : int fd_poh_config_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5978 : void fd_poh_config_decode_unsafe( fd_poh_config_t * self, fd_bincode_decode_ctx_t * ctx );
5979 : int fd_poh_config_decode_offsets( fd_poh_config_off_t * self, fd_bincode_decode_ctx_t * ctx );
5980 : int fd_poh_config_encode( fd_poh_config_t const * self, fd_bincode_encode_ctx_t * ctx );
5981 : void fd_poh_config_destroy( fd_poh_config_t * self, fd_bincode_destroy_ctx_t * ctx );
5982 : void fd_poh_config_walk( void * w, fd_poh_config_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5983 : ulong fd_poh_config_size( fd_poh_config_t const * self );
5984 : ulong fd_poh_config_footprint( void );
5985 : ulong fd_poh_config_align( void );
5986 :
5987 : void fd_string_pubkey_pair_new( fd_string_pubkey_pair_t * self );
5988 : int fd_string_pubkey_pair_decode( fd_string_pubkey_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5989 : int fd_string_pubkey_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
5990 : void fd_string_pubkey_pair_decode_unsafe( fd_string_pubkey_pair_t * self, fd_bincode_decode_ctx_t * ctx );
5991 : int fd_string_pubkey_pair_decode_offsets( fd_string_pubkey_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
5992 : int fd_string_pubkey_pair_encode( fd_string_pubkey_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
5993 : void fd_string_pubkey_pair_destroy( fd_string_pubkey_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
5994 : void fd_string_pubkey_pair_walk( void * w, fd_string_pubkey_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
5995 : ulong fd_string_pubkey_pair_size( fd_string_pubkey_pair_t const * self );
5996 : ulong fd_string_pubkey_pair_footprint( void );
5997 : ulong fd_string_pubkey_pair_align( void );
5998 :
5999 : void fd_pubkey_account_pair_new( fd_pubkey_account_pair_t * self );
6000 : int fd_pubkey_account_pair_decode( fd_pubkey_account_pair_t * self, fd_bincode_decode_ctx_t * ctx );
6001 : int fd_pubkey_account_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6002 : void fd_pubkey_account_pair_decode_unsafe( fd_pubkey_account_pair_t * self, fd_bincode_decode_ctx_t * ctx );
6003 : int fd_pubkey_account_pair_decode_offsets( fd_pubkey_account_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
6004 : int fd_pubkey_account_pair_encode( fd_pubkey_account_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
6005 : void fd_pubkey_account_pair_destroy( fd_pubkey_account_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
6006 : void fd_pubkey_account_pair_walk( void * w, fd_pubkey_account_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6007 : ulong fd_pubkey_account_pair_size( fd_pubkey_account_pair_t const * self );
6008 : ulong fd_pubkey_account_pair_footprint( void );
6009 : ulong fd_pubkey_account_pair_align( void );
6010 :
6011 : void fd_genesis_solana_new( fd_genesis_solana_t * self );
6012 : int fd_genesis_solana_decode( fd_genesis_solana_t * self, fd_bincode_decode_ctx_t * ctx );
6013 : int fd_genesis_solana_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6014 : void fd_genesis_solana_decode_unsafe( fd_genesis_solana_t * self, fd_bincode_decode_ctx_t * ctx );
6015 : int fd_genesis_solana_decode_offsets( fd_genesis_solana_off_t * self, fd_bincode_decode_ctx_t * ctx );
6016 : int fd_genesis_solana_encode( fd_genesis_solana_t const * self, fd_bincode_encode_ctx_t * ctx );
6017 : void fd_genesis_solana_destroy( fd_genesis_solana_t * self, fd_bincode_destroy_ctx_t * ctx );
6018 : void fd_genesis_solana_walk( void * w, fd_genesis_solana_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6019 : ulong fd_genesis_solana_size( fd_genesis_solana_t const * self );
6020 : ulong fd_genesis_solana_footprint( void );
6021 : ulong fd_genesis_solana_align( void );
6022 :
6023 : void fd_sol_sysvar_clock_new( fd_sol_sysvar_clock_t * self );
6024 : int fd_sol_sysvar_clock_decode( fd_sol_sysvar_clock_t * self, fd_bincode_decode_ctx_t * ctx );
6025 : int fd_sol_sysvar_clock_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6026 : void fd_sol_sysvar_clock_decode_unsafe( fd_sol_sysvar_clock_t * self, fd_bincode_decode_ctx_t * ctx );
6027 : int fd_sol_sysvar_clock_decode_offsets( fd_sol_sysvar_clock_off_t * self, fd_bincode_decode_ctx_t * ctx );
6028 : int fd_sol_sysvar_clock_encode( fd_sol_sysvar_clock_t const * self, fd_bincode_encode_ctx_t * ctx );
6029 : void fd_sol_sysvar_clock_destroy( fd_sol_sysvar_clock_t * self, fd_bincode_destroy_ctx_t * ctx );
6030 : void fd_sol_sysvar_clock_walk( void * w, fd_sol_sysvar_clock_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6031 : ulong fd_sol_sysvar_clock_size( fd_sol_sysvar_clock_t const * self );
6032 : ulong fd_sol_sysvar_clock_footprint( void );
6033 : ulong fd_sol_sysvar_clock_align( void );
6034 :
6035 : void fd_sol_sysvar_last_restart_slot_new( fd_sol_sysvar_last_restart_slot_t * self );
6036 : int fd_sol_sysvar_last_restart_slot_decode( fd_sol_sysvar_last_restart_slot_t * self, fd_bincode_decode_ctx_t * ctx );
6037 : int fd_sol_sysvar_last_restart_slot_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6038 : void fd_sol_sysvar_last_restart_slot_decode_unsafe( fd_sol_sysvar_last_restart_slot_t * self, fd_bincode_decode_ctx_t * ctx );
6039 : int fd_sol_sysvar_last_restart_slot_decode_offsets( fd_sol_sysvar_last_restart_slot_off_t * self, fd_bincode_decode_ctx_t * ctx );
6040 : int fd_sol_sysvar_last_restart_slot_encode( fd_sol_sysvar_last_restart_slot_t const * self, fd_bincode_encode_ctx_t * ctx );
6041 : void fd_sol_sysvar_last_restart_slot_destroy( fd_sol_sysvar_last_restart_slot_t * self, fd_bincode_destroy_ctx_t * ctx );
6042 : void fd_sol_sysvar_last_restart_slot_walk( void * w, fd_sol_sysvar_last_restart_slot_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6043 : ulong fd_sol_sysvar_last_restart_slot_size( fd_sol_sysvar_last_restart_slot_t const * self );
6044 : ulong fd_sol_sysvar_last_restart_slot_footprint( void );
6045 : ulong fd_sol_sysvar_last_restart_slot_align( void );
6046 : int fd_sol_sysvar_last_restart_slot_decode_archival( fd_sol_sysvar_last_restart_slot_t * self, fd_bincode_decode_ctx_t * ctx );
6047 : int fd_sol_sysvar_last_restart_slot_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
6048 : void fd_sol_sysvar_last_restart_slot_decode_archival_unsafe( fd_sol_sysvar_last_restart_slot_t * self, fd_bincode_decode_ctx_t * ctx );
6049 : int fd_sol_sysvar_last_restart_slot_encode_archival( fd_sol_sysvar_last_restart_slot_t const * self, fd_bincode_encode_ctx_t * ctx );
6050 :
6051 : void fd_vote_lockout_new( fd_vote_lockout_t * self );
6052 : int fd_vote_lockout_decode( fd_vote_lockout_t * self, fd_bincode_decode_ctx_t * ctx );
6053 : int fd_vote_lockout_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6054 : void fd_vote_lockout_decode_unsafe( fd_vote_lockout_t * self, fd_bincode_decode_ctx_t * ctx );
6055 : int fd_vote_lockout_decode_offsets( fd_vote_lockout_off_t * self, fd_bincode_decode_ctx_t * ctx );
6056 : int fd_vote_lockout_encode( fd_vote_lockout_t const * self, fd_bincode_encode_ctx_t * ctx );
6057 : void fd_vote_lockout_destroy( fd_vote_lockout_t * self, fd_bincode_destroy_ctx_t * ctx );
6058 : void fd_vote_lockout_walk( void * w, fd_vote_lockout_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6059 : ulong fd_vote_lockout_size( fd_vote_lockout_t const * self );
6060 : ulong fd_vote_lockout_footprint( void );
6061 : ulong fd_vote_lockout_align( void );
6062 :
6063 : void fd_lockout_offset_new( fd_lockout_offset_t * self );
6064 : int fd_lockout_offset_decode( fd_lockout_offset_t * self, fd_bincode_decode_ctx_t * ctx );
6065 : int fd_lockout_offset_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6066 : void fd_lockout_offset_decode_unsafe( fd_lockout_offset_t * self, fd_bincode_decode_ctx_t * ctx );
6067 : int fd_lockout_offset_decode_offsets( fd_lockout_offset_off_t * self, fd_bincode_decode_ctx_t * ctx );
6068 : int fd_lockout_offset_encode( fd_lockout_offset_t const * self, fd_bincode_encode_ctx_t * ctx );
6069 : void fd_lockout_offset_destroy( fd_lockout_offset_t * self, fd_bincode_destroy_ctx_t * ctx );
6070 : void fd_lockout_offset_walk( void * w, fd_lockout_offset_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6071 : ulong fd_lockout_offset_size( fd_lockout_offset_t const * self );
6072 : ulong fd_lockout_offset_footprint( void );
6073 : ulong fd_lockout_offset_align( void );
6074 :
6075 : void fd_vote_authorized_voter_new( fd_vote_authorized_voter_t * self );
6076 : int fd_vote_authorized_voter_decode( fd_vote_authorized_voter_t * self, fd_bincode_decode_ctx_t * ctx );
6077 : int fd_vote_authorized_voter_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6078 : void fd_vote_authorized_voter_decode_unsafe( fd_vote_authorized_voter_t * self, fd_bincode_decode_ctx_t * ctx );
6079 : int fd_vote_authorized_voter_decode_offsets( fd_vote_authorized_voter_off_t * self, fd_bincode_decode_ctx_t * ctx );
6080 : int fd_vote_authorized_voter_encode( fd_vote_authorized_voter_t const * self, fd_bincode_encode_ctx_t * ctx );
6081 : void fd_vote_authorized_voter_destroy( fd_vote_authorized_voter_t * self, fd_bincode_destroy_ctx_t * ctx );
6082 : void fd_vote_authorized_voter_walk( void * w, fd_vote_authorized_voter_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6083 : ulong fd_vote_authorized_voter_size( fd_vote_authorized_voter_t const * self );
6084 : ulong fd_vote_authorized_voter_footprint( void );
6085 : ulong fd_vote_authorized_voter_align( void );
6086 :
6087 : void fd_vote_prior_voter_new( fd_vote_prior_voter_t * self );
6088 : int fd_vote_prior_voter_decode( fd_vote_prior_voter_t * self, fd_bincode_decode_ctx_t * ctx );
6089 : int fd_vote_prior_voter_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6090 : void fd_vote_prior_voter_decode_unsafe( fd_vote_prior_voter_t * self, fd_bincode_decode_ctx_t * ctx );
6091 : int fd_vote_prior_voter_decode_offsets( fd_vote_prior_voter_off_t * self, fd_bincode_decode_ctx_t * ctx );
6092 : int fd_vote_prior_voter_encode( fd_vote_prior_voter_t const * self, fd_bincode_encode_ctx_t * ctx );
6093 : void fd_vote_prior_voter_destroy( fd_vote_prior_voter_t * self, fd_bincode_destroy_ctx_t * ctx );
6094 : void fd_vote_prior_voter_walk( void * w, fd_vote_prior_voter_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6095 : ulong fd_vote_prior_voter_size( fd_vote_prior_voter_t const * self );
6096 : ulong fd_vote_prior_voter_footprint( void );
6097 : ulong fd_vote_prior_voter_align( void );
6098 :
6099 : void fd_vote_prior_voter_0_23_5_new( fd_vote_prior_voter_0_23_5_t * self );
6100 : int fd_vote_prior_voter_0_23_5_decode( fd_vote_prior_voter_0_23_5_t * self, fd_bincode_decode_ctx_t * ctx );
6101 : int fd_vote_prior_voter_0_23_5_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6102 : void fd_vote_prior_voter_0_23_5_decode_unsafe( fd_vote_prior_voter_0_23_5_t * self, fd_bincode_decode_ctx_t * ctx );
6103 : int fd_vote_prior_voter_0_23_5_decode_offsets( fd_vote_prior_voter_0_23_5_off_t * self, fd_bincode_decode_ctx_t * ctx );
6104 : int fd_vote_prior_voter_0_23_5_encode( fd_vote_prior_voter_0_23_5_t const * self, fd_bincode_encode_ctx_t * ctx );
6105 : void fd_vote_prior_voter_0_23_5_destroy( fd_vote_prior_voter_0_23_5_t * self, fd_bincode_destroy_ctx_t * ctx );
6106 : void fd_vote_prior_voter_0_23_5_walk( void * w, fd_vote_prior_voter_0_23_5_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6107 : ulong fd_vote_prior_voter_0_23_5_size( fd_vote_prior_voter_0_23_5_t const * self );
6108 : ulong fd_vote_prior_voter_0_23_5_footprint( void );
6109 : ulong fd_vote_prior_voter_0_23_5_align( void );
6110 :
6111 : void fd_vote_epoch_credits_new( fd_vote_epoch_credits_t * self );
6112 : int fd_vote_epoch_credits_decode( fd_vote_epoch_credits_t * self, fd_bincode_decode_ctx_t * ctx );
6113 : int fd_vote_epoch_credits_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6114 : void fd_vote_epoch_credits_decode_unsafe( fd_vote_epoch_credits_t * self, fd_bincode_decode_ctx_t * ctx );
6115 : int fd_vote_epoch_credits_decode_offsets( fd_vote_epoch_credits_off_t * self, fd_bincode_decode_ctx_t * ctx );
6116 : int fd_vote_epoch_credits_encode( fd_vote_epoch_credits_t const * self, fd_bincode_encode_ctx_t * ctx );
6117 : void fd_vote_epoch_credits_destroy( fd_vote_epoch_credits_t * self, fd_bincode_destroy_ctx_t * ctx );
6118 : void fd_vote_epoch_credits_walk( void * w, fd_vote_epoch_credits_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6119 : ulong fd_vote_epoch_credits_size( fd_vote_epoch_credits_t const * self );
6120 : ulong fd_vote_epoch_credits_footprint( void );
6121 : ulong fd_vote_epoch_credits_align( void );
6122 :
6123 : void fd_vote_block_timestamp_new( fd_vote_block_timestamp_t * self );
6124 : int fd_vote_block_timestamp_decode( fd_vote_block_timestamp_t * self, fd_bincode_decode_ctx_t * ctx );
6125 : int fd_vote_block_timestamp_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6126 : void fd_vote_block_timestamp_decode_unsafe( fd_vote_block_timestamp_t * self, fd_bincode_decode_ctx_t * ctx );
6127 : int fd_vote_block_timestamp_decode_offsets( fd_vote_block_timestamp_off_t * self, fd_bincode_decode_ctx_t * ctx );
6128 : int fd_vote_block_timestamp_encode( fd_vote_block_timestamp_t const * self, fd_bincode_encode_ctx_t * ctx );
6129 : void fd_vote_block_timestamp_destroy( fd_vote_block_timestamp_t * self, fd_bincode_destroy_ctx_t * ctx );
6130 : void fd_vote_block_timestamp_walk( void * w, fd_vote_block_timestamp_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6131 : ulong fd_vote_block_timestamp_size( fd_vote_block_timestamp_t const * self );
6132 : ulong fd_vote_block_timestamp_footprint( void );
6133 : ulong fd_vote_block_timestamp_align( void );
6134 :
6135 : void fd_vote_prior_voters_new( fd_vote_prior_voters_t * self );
6136 : int fd_vote_prior_voters_decode( fd_vote_prior_voters_t * self, fd_bincode_decode_ctx_t * ctx );
6137 : int fd_vote_prior_voters_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6138 : void fd_vote_prior_voters_decode_unsafe( fd_vote_prior_voters_t * self, fd_bincode_decode_ctx_t * ctx );
6139 : int fd_vote_prior_voters_decode_offsets( fd_vote_prior_voters_off_t * self, fd_bincode_decode_ctx_t * ctx );
6140 : int fd_vote_prior_voters_encode( fd_vote_prior_voters_t const * self, fd_bincode_encode_ctx_t * ctx );
6141 : void fd_vote_prior_voters_destroy( fd_vote_prior_voters_t * self, fd_bincode_destroy_ctx_t * ctx );
6142 : void fd_vote_prior_voters_walk( void * w, fd_vote_prior_voters_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6143 : ulong fd_vote_prior_voters_size( fd_vote_prior_voters_t const * self );
6144 : ulong fd_vote_prior_voters_footprint( void );
6145 : ulong fd_vote_prior_voters_align( void );
6146 :
6147 : void fd_vote_prior_voters_0_23_5_new( fd_vote_prior_voters_0_23_5_t * self );
6148 : int fd_vote_prior_voters_0_23_5_decode( fd_vote_prior_voters_0_23_5_t * self, fd_bincode_decode_ctx_t * ctx );
6149 : int fd_vote_prior_voters_0_23_5_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6150 : void fd_vote_prior_voters_0_23_5_decode_unsafe( fd_vote_prior_voters_0_23_5_t * self, fd_bincode_decode_ctx_t * ctx );
6151 : int fd_vote_prior_voters_0_23_5_decode_offsets( fd_vote_prior_voters_0_23_5_off_t * self, fd_bincode_decode_ctx_t * ctx );
6152 : int fd_vote_prior_voters_0_23_5_encode( fd_vote_prior_voters_0_23_5_t const * self, fd_bincode_encode_ctx_t * ctx );
6153 : void fd_vote_prior_voters_0_23_5_destroy( fd_vote_prior_voters_0_23_5_t * self, fd_bincode_destroy_ctx_t * ctx );
6154 : void fd_vote_prior_voters_0_23_5_walk( void * w, fd_vote_prior_voters_0_23_5_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6155 : ulong fd_vote_prior_voters_0_23_5_size( fd_vote_prior_voters_0_23_5_t const * self );
6156 : ulong fd_vote_prior_voters_0_23_5_footprint( void );
6157 : ulong fd_vote_prior_voters_0_23_5_align( void );
6158 :
6159 : void fd_landed_vote_new( fd_landed_vote_t * self );
6160 : int fd_landed_vote_decode( fd_landed_vote_t * self, fd_bincode_decode_ctx_t * ctx );
6161 : int fd_landed_vote_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6162 : void fd_landed_vote_decode_unsafe( fd_landed_vote_t * self, fd_bincode_decode_ctx_t * ctx );
6163 : int fd_landed_vote_decode_offsets( fd_landed_vote_off_t * self, fd_bincode_decode_ctx_t * ctx );
6164 : int fd_landed_vote_encode( fd_landed_vote_t const * self, fd_bincode_encode_ctx_t * ctx );
6165 : void fd_landed_vote_destroy( fd_landed_vote_t * self, fd_bincode_destroy_ctx_t * ctx );
6166 : void fd_landed_vote_walk( void * w, fd_landed_vote_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6167 : ulong fd_landed_vote_size( fd_landed_vote_t const * self );
6168 : ulong fd_landed_vote_footprint( void );
6169 : ulong fd_landed_vote_align( void );
6170 :
6171 : void fd_vote_state_0_23_5_new( fd_vote_state_0_23_5_t * self );
6172 : int fd_vote_state_0_23_5_decode( fd_vote_state_0_23_5_t * self, fd_bincode_decode_ctx_t * ctx );
6173 : int fd_vote_state_0_23_5_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6174 : void fd_vote_state_0_23_5_decode_unsafe( fd_vote_state_0_23_5_t * self, fd_bincode_decode_ctx_t * ctx );
6175 : int fd_vote_state_0_23_5_decode_offsets( fd_vote_state_0_23_5_off_t * self, fd_bincode_decode_ctx_t * ctx );
6176 : int fd_vote_state_0_23_5_encode( fd_vote_state_0_23_5_t const * self, fd_bincode_encode_ctx_t * ctx );
6177 : void fd_vote_state_0_23_5_destroy( fd_vote_state_0_23_5_t * self, fd_bincode_destroy_ctx_t * ctx );
6178 : void fd_vote_state_0_23_5_walk( void * w, fd_vote_state_0_23_5_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6179 : ulong fd_vote_state_0_23_5_size( fd_vote_state_0_23_5_t const * self );
6180 : ulong fd_vote_state_0_23_5_footprint( void );
6181 : ulong fd_vote_state_0_23_5_align( void );
6182 :
6183 : void fd_vote_authorized_voters_new( fd_vote_authorized_voters_t * self );
6184 : int fd_vote_authorized_voters_decode( fd_vote_authorized_voters_t * self, fd_bincode_decode_ctx_t * ctx );
6185 : int fd_vote_authorized_voters_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6186 : void fd_vote_authorized_voters_decode_unsafe( fd_vote_authorized_voters_t * self, fd_bincode_decode_ctx_t * ctx );
6187 : int fd_vote_authorized_voters_decode_offsets( fd_vote_authorized_voters_off_t * self, fd_bincode_decode_ctx_t * ctx );
6188 : int fd_vote_authorized_voters_encode( fd_vote_authorized_voters_t const * self, fd_bincode_encode_ctx_t * ctx );
6189 : void fd_vote_authorized_voters_destroy( fd_vote_authorized_voters_t * self, fd_bincode_destroy_ctx_t * ctx );
6190 : void fd_vote_authorized_voters_walk( void * w, fd_vote_authorized_voters_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6191 : ulong fd_vote_authorized_voters_size( fd_vote_authorized_voters_t const * self );
6192 : ulong fd_vote_authorized_voters_footprint( void );
6193 : ulong fd_vote_authorized_voters_align( void );
6194 :
6195 : void fd_vote_state_1_14_11_new( fd_vote_state_1_14_11_t * self );
6196 : int fd_vote_state_1_14_11_decode( fd_vote_state_1_14_11_t * self, fd_bincode_decode_ctx_t * ctx );
6197 : int fd_vote_state_1_14_11_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6198 : void fd_vote_state_1_14_11_decode_unsafe( fd_vote_state_1_14_11_t * self, fd_bincode_decode_ctx_t * ctx );
6199 : int fd_vote_state_1_14_11_decode_offsets( fd_vote_state_1_14_11_off_t * self, fd_bincode_decode_ctx_t * ctx );
6200 : int fd_vote_state_1_14_11_encode( fd_vote_state_1_14_11_t const * self, fd_bincode_encode_ctx_t * ctx );
6201 : void fd_vote_state_1_14_11_destroy( fd_vote_state_1_14_11_t * self, fd_bincode_destroy_ctx_t * ctx );
6202 : void fd_vote_state_1_14_11_walk( void * w, fd_vote_state_1_14_11_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6203 : ulong fd_vote_state_1_14_11_size( fd_vote_state_1_14_11_t const * self );
6204 : ulong fd_vote_state_1_14_11_footprint( void );
6205 : ulong fd_vote_state_1_14_11_align( void );
6206 :
6207 : void fd_vote_state_new( fd_vote_state_t * self );
6208 : int fd_vote_state_decode( fd_vote_state_t * self, fd_bincode_decode_ctx_t * ctx );
6209 : int fd_vote_state_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6210 : void fd_vote_state_decode_unsafe( fd_vote_state_t * self, fd_bincode_decode_ctx_t * ctx );
6211 : int fd_vote_state_decode_offsets( fd_vote_state_off_t * self, fd_bincode_decode_ctx_t * ctx );
6212 : int fd_vote_state_encode( fd_vote_state_t const * self, fd_bincode_encode_ctx_t * ctx );
6213 : void fd_vote_state_destroy( fd_vote_state_t * self, fd_bincode_destroy_ctx_t * ctx );
6214 : void fd_vote_state_walk( void * w, fd_vote_state_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6215 : ulong fd_vote_state_size( fd_vote_state_t const * self );
6216 : ulong fd_vote_state_footprint( void );
6217 : ulong fd_vote_state_align( void );
6218 :
6219 : void fd_vote_state_versioned_new_disc( fd_vote_state_versioned_t * self, uint discriminant );
6220 : void fd_vote_state_versioned_new( fd_vote_state_versioned_t * self );
6221 : int fd_vote_state_versioned_decode( fd_vote_state_versioned_t * self, fd_bincode_decode_ctx_t * ctx );
6222 : int fd_vote_state_versioned_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6223 : void fd_vote_state_versioned_decode_unsafe( fd_vote_state_versioned_t * self, fd_bincode_decode_ctx_t * ctx );
6224 : int fd_vote_state_versioned_decode_offsets( fd_vote_state_versioned_off_t * self, fd_bincode_decode_ctx_t * ctx );
6225 : int fd_vote_state_versioned_encode( fd_vote_state_versioned_t const * self, fd_bincode_encode_ctx_t * ctx );
6226 : void fd_vote_state_versioned_destroy( fd_vote_state_versioned_t * self, fd_bincode_destroy_ctx_t * ctx );
6227 : void fd_vote_state_versioned_walk( void * w, fd_vote_state_versioned_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6228 : ulong fd_vote_state_versioned_size( fd_vote_state_versioned_t const * self );
6229 : ulong fd_vote_state_versioned_footprint( void );
6230 : ulong fd_vote_state_versioned_align( void );
6231 :
6232 : FD_FN_PURE uchar fd_vote_state_versioned_is_v0_23_5( fd_vote_state_versioned_t const * self );
6233 : FD_FN_PURE uchar fd_vote_state_versioned_is_v1_14_11( fd_vote_state_versioned_t const * self );
6234 : FD_FN_PURE uchar fd_vote_state_versioned_is_current( fd_vote_state_versioned_t const * self );
6235 : enum {
6236 : fd_vote_state_versioned_enum_v0_23_5 = 0,
6237 : fd_vote_state_versioned_enum_v1_14_11 = 1,
6238 : fd_vote_state_versioned_enum_current = 2,
6239 : };
6240 : void fd_vote_state_update_new( fd_vote_state_update_t * self );
6241 : int fd_vote_state_update_decode( fd_vote_state_update_t * self, fd_bincode_decode_ctx_t * ctx );
6242 : int fd_vote_state_update_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6243 : void fd_vote_state_update_decode_unsafe( fd_vote_state_update_t * self, fd_bincode_decode_ctx_t * ctx );
6244 : int fd_vote_state_update_decode_offsets( fd_vote_state_update_off_t * self, fd_bincode_decode_ctx_t * ctx );
6245 : int fd_vote_state_update_encode( fd_vote_state_update_t const * self, fd_bincode_encode_ctx_t * ctx );
6246 : void fd_vote_state_update_destroy( fd_vote_state_update_t * self, fd_bincode_destroy_ctx_t * ctx );
6247 : void fd_vote_state_update_walk( void * w, fd_vote_state_update_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6248 : ulong fd_vote_state_update_size( fd_vote_state_update_t const * self );
6249 : ulong fd_vote_state_update_footprint( void );
6250 : ulong fd_vote_state_update_align( void );
6251 :
6252 : void fd_compact_vote_state_update_new( fd_compact_vote_state_update_t * self );
6253 : int fd_compact_vote_state_update_decode( fd_compact_vote_state_update_t * self, fd_bincode_decode_ctx_t * ctx );
6254 : int fd_compact_vote_state_update_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6255 : void fd_compact_vote_state_update_decode_unsafe( fd_compact_vote_state_update_t * self, fd_bincode_decode_ctx_t * ctx );
6256 : int fd_compact_vote_state_update_decode_offsets( fd_compact_vote_state_update_off_t * self, fd_bincode_decode_ctx_t * ctx );
6257 : int fd_compact_vote_state_update_encode( fd_compact_vote_state_update_t const * self, fd_bincode_encode_ctx_t * ctx );
6258 : void fd_compact_vote_state_update_destroy( fd_compact_vote_state_update_t * self, fd_bincode_destroy_ctx_t * ctx );
6259 : void fd_compact_vote_state_update_walk( void * w, fd_compact_vote_state_update_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6260 : ulong fd_compact_vote_state_update_size( fd_compact_vote_state_update_t const * self );
6261 : ulong fd_compact_vote_state_update_footprint( void );
6262 : ulong fd_compact_vote_state_update_align( void );
6263 :
6264 : void fd_compact_vote_state_update_switch_new( fd_compact_vote_state_update_switch_t * self );
6265 : int fd_compact_vote_state_update_switch_decode( fd_compact_vote_state_update_switch_t * self, fd_bincode_decode_ctx_t * ctx );
6266 : int fd_compact_vote_state_update_switch_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6267 : void fd_compact_vote_state_update_switch_decode_unsafe( fd_compact_vote_state_update_switch_t * self, fd_bincode_decode_ctx_t * ctx );
6268 : int fd_compact_vote_state_update_switch_decode_offsets( fd_compact_vote_state_update_switch_off_t * self, fd_bincode_decode_ctx_t * ctx );
6269 : int fd_compact_vote_state_update_switch_encode( fd_compact_vote_state_update_switch_t const * self, fd_bincode_encode_ctx_t * ctx );
6270 : void fd_compact_vote_state_update_switch_destroy( fd_compact_vote_state_update_switch_t * self, fd_bincode_destroy_ctx_t * ctx );
6271 : void fd_compact_vote_state_update_switch_walk( void * w, fd_compact_vote_state_update_switch_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6272 : ulong fd_compact_vote_state_update_switch_size( fd_compact_vote_state_update_switch_t const * self );
6273 : ulong fd_compact_vote_state_update_switch_footprint( void );
6274 : ulong fd_compact_vote_state_update_switch_align( void );
6275 :
6276 : void fd_compact_tower_sync_new( fd_compact_tower_sync_t * self );
6277 : int fd_compact_tower_sync_decode( fd_compact_tower_sync_t * self, fd_bincode_decode_ctx_t * ctx );
6278 : int fd_compact_tower_sync_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6279 : void fd_compact_tower_sync_decode_unsafe( fd_compact_tower_sync_t * self, fd_bincode_decode_ctx_t * ctx );
6280 : int fd_compact_tower_sync_decode_offsets( fd_compact_tower_sync_off_t * self, fd_bincode_decode_ctx_t * ctx );
6281 : int fd_compact_tower_sync_encode( fd_compact_tower_sync_t const * self, fd_bincode_encode_ctx_t * ctx );
6282 : void fd_compact_tower_sync_destroy( fd_compact_tower_sync_t * self, fd_bincode_destroy_ctx_t * ctx );
6283 : void fd_compact_tower_sync_walk( void * w, fd_compact_tower_sync_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6284 : ulong fd_compact_tower_sync_size( fd_compact_tower_sync_t const * self );
6285 : ulong fd_compact_tower_sync_footprint( void );
6286 : ulong fd_compact_tower_sync_align( void );
6287 :
6288 : void fd_tower_sync_new( fd_tower_sync_t * self );
6289 : int fd_tower_sync_decode( fd_tower_sync_t * self, fd_bincode_decode_ctx_t * ctx );
6290 : int fd_tower_sync_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6291 : void fd_tower_sync_decode_unsafe( fd_tower_sync_t * self, fd_bincode_decode_ctx_t * ctx );
6292 : int fd_tower_sync_decode_offsets( fd_tower_sync_off_t * self, fd_bincode_decode_ctx_t * ctx );
6293 : int fd_tower_sync_encode( fd_tower_sync_t const * self, fd_bincode_encode_ctx_t * ctx );
6294 : void fd_tower_sync_destroy( fd_tower_sync_t * self, fd_bincode_destroy_ctx_t * ctx );
6295 : void fd_tower_sync_walk( void * w, fd_tower_sync_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6296 : ulong fd_tower_sync_size( fd_tower_sync_t const * self );
6297 : ulong fd_tower_sync_footprint( void );
6298 : ulong fd_tower_sync_align( void );
6299 :
6300 : void fd_tower_sync_switch_new( fd_tower_sync_switch_t * self );
6301 : int fd_tower_sync_switch_decode( fd_tower_sync_switch_t * self, fd_bincode_decode_ctx_t * ctx );
6302 : int fd_tower_sync_switch_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6303 : void fd_tower_sync_switch_decode_unsafe( fd_tower_sync_switch_t * self, fd_bincode_decode_ctx_t * ctx );
6304 : int fd_tower_sync_switch_decode_offsets( fd_tower_sync_switch_off_t * self, fd_bincode_decode_ctx_t * ctx );
6305 : int fd_tower_sync_switch_encode( fd_tower_sync_switch_t const * self, fd_bincode_encode_ctx_t * ctx );
6306 : void fd_tower_sync_switch_destroy( fd_tower_sync_switch_t * self, fd_bincode_destroy_ctx_t * ctx );
6307 : void fd_tower_sync_switch_walk( void * w, fd_tower_sync_switch_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6308 : ulong fd_tower_sync_switch_size( fd_tower_sync_switch_t const * self );
6309 : ulong fd_tower_sync_switch_footprint( void );
6310 : ulong fd_tower_sync_switch_align( void );
6311 :
6312 : void fd_slot_history_inner_new( fd_slot_history_inner_t * self );
6313 : int fd_slot_history_inner_decode( fd_slot_history_inner_t * self, fd_bincode_decode_ctx_t * ctx );
6314 : int fd_slot_history_inner_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6315 : void fd_slot_history_inner_decode_unsafe( fd_slot_history_inner_t * self, fd_bincode_decode_ctx_t * ctx );
6316 : int fd_slot_history_inner_decode_offsets( fd_slot_history_inner_off_t * self, fd_bincode_decode_ctx_t * ctx );
6317 : int fd_slot_history_inner_encode( fd_slot_history_inner_t const * self, fd_bincode_encode_ctx_t * ctx );
6318 : void fd_slot_history_inner_destroy( fd_slot_history_inner_t * self, fd_bincode_destroy_ctx_t * ctx );
6319 : void fd_slot_history_inner_walk( void * w, fd_slot_history_inner_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6320 : ulong fd_slot_history_inner_size( fd_slot_history_inner_t const * self );
6321 : ulong fd_slot_history_inner_footprint( void );
6322 : ulong fd_slot_history_inner_align( void );
6323 :
6324 : void fd_slot_history_bitvec_new( fd_slot_history_bitvec_t * self );
6325 : int fd_slot_history_bitvec_decode( fd_slot_history_bitvec_t * self, fd_bincode_decode_ctx_t * ctx );
6326 : int fd_slot_history_bitvec_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6327 : void fd_slot_history_bitvec_decode_unsafe( fd_slot_history_bitvec_t * self, fd_bincode_decode_ctx_t * ctx );
6328 : int fd_slot_history_bitvec_decode_offsets( fd_slot_history_bitvec_off_t * self, fd_bincode_decode_ctx_t * ctx );
6329 : int fd_slot_history_bitvec_encode( fd_slot_history_bitvec_t const * self, fd_bincode_encode_ctx_t * ctx );
6330 : void fd_slot_history_bitvec_destroy( fd_slot_history_bitvec_t * self, fd_bincode_destroy_ctx_t * ctx );
6331 : void fd_slot_history_bitvec_walk( void * w, fd_slot_history_bitvec_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6332 : ulong fd_slot_history_bitvec_size( fd_slot_history_bitvec_t const * self );
6333 : ulong fd_slot_history_bitvec_footprint( void );
6334 : ulong fd_slot_history_bitvec_align( void );
6335 :
6336 : void fd_slot_history_new( fd_slot_history_t * self );
6337 : int fd_slot_history_decode( fd_slot_history_t * self, fd_bincode_decode_ctx_t * ctx );
6338 : int fd_slot_history_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6339 : void fd_slot_history_decode_unsafe( fd_slot_history_t * self, fd_bincode_decode_ctx_t * ctx );
6340 : int fd_slot_history_decode_offsets( fd_slot_history_off_t * self, fd_bincode_decode_ctx_t * ctx );
6341 : int fd_slot_history_encode( fd_slot_history_t const * self, fd_bincode_encode_ctx_t * ctx );
6342 : void fd_slot_history_destroy( fd_slot_history_t * self, fd_bincode_destroy_ctx_t * ctx );
6343 : void fd_slot_history_walk( void * w, fd_slot_history_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6344 : ulong fd_slot_history_size( fd_slot_history_t const * self );
6345 : ulong fd_slot_history_footprint( void );
6346 : ulong fd_slot_history_align( void );
6347 :
6348 : void fd_slot_hash_new( fd_slot_hash_t * self );
6349 : int fd_slot_hash_decode( fd_slot_hash_t * self, fd_bincode_decode_ctx_t * ctx );
6350 : int fd_slot_hash_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6351 : void fd_slot_hash_decode_unsafe( fd_slot_hash_t * self, fd_bincode_decode_ctx_t * ctx );
6352 : int fd_slot_hash_decode_offsets( fd_slot_hash_off_t * self, fd_bincode_decode_ctx_t * ctx );
6353 : int fd_slot_hash_encode( fd_slot_hash_t const * self, fd_bincode_encode_ctx_t * ctx );
6354 : void fd_slot_hash_destroy( fd_slot_hash_t * self, fd_bincode_destroy_ctx_t * ctx );
6355 : void fd_slot_hash_walk( void * w, fd_slot_hash_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6356 : ulong fd_slot_hash_size( fd_slot_hash_t const * self );
6357 : ulong fd_slot_hash_footprint( void );
6358 : ulong fd_slot_hash_align( void );
6359 :
6360 : void fd_slot_hashes_new( fd_slot_hashes_t * self );
6361 : int fd_slot_hashes_decode( fd_slot_hashes_t * self, fd_bincode_decode_ctx_t * ctx );
6362 : int fd_slot_hashes_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6363 : void fd_slot_hashes_decode_unsafe( fd_slot_hashes_t * self, fd_bincode_decode_ctx_t * ctx );
6364 : int fd_slot_hashes_decode_offsets( fd_slot_hashes_off_t * self, fd_bincode_decode_ctx_t * ctx );
6365 : int fd_slot_hashes_encode( fd_slot_hashes_t const * self, fd_bincode_encode_ctx_t * ctx );
6366 : void fd_slot_hashes_destroy( fd_slot_hashes_t * self, fd_bincode_destroy_ctx_t * ctx );
6367 : void fd_slot_hashes_walk( void * w, fd_slot_hashes_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6368 : ulong fd_slot_hashes_size( fd_slot_hashes_t const * self );
6369 : ulong fd_slot_hashes_footprint( void );
6370 : ulong fd_slot_hashes_align( void );
6371 :
6372 : void fd_block_block_hash_entry_new( fd_block_block_hash_entry_t * self );
6373 : int fd_block_block_hash_entry_decode( fd_block_block_hash_entry_t * self, fd_bincode_decode_ctx_t * ctx );
6374 : int fd_block_block_hash_entry_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6375 : void fd_block_block_hash_entry_decode_unsafe( fd_block_block_hash_entry_t * self, fd_bincode_decode_ctx_t * ctx );
6376 : int fd_block_block_hash_entry_decode_offsets( fd_block_block_hash_entry_off_t * self, fd_bincode_decode_ctx_t * ctx );
6377 : int fd_block_block_hash_entry_encode( fd_block_block_hash_entry_t const * self, fd_bincode_encode_ctx_t * ctx );
6378 : void fd_block_block_hash_entry_destroy( fd_block_block_hash_entry_t * self, fd_bincode_destroy_ctx_t * ctx );
6379 : void fd_block_block_hash_entry_walk( void * w, fd_block_block_hash_entry_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6380 : ulong fd_block_block_hash_entry_size( fd_block_block_hash_entry_t const * self );
6381 : ulong fd_block_block_hash_entry_footprint( void );
6382 : ulong fd_block_block_hash_entry_align( void );
6383 : int fd_block_block_hash_entry_decode_archival( fd_block_block_hash_entry_t * self, fd_bincode_decode_ctx_t * ctx );
6384 : int fd_block_block_hash_entry_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
6385 : void fd_block_block_hash_entry_decode_archival_unsafe( fd_block_block_hash_entry_t * self, fd_bincode_decode_ctx_t * ctx );
6386 : int fd_block_block_hash_entry_encode_archival( fd_block_block_hash_entry_t const * self, fd_bincode_encode_ctx_t * ctx );
6387 :
6388 : void fd_recent_block_hashes_new( fd_recent_block_hashes_t * self );
6389 : int fd_recent_block_hashes_decode( fd_recent_block_hashes_t * self, fd_bincode_decode_ctx_t * ctx );
6390 : int fd_recent_block_hashes_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6391 : void fd_recent_block_hashes_decode_unsafe( fd_recent_block_hashes_t * self, fd_bincode_decode_ctx_t * ctx );
6392 : int fd_recent_block_hashes_decode_offsets( fd_recent_block_hashes_off_t * self, fd_bincode_decode_ctx_t * ctx );
6393 : int fd_recent_block_hashes_encode( fd_recent_block_hashes_t const * self, fd_bincode_encode_ctx_t * ctx );
6394 : void fd_recent_block_hashes_destroy( fd_recent_block_hashes_t * self, fd_bincode_destroy_ctx_t * ctx );
6395 : void fd_recent_block_hashes_walk( void * w, fd_recent_block_hashes_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6396 : ulong fd_recent_block_hashes_size( fd_recent_block_hashes_t const * self );
6397 : ulong fd_recent_block_hashes_footprint( void );
6398 : ulong fd_recent_block_hashes_align( void );
6399 : int fd_recent_block_hashes_decode_archival( fd_recent_block_hashes_t * self, fd_bincode_decode_ctx_t * ctx );
6400 : int fd_recent_block_hashes_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
6401 : void fd_recent_block_hashes_decode_archival_unsafe( fd_recent_block_hashes_t * self, fd_bincode_decode_ctx_t * ctx );
6402 : int fd_recent_block_hashes_encode_archival( fd_recent_block_hashes_t const * self, fd_bincode_encode_ctx_t * ctx );
6403 :
6404 : void fd_slot_meta_new( fd_slot_meta_t * self );
6405 : int fd_slot_meta_decode( fd_slot_meta_t * self, fd_bincode_decode_ctx_t * ctx );
6406 : int fd_slot_meta_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6407 : void fd_slot_meta_decode_unsafe( fd_slot_meta_t * self, fd_bincode_decode_ctx_t * ctx );
6408 : int fd_slot_meta_decode_offsets( fd_slot_meta_off_t * self, fd_bincode_decode_ctx_t * ctx );
6409 : int fd_slot_meta_encode( fd_slot_meta_t const * self, fd_bincode_encode_ctx_t * ctx );
6410 : void fd_slot_meta_destroy( fd_slot_meta_t * self, fd_bincode_destroy_ctx_t * ctx );
6411 : void fd_slot_meta_walk( void * w, fd_slot_meta_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6412 : ulong fd_slot_meta_size( fd_slot_meta_t const * self );
6413 : ulong fd_slot_meta_footprint( void );
6414 : ulong fd_slot_meta_align( void );
6415 :
6416 : void fd_clock_timestamp_vote_new( fd_clock_timestamp_vote_t * self );
6417 : int fd_clock_timestamp_vote_decode( fd_clock_timestamp_vote_t * self, fd_bincode_decode_ctx_t * ctx );
6418 : int fd_clock_timestamp_vote_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6419 : void fd_clock_timestamp_vote_decode_unsafe( fd_clock_timestamp_vote_t * self, fd_bincode_decode_ctx_t * ctx );
6420 : int fd_clock_timestamp_vote_decode_offsets( fd_clock_timestamp_vote_off_t * self, fd_bincode_decode_ctx_t * ctx );
6421 : int fd_clock_timestamp_vote_encode( fd_clock_timestamp_vote_t const * self, fd_bincode_encode_ctx_t * ctx );
6422 : void fd_clock_timestamp_vote_destroy( fd_clock_timestamp_vote_t * self, fd_bincode_destroy_ctx_t * ctx );
6423 : void fd_clock_timestamp_vote_walk( void * w, fd_clock_timestamp_vote_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6424 : ulong fd_clock_timestamp_vote_size( fd_clock_timestamp_vote_t const * self );
6425 : ulong fd_clock_timestamp_vote_footprint( void );
6426 : ulong fd_clock_timestamp_vote_align( void );
6427 : int fd_clock_timestamp_vote_decode_archival( fd_clock_timestamp_vote_t * self, fd_bincode_decode_ctx_t * ctx );
6428 : int fd_clock_timestamp_vote_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
6429 : void fd_clock_timestamp_vote_decode_archival_unsafe( fd_clock_timestamp_vote_t * self, fd_bincode_decode_ctx_t * ctx );
6430 : int fd_clock_timestamp_vote_encode_archival( fd_clock_timestamp_vote_t const * self, fd_bincode_encode_ctx_t * ctx );
6431 :
6432 : void fd_clock_timestamp_votes_new( fd_clock_timestamp_votes_t * self );
6433 : int fd_clock_timestamp_votes_decode( fd_clock_timestamp_votes_t * self, fd_bincode_decode_ctx_t * ctx );
6434 : int fd_clock_timestamp_votes_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6435 : void fd_clock_timestamp_votes_decode_unsafe( fd_clock_timestamp_votes_t * self, fd_bincode_decode_ctx_t * ctx );
6436 : int fd_clock_timestamp_votes_decode_offsets( fd_clock_timestamp_votes_off_t * self, fd_bincode_decode_ctx_t * ctx );
6437 : int fd_clock_timestamp_votes_encode( fd_clock_timestamp_votes_t const * self, fd_bincode_encode_ctx_t * ctx );
6438 : void fd_clock_timestamp_votes_destroy( fd_clock_timestamp_votes_t * self, fd_bincode_destroy_ctx_t * ctx );
6439 : void fd_clock_timestamp_votes_walk( void * w, fd_clock_timestamp_votes_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6440 : ulong fd_clock_timestamp_votes_size( fd_clock_timestamp_votes_t const * self );
6441 : ulong fd_clock_timestamp_votes_footprint( void );
6442 : ulong fd_clock_timestamp_votes_align( void );
6443 : int fd_clock_timestamp_votes_decode_archival( fd_clock_timestamp_votes_t * self, fd_bincode_decode_ctx_t * ctx );
6444 : int fd_clock_timestamp_votes_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
6445 : void fd_clock_timestamp_votes_decode_archival_unsafe( fd_clock_timestamp_votes_t * self, fd_bincode_decode_ctx_t * ctx );
6446 : int fd_clock_timestamp_votes_encode_archival( fd_clock_timestamp_votes_t const * self, fd_bincode_encode_ctx_t * ctx );
6447 :
6448 : void fd_sysvar_fees_new( fd_sysvar_fees_t * self );
6449 : int fd_sysvar_fees_decode( fd_sysvar_fees_t * self, fd_bincode_decode_ctx_t * ctx );
6450 : int fd_sysvar_fees_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6451 : void fd_sysvar_fees_decode_unsafe( fd_sysvar_fees_t * self, fd_bincode_decode_ctx_t * ctx );
6452 : int fd_sysvar_fees_decode_offsets( fd_sysvar_fees_off_t * self, fd_bincode_decode_ctx_t * ctx );
6453 : int fd_sysvar_fees_encode( fd_sysvar_fees_t const * self, fd_bincode_encode_ctx_t * ctx );
6454 : void fd_sysvar_fees_destroy( fd_sysvar_fees_t * self, fd_bincode_destroy_ctx_t * ctx );
6455 : void fd_sysvar_fees_walk( void * w, fd_sysvar_fees_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6456 : ulong fd_sysvar_fees_size( fd_sysvar_fees_t const * self );
6457 : ulong fd_sysvar_fees_footprint( void );
6458 : ulong fd_sysvar_fees_align( void );
6459 :
6460 : void fd_sysvar_epoch_rewards_new( fd_sysvar_epoch_rewards_t * self );
6461 : int fd_sysvar_epoch_rewards_decode( fd_sysvar_epoch_rewards_t * self, fd_bincode_decode_ctx_t * ctx );
6462 : int fd_sysvar_epoch_rewards_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6463 : void fd_sysvar_epoch_rewards_decode_unsafe( fd_sysvar_epoch_rewards_t * self, fd_bincode_decode_ctx_t * ctx );
6464 : int fd_sysvar_epoch_rewards_decode_offsets( fd_sysvar_epoch_rewards_off_t * self, fd_bincode_decode_ctx_t * ctx );
6465 : int fd_sysvar_epoch_rewards_encode( fd_sysvar_epoch_rewards_t const * self, fd_bincode_encode_ctx_t * ctx );
6466 : void fd_sysvar_epoch_rewards_destroy( fd_sysvar_epoch_rewards_t * self, fd_bincode_destroy_ctx_t * ctx );
6467 : void fd_sysvar_epoch_rewards_walk( void * w, fd_sysvar_epoch_rewards_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6468 : ulong fd_sysvar_epoch_rewards_size( fd_sysvar_epoch_rewards_t const * self );
6469 : ulong fd_sysvar_epoch_rewards_footprint( void );
6470 : ulong fd_sysvar_epoch_rewards_align( void );
6471 :
6472 : void fd_config_keys_pair_new( fd_config_keys_pair_t * self );
6473 : int fd_config_keys_pair_decode( fd_config_keys_pair_t * self, fd_bincode_decode_ctx_t * ctx );
6474 : int fd_config_keys_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6475 : void fd_config_keys_pair_decode_unsafe( fd_config_keys_pair_t * self, fd_bincode_decode_ctx_t * ctx );
6476 : int fd_config_keys_pair_decode_offsets( fd_config_keys_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
6477 : int fd_config_keys_pair_encode( fd_config_keys_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
6478 : void fd_config_keys_pair_destroy( fd_config_keys_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
6479 : void fd_config_keys_pair_walk( void * w, fd_config_keys_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6480 : ulong fd_config_keys_pair_size( fd_config_keys_pair_t const * self );
6481 : ulong fd_config_keys_pair_footprint( void );
6482 : ulong fd_config_keys_pair_align( void );
6483 :
6484 : void fd_stake_config_new( fd_stake_config_t * self );
6485 : int fd_stake_config_decode( fd_stake_config_t * self, fd_bincode_decode_ctx_t * ctx );
6486 : int fd_stake_config_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6487 : void fd_stake_config_decode_unsafe( fd_stake_config_t * self, fd_bincode_decode_ctx_t * ctx );
6488 : int fd_stake_config_decode_offsets( fd_stake_config_off_t * self, fd_bincode_decode_ctx_t * ctx );
6489 : int fd_stake_config_encode( fd_stake_config_t const * self, fd_bincode_encode_ctx_t * ctx );
6490 : void fd_stake_config_destroy( fd_stake_config_t * self, fd_bincode_destroy_ctx_t * ctx );
6491 : void fd_stake_config_walk( void * w, fd_stake_config_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6492 : ulong fd_stake_config_size( fd_stake_config_t const * self );
6493 : ulong fd_stake_config_footprint( void );
6494 : ulong fd_stake_config_align( void );
6495 :
6496 : void fd_feature_entry_new( fd_feature_entry_t * self );
6497 : int fd_feature_entry_decode( fd_feature_entry_t * self, fd_bincode_decode_ctx_t * ctx );
6498 : int fd_feature_entry_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6499 : void fd_feature_entry_decode_unsafe( fd_feature_entry_t * self, fd_bincode_decode_ctx_t * ctx );
6500 : int fd_feature_entry_decode_offsets( fd_feature_entry_off_t * self, fd_bincode_decode_ctx_t * ctx );
6501 : int fd_feature_entry_encode( fd_feature_entry_t const * self, fd_bincode_encode_ctx_t * ctx );
6502 : void fd_feature_entry_destroy( fd_feature_entry_t * self, fd_bincode_destroy_ctx_t * ctx );
6503 : void fd_feature_entry_walk( void * w, fd_feature_entry_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6504 : ulong fd_feature_entry_size( fd_feature_entry_t const * self );
6505 : ulong fd_feature_entry_footprint( void );
6506 : ulong fd_feature_entry_align( void );
6507 :
6508 : void fd_firedancer_bank_new( fd_firedancer_bank_t * self );
6509 : int fd_firedancer_bank_decode( fd_firedancer_bank_t * self, fd_bincode_decode_ctx_t * ctx );
6510 : int fd_firedancer_bank_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6511 : void fd_firedancer_bank_decode_unsafe( fd_firedancer_bank_t * self, fd_bincode_decode_ctx_t * ctx );
6512 : int fd_firedancer_bank_decode_offsets( fd_firedancer_bank_off_t * self, fd_bincode_decode_ctx_t * ctx );
6513 : int fd_firedancer_bank_encode( fd_firedancer_bank_t const * self, fd_bincode_encode_ctx_t * ctx );
6514 : void fd_firedancer_bank_destroy( fd_firedancer_bank_t * self, fd_bincode_destroy_ctx_t * ctx );
6515 : void fd_firedancer_bank_walk( void * w, fd_firedancer_bank_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6516 : ulong fd_firedancer_bank_size( fd_firedancer_bank_t const * self );
6517 : ulong fd_firedancer_bank_footprint( void );
6518 : ulong fd_firedancer_bank_align( void );
6519 :
6520 : void fd_cluster_type_new_disc( fd_cluster_type_t * self, uint discriminant );
6521 : void fd_cluster_type_new( fd_cluster_type_t * self );
6522 : int fd_cluster_type_decode( fd_cluster_type_t * self, fd_bincode_decode_ctx_t * ctx );
6523 : int fd_cluster_type_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6524 : void fd_cluster_type_decode_unsafe( fd_cluster_type_t * self, fd_bincode_decode_ctx_t * ctx );
6525 : int fd_cluster_type_encode( fd_cluster_type_t const * self, fd_bincode_encode_ctx_t * ctx );
6526 : void fd_cluster_type_destroy( fd_cluster_type_t * self, fd_bincode_destroy_ctx_t * ctx );
6527 : void fd_cluster_type_walk( void * w, fd_cluster_type_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6528 : ulong fd_cluster_type_size( fd_cluster_type_t const * self );
6529 : ulong fd_cluster_type_footprint( void );
6530 : ulong fd_cluster_type_align( void );
6531 :
6532 : FD_FN_PURE uchar fd_cluster_type_is_Testnet( fd_cluster_type_t const * self );
6533 : FD_FN_PURE uchar fd_cluster_type_is_MainnetBeta( fd_cluster_type_t const * self );
6534 : FD_FN_PURE uchar fd_cluster_type_is_Devnet( fd_cluster_type_t const * self );
6535 : FD_FN_PURE uchar fd_cluster_type_is_Development( fd_cluster_type_t const * self );
6536 : enum {
6537 : fd_cluster_type_enum_Testnet = 0,
6538 : fd_cluster_type_enum_MainnetBeta = 1,
6539 : fd_cluster_type_enum_Devnet = 2,
6540 : fd_cluster_type_enum_Development = 3,
6541 : };
6542 : void fd_epoch_bank_new( fd_epoch_bank_t * self );
6543 : int fd_epoch_bank_decode( fd_epoch_bank_t * self, fd_bincode_decode_ctx_t * ctx );
6544 : int fd_epoch_bank_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6545 : void fd_epoch_bank_decode_unsafe( fd_epoch_bank_t * self, fd_bincode_decode_ctx_t * ctx );
6546 : int fd_epoch_bank_decode_offsets( fd_epoch_bank_off_t * self, fd_bincode_decode_ctx_t * ctx );
6547 : int fd_epoch_bank_encode( fd_epoch_bank_t const * self, fd_bincode_encode_ctx_t * ctx );
6548 : void fd_epoch_bank_destroy( fd_epoch_bank_t * self, fd_bincode_destroy_ctx_t * ctx );
6549 : void fd_epoch_bank_walk( void * w, fd_epoch_bank_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6550 : ulong fd_epoch_bank_size( fd_epoch_bank_t const * self );
6551 : ulong fd_epoch_bank_footprint( void );
6552 : ulong fd_epoch_bank_align( void );
6553 : int fd_epoch_bank_decode_archival( fd_epoch_bank_t * self, fd_bincode_decode_ctx_t * ctx );
6554 : int fd_epoch_bank_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
6555 : void fd_epoch_bank_decode_archival_unsafe( fd_epoch_bank_t * self, fd_bincode_decode_ctx_t * ctx );
6556 : int fd_epoch_bank_encode_archival( fd_epoch_bank_t const * self, fd_bincode_encode_ctx_t * ctx );
6557 :
6558 : void fd_slot_bank_new( fd_slot_bank_t * self );
6559 : int fd_slot_bank_decode( fd_slot_bank_t * self, fd_bincode_decode_ctx_t * ctx );
6560 : int fd_slot_bank_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6561 : void fd_slot_bank_decode_unsafe( fd_slot_bank_t * self, fd_bincode_decode_ctx_t * ctx );
6562 : int fd_slot_bank_decode_offsets( fd_slot_bank_off_t * self, fd_bincode_decode_ctx_t * ctx );
6563 : int fd_slot_bank_encode( fd_slot_bank_t const * self, fd_bincode_encode_ctx_t * ctx );
6564 : void fd_slot_bank_destroy( fd_slot_bank_t * self, fd_bincode_destroy_ctx_t * ctx );
6565 : void fd_slot_bank_walk( void * w, fd_slot_bank_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6566 : ulong fd_slot_bank_size( fd_slot_bank_t const * self );
6567 : ulong fd_slot_bank_footprint( void );
6568 : ulong fd_slot_bank_align( void );
6569 : int fd_slot_bank_decode_archival( fd_slot_bank_t * self, fd_bincode_decode_ctx_t * ctx );
6570 : int fd_slot_bank_decode_archival_preflight( fd_bincode_decode_ctx_t * ctx );
6571 : void fd_slot_bank_decode_archival_unsafe( fd_slot_bank_t * self, fd_bincode_decode_ctx_t * ctx );
6572 : int fd_slot_bank_encode_archival( fd_slot_bank_t const * self, fd_bincode_encode_ctx_t * ctx );
6573 :
6574 : void fd_prev_epoch_inflation_rewards_new( fd_prev_epoch_inflation_rewards_t * self );
6575 : int fd_prev_epoch_inflation_rewards_decode( fd_prev_epoch_inflation_rewards_t * self, fd_bincode_decode_ctx_t * ctx );
6576 : int fd_prev_epoch_inflation_rewards_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6577 : void fd_prev_epoch_inflation_rewards_decode_unsafe( fd_prev_epoch_inflation_rewards_t * self, fd_bincode_decode_ctx_t * ctx );
6578 : int fd_prev_epoch_inflation_rewards_decode_offsets( fd_prev_epoch_inflation_rewards_off_t * self, fd_bincode_decode_ctx_t * ctx );
6579 : int fd_prev_epoch_inflation_rewards_encode( fd_prev_epoch_inflation_rewards_t const * self, fd_bincode_encode_ctx_t * ctx );
6580 : void fd_prev_epoch_inflation_rewards_destroy( fd_prev_epoch_inflation_rewards_t * self, fd_bincode_destroy_ctx_t * ctx );
6581 : void fd_prev_epoch_inflation_rewards_walk( void * w, fd_prev_epoch_inflation_rewards_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6582 : ulong fd_prev_epoch_inflation_rewards_size( fd_prev_epoch_inflation_rewards_t const * self );
6583 : ulong fd_prev_epoch_inflation_rewards_footprint( void );
6584 : ulong fd_prev_epoch_inflation_rewards_align( void );
6585 :
6586 : void fd_vote_new( fd_vote_t * self );
6587 : int fd_vote_decode( fd_vote_t * self, fd_bincode_decode_ctx_t * ctx );
6588 : int fd_vote_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6589 : void fd_vote_decode_unsafe( fd_vote_t * self, fd_bincode_decode_ctx_t * ctx );
6590 : int fd_vote_decode_offsets( fd_vote_off_t * self, fd_bincode_decode_ctx_t * ctx );
6591 : int fd_vote_encode( fd_vote_t const * self, fd_bincode_encode_ctx_t * ctx );
6592 : void fd_vote_destroy( fd_vote_t * self, fd_bincode_destroy_ctx_t * ctx );
6593 : void fd_vote_walk( void * w, fd_vote_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6594 : ulong fd_vote_size( fd_vote_t const * self );
6595 : ulong fd_vote_footprint( void );
6596 : ulong fd_vote_align( void );
6597 :
6598 : void fd_vote_init_new( fd_vote_init_t * self );
6599 : int fd_vote_init_decode( fd_vote_init_t * self, fd_bincode_decode_ctx_t * ctx );
6600 : int fd_vote_init_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6601 : void fd_vote_init_decode_unsafe( fd_vote_init_t * self, fd_bincode_decode_ctx_t * ctx );
6602 : int fd_vote_init_decode_offsets( fd_vote_init_off_t * self, fd_bincode_decode_ctx_t * ctx );
6603 : int fd_vote_init_encode( fd_vote_init_t const * self, fd_bincode_encode_ctx_t * ctx );
6604 : void fd_vote_init_destroy( fd_vote_init_t * self, fd_bincode_destroy_ctx_t * ctx );
6605 : void fd_vote_init_walk( void * w, fd_vote_init_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6606 : ulong fd_vote_init_size( fd_vote_init_t const * self );
6607 : ulong fd_vote_init_footprint( void );
6608 : ulong fd_vote_init_align( void );
6609 :
6610 : void fd_vote_authorize_new_disc( fd_vote_authorize_t * self, uint discriminant );
6611 : void fd_vote_authorize_new( fd_vote_authorize_t * self );
6612 : int fd_vote_authorize_decode( fd_vote_authorize_t * self, fd_bincode_decode_ctx_t * ctx );
6613 : int fd_vote_authorize_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6614 : void fd_vote_authorize_decode_unsafe( fd_vote_authorize_t * self, fd_bincode_decode_ctx_t * ctx );
6615 : int fd_vote_authorize_encode( fd_vote_authorize_t const * self, fd_bincode_encode_ctx_t * ctx );
6616 : void fd_vote_authorize_destroy( fd_vote_authorize_t * self, fd_bincode_destroy_ctx_t * ctx );
6617 : void fd_vote_authorize_walk( void * w, fd_vote_authorize_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6618 : ulong fd_vote_authorize_size( fd_vote_authorize_t const * self );
6619 : ulong fd_vote_authorize_footprint( void );
6620 : ulong fd_vote_authorize_align( void );
6621 :
6622 : FD_FN_PURE uchar fd_vote_authorize_is_voter( fd_vote_authorize_t const * self );
6623 : FD_FN_PURE uchar fd_vote_authorize_is_withdrawer( fd_vote_authorize_t const * self );
6624 : enum {
6625 : fd_vote_authorize_enum_voter = 0,
6626 : fd_vote_authorize_enum_withdrawer = 1,
6627 : };
6628 : void fd_vote_authorize_pubkey_new( fd_vote_authorize_pubkey_t * self );
6629 : int fd_vote_authorize_pubkey_decode( fd_vote_authorize_pubkey_t * self, fd_bincode_decode_ctx_t * ctx );
6630 : int fd_vote_authorize_pubkey_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6631 : void fd_vote_authorize_pubkey_decode_unsafe( fd_vote_authorize_pubkey_t * self, fd_bincode_decode_ctx_t * ctx );
6632 : int fd_vote_authorize_pubkey_decode_offsets( fd_vote_authorize_pubkey_off_t * self, fd_bincode_decode_ctx_t * ctx );
6633 : int fd_vote_authorize_pubkey_encode( fd_vote_authorize_pubkey_t const * self, fd_bincode_encode_ctx_t * ctx );
6634 : void fd_vote_authorize_pubkey_destroy( fd_vote_authorize_pubkey_t * self, fd_bincode_destroy_ctx_t * ctx );
6635 : void fd_vote_authorize_pubkey_walk( void * w, fd_vote_authorize_pubkey_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6636 : ulong fd_vote_authorize_pubkey_size( fd_vote_authorize_pubkey_t const * self );
6637 : ulong fd_vote_authorize_pubkey_footprint( void );
6638 : ulong fd_vote_authorize_pubkey_align( void );
6639 :
6640 : void fd_vote_switch_new( fd_vote_switch_t * self );
6641 : int fd_vote_switch_decode( fd_vote_switch_t * self, fd_bincode_decode_ctx_t * ctx );
6642 : int fd_vote_switch_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6643 : void fd_vote_switch_decode_unsafe( fd_vote_switch_t * self, fd_bincode_decode_ctx_t * ctx );
6644 : int fd_vote_switch_decode_offsets( fd_vote_switch_off_t * self, fd_bincode_decode_ctx_t * ctx );
6645 : int fd_vote_switch_encode( fd_vote_switch_t const * self, fd_bincode_encode_ctx_t * ctx );
6646 : void fd_vote_switch_destroy( fd_vote_switch_t * self, fd_bincode_destroy_ctx_t * ctx );
6647 : void fd_vote_switch_walk( void * w, fd_vote_switch_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6648 : ulong fd_vote_switch_size( fd_vote_switch_t const * self );
6649 : ulong fd_vote_switch_footprint( void );
6650 : ulong fd_vote_switch_align( void );
6651 :
6652 : void fd_update_vote_state_switch_new( fd_update_vote_state_switch_t * self );
6653 : int fd_update_vote_state_switch_decode( fd_update_vote_state_switch_t * self, fd_bincode_decode_ctx_t * ctx );
6654 : int fd_update_vote_state_switch_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6655 : void fd_update_vote_state_switch_decode_unsafe( fd_update_vote_state_switch_t * self, fd_bincode_decode_ctx_t * ctx );
6656 : int fd_update_vote_state_switch_decode_offsets( fd_update_vote_state_switch_off_t * self, fd_bincode_decode_ctx_t * ctx );
6657 : int fd_update_vote_state_switch_encode( fd_update_vote_state_switch_t const * self, fd_bincode_encode_ctx_t * ctx );
6658 : void fd_update_vote_state_switch_destroy( fd_update_vote_state_switch_t * self, fd_bincode_destroy_ctx_t * ctx );
6659 : void fd_update_vote_state_switch_walk( void * w, fd_update_vote_state_switch_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6660 : ulong fd_update_vote_state_switch_size( fd_update_vote_state_switch_t const * self );
6661 : ulong fd_update_vote_state_switch_footprint( void );
6662 : ulong fd_update_vote_state_switch_align( void );
6663 :
6664 : void fd_vote_authorize_with_seed_args_new( fd_vote_authorize_with_seed_args_t * self );
6665 : int fd_vote_authorize_with_seed_args_decode( fd_vote_authorize_with_seed_args_t * self, fd_bincode_decode_ctx_t * ctx );
6666 : int fd_vote_authorize_with_seed_args_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6667 : void fd_vote_authorize_with_seed_args_decode_unsafe( fd_vote_authorize_with_seed_args_t * self, fd_bincode_decode_ctx_t * ctx );
6668 : int fd_vote_authorize_with_seed_args_decode_offsets( fd_vote_authorize_with_seed_args_off_t * self, fd_bincode_decode_ctx_t * ctx );
6669 : int fd_vote_authorize_with_seed_args_encode( fd_vote_authorize_with_seed_args_t const * self, fd_bincode_encode_ctx_t * ctx );
6670 : void fd_vote_authorize_with_seed_args_destroy( fd_vote_authorize_with_seed_args_t * self, fd_bincode_destroy_ctx_t * ctx );
6671 : void fd_vote_authorize_with_seed_args_walk( void * w, fd_vote_authorize_with_seed_args_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6672 : ulong fd_vote_authorize_with_seed_args_size( fd_vote_authorize_with_seed_args_t const * self );
6673 : ulong fd_vote_authorize_with_seed_args_footprint( void );
6674 : ulong fd_vote_authorize_with_seed_args_align( void );
6675 :
6676 : void fd_vote_authorize_checked_with_seed_args_new( fd_vote_authorize_checked_with_seed_args_t * self );
6677 : int fd_vote_authorize_checked_with_seed_args_decode( fd_vote_authorize_checked_with_seed_args_t * self, fd_bincode_decode_ctx_t * ctx );
6678 : int fd_vote_authorize_checked_with_seed_args_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6679 : void fd_vote_authorize_checked_with_seed_args_decode_unsafe( fd_vote_authorize_checked_with_seed_args_t * self, fd_bincode_decode_ctx_t * ctx );
6680 : int fd_vote_authorize_checked_with_seed_args_decode_offsets( fd_vote_authorize_checked_with_seed_args_off_t * self, fd_bincode_decode_ctx_t * ctx );
6681 : int fd_vote_authorize_checked_with_seed_args_encode( fd_vote_authorize_checked_with_seed_args_t const * self, fd_bincode_encode_ctx_t * ctx );
6682 : void fd_vote_authorize_checked_with_seed_args_destroy( fd_vote_authorize_checked_with_seed_args_t * self, fd_bincode_destroy_ctx_t * ctx );
6683 : void fd_vote_authorize_checked_with_seed_args_walk( void * w, fd_vote_authorize_checked_with_seed_args_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6684 : ulong fd_vote_authorize_checked_with_seed_args_size( fd_vote_authorize_checked_with_seed_args_t const * self );
6685 : ulong fd_vote_authorize_checked_with_seed_args_footprint( void );
6686 : ulong fd_vote_authorize_checked_with_seed_args_align( void );
6687 :
6688 : void fd_vote_instruction_new_disc( fd_vote_instruction_t * self, uint discriminant );
6689 : void fd_vote_instruction_new( fd_vote_instruction_t * self );
6690 : int fd_vote_instruction_decode( fd_vote_instruction_t * self, fd_bincode_decode_ctx_t * ctx );
6691 : int fd_vote_instruction_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6692 : void fd_vote_instruction_decode_unsafe( fd_vote_instruction_t * self, fd_bincode_decode_ctx_t * ctx );
6693 : int fd_vote_instruction_encode( fd_vote_instruction_t const * self, fd_bincode_encode_ctx_t * ctx );
6694 : void fd_vote_instruction_destroy( fd_vote_instruction_t * self, fd_bincode_destroy_ctx_t * ctx );
6695 : void fd_vote_instruction_walk( void * w, fd_vote_instruction_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6696 : ulong fd_vote_instruction_size( fd_vote_instruction_t const * self );
6697 : ulong fd_vote_instruction_footprint( void );
6698 : ulong fd_vote_instruction_align( void );
6699 :
6700 : FD_FN_PURE uchar fd_vote_instruction_is_initialize_account( fd_vote_instruction_t const * self );
6701 : FD_FN_PURE uchar fd_vote_instruction_is_authorize( fd_vote_instruction_t const * self );
6702 : FD_FN_PURE uchar fd_vote_instruction_is_vote( fd_vote_instruction_t const * self );
6703 : FD_FN_PURE uchar fd_vote_instruction_is_withdraw( fd_vote_instruction_t const * self );
6704 : FD_FN_PURE uchar fd_vote_instruction_is_update_validator_identity( fd_vote_instruction_t const * self );
6705 : FD_FN_PURE uchar fd_vote_instruction_is_update_commission( fd_vote_instruction_t const * self );
6706 : FD_FN_PURE uchar fd_vote_instruction_is_vote_switch( fd_vote_instruction_t const * self );
6707 : FD_FN_PURE uchar fd_vote_instruction_is_authorize_checked( fd_vote_instruction_t const * self );
6708 : FD_FN_PURE uchar fd_vote_instruction_is_update_vote_state( fd_vote_instruction_t const * self );
6709 : FD_FN_PURE uchar fd_vote_instruction_is_update_vote_state_switch( fd_vote_instruction_t const * self );
6710 : FD_FN_PURE uchar fd_vote_instruction_is_authorize_with_seed( fd_vote_instruction_t const * self );
6711 : FD_FN_PURE uchar fd_vote_instruction_is_authorize_checked_with_seed( fd_vote_instruction_t const * self );
6712 : FD_FN_PURE uchar fd_vote_instruction_is_compact_update_vote_state( fd_vote_instruction_t const * self );
6713 : FD_FN_PURE uchar fd_vote_instruction_is_compact_update_vote_state_switch( fd_vote_instruction_t const * self );
6714 : FD_FN_PURE uchar fd_vote_instruction_is_tower_sync( fd_vote_instruction_t const * self );
6715 : FD_FN_PURE uchar fd_vote_instruction_is_tower_sync_switch( fd_vote_instruction_t const * self );
6716 : enum {
6717 : fd_vote_instruction_enum_initialize_account = 0,
6718 : fd_vote_instruction_enum_authorize = 1,
6719 : fd_vote_instruction_enum_vote = 2,
6720 : fd_vote_instruction_enum_withdraw = 3,
6721 : fd_vote_instruction_enum_update_validator_identity = 4,
6722 : fd_vote_instruction_enum_update_commission = 5,
6723 : fd_vote_instruction_enum_vote_switch = 6,
6724 : fd_vote_instruction_enum_authorize_checked = 7,
6725 : fd_vote_instruction_enum_update_vote_state = 8,
6726 : fd_vote_instruction_enum_update_vote_state_switch = 9,
6727 : fd_vote_instruction_enum_authorize_with_seed = 10,
6728 : fd_vote_instruction_enum_authorize_checked_with_seed = 11,
6729 : fd_vote_instruction_enum_compact_update_vote_state = 12,
6730 : fd_vote_instruction_enum_compact_update_vote_state_switch = 13,
6731 : fd_vote_instruction_enum_tower_sync = 14,
6732 : fd_vote_instruction_enum_tower_sync_switch = 15,
6733 : };
6734 : void fd_system_program_instruction_create_account_new( fd_system_program_instruction_create_account_t * self );
6735 : int fd_system_program_instruction_create_account_decode( fd_system_program_instruction_create_account_t * self, fd_bincode_decode_ctx_t * ctx );
6736 : int fd_system_program_instruction_create_account_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6737 : void fd_system_program_instruction_create_account_decode_unsafe( fd_system_program_instruction_create_account_t * self, fd_bincode_decode_ctx_t * ctx );
6738 : int fd_system_program_instruction_create_account_decode_offsets( fd_system_program_instruction_create_account_off_t * self, fd_bincode_decode_ctx_t * ctx );
6739 : int fd_system_program_instruction_create_account_encode( fd_system_program_instruction_create_account_t const * self, fd_bincode_encode_ctx_t * ctx );
6740 : void fd_system_program_instruction_create_account_destroy( fd_system_program_instruction_create_account_t * self, fd_bincode_destroy_ctx_t * ctx );
6741 : void fd_system_program_instruction_create_account_walk( void * w, fd_system_program_instruction_create_account_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6742 : ulong fd_system_program_instruction_create_account_size( fd_system_program_instruction_create_account_t const * self );
6743 : ulong fd_system_program_instruction_create_account_footprint( void );
6744 : ulong fd_system_program_instruction_create_account_align( void );
6745 :
6746 : void fd_system_program_instruction_create_account_with_seed_new( fd_system_program_instruction_create_account_with_seed_t * self );
6747 : int fd_system_program_instruction_create_account_with_seed_decode( fd_system_program_instruction_create_account_with_seed_t * self, fd_bincode_decode_ctx_t * ctx );
6748 : int fd_system_program_instruction_create_account_with_seed_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6749 : void fd_system_program_instruction_create_account_with_seed_decode_unsafe( fd_system_program_instruction_create_account_with_seed_t * self, fd_bincode_decode_ctx_t * ctx );
6750 : int fd_system_program_instruction_create_account_with_seed_decode_offsets( fd_system_program_instruction_create_account_with_seed_off_t * self, fd_bincode_decode_ctx_t * ctx );
6751 : int fd_system_program_instruction_create_account_with_seed_encode( fd_system_program_instruction_create_account_with_seed_t const * self, fd_bincode_encode_ctx_t * ctx );
6752 : void fd_system_program_instruction_create_account_with_seed_destroy( fd_system_program_instruction_create_account_with_seed_t * self, fd_bincode_destroy_ctx_t * ctx );
6753 : void fd_system_program_instruction_create_account_with_seed_walk( void * w, fd_system_program_instruction_create_account_with_seed_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6754 : ulong fd_system_program_instruction_create_account_with_seed_size( fd_system_program_instruction_create_account_with_seed_t const * self );
6755 : ulong fd_system_program_instruction_create_account_with_seed_footprint( void );
6756 : ulong fd_system_program_instruction_create_account_with_seed_align( void );
6757 :
6758 : void fd_system_program_instruction_allocate_with_seed_new( fd_system_program_instruction_allocate_with_seed_t * self );
6759 : int fd_system_program_instruction_allocate_with_seed_decode( fd_system_program_instruction_allocate_with_seed_t * self, fd_bincode_decode_ctx_t * ctx );
6760 : int fd_system_program_instruction_allocate_with_seed_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6761 : void fd_system_program_instruction_allocate_with_seed_decode_unsafe( fd_system_program_instruction_allocate_with_seed_t * self, fd_bincode_decode_ctx_t * ctx );
6762 : int fd_system_program_instruction_allocate_with_seed_decode_offsets( fd_system_program_instruction_allocate_with_seed_off_t * self, fd_bincode_decode_ctx_t * ctx );
6763 : int fd_system_program_instruction_allocate_with_seed_encode( fd_system_program_instruction_allocate_with_seed_t const * self, fd_bincode_encode_ctx_t * ctx );
6764 : void fd_system_program_instruction_allocate_with_seed_destroy( fd_system_program_instruction_allocate_with_seed_t * self, fd_bincode_destroy_ctx_t * ctx );
6765 : void fd_system_program_instruction_allocate_with_seed_walk( void * w, fd_system_program_instruction_allocate_with_seed_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6766 : ulong fd_system_program_instruction_allocate_with_seed_size( fd_system_program_instruction_allocate_with_seed_t const * self );
6767 : ulong fd_system_program_instruction_allocate_with_seed_footprint( void );
6768 : ulong fd_system_program_instruction_allocate_with_seed_align( void );
6769 :
6770 : void fd_system_program_instruction_assign_with_seed_new( fd_system_program_instruction_assign_with_seed_t * self );
6771 : int fd_system_program_instruction_assign_with_seed_decode( fd_system_program_instruction_assign_with_seed_t * self, fd_bincode_decode_ctx_t * ctx );
6772 : int fd_system_program_instruction_assign_with_seed_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6773 : void fd_system_program_instruction_assign_with_seed_decode_unsafe( fd_system_program_instruction_assign_with_seed_t * self, fd_bincode_decode_ctx_t * ctx );
6774 : int fd_system_program_instruction_assign_with_seed_decode_offsets( fd_system_program_instruction_assign_with_seed_off_t * self, fd_bincode_decode_ctx_t * ctx );
6775 : int fd_system_program_instruction_assign_with_seed_encode( fd_system_program_instruction_assign_with_seed_t const * self, fd_bincode_encode_ctx_t * ctx );
6776 : void fd_system_program_instruction_assign_with_seed_destroy( fd_system_program_instruction_assign_with_seed_t * self, fd_bincode_destroy_ctx_t * ctx );
6777 : void fd_system_program_instruction_assign_with_seed_walk( void * w, fd_system_program_instruction_assign_with_seed_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6778 : ulong fd_system_program_instruction_assign_with_seed_size( fd_system_program_instruction_assign_with_seed_t const * self );
6779 : ulong fd_system_program_instruction_assign_with_seed_footprint( void );
6780 : ulong fd_system_program_instruction_assign_with_seed_align( void );
6781 :
6782 : void fd_system_program_instruction_transfer_with_seed_new( fd_system_program_instruction_transfer_with_seed_t * self );
6783 : int fd_system_program_instruction_transfer_with_seed_decode( fd_system_program_instruction_transfer_with_seed_t * self, fd_bincode_decode_ctx_t * ctx );
6784 : int fd_system_program_instruction_transfer_with_seed_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6785 : void fd_system_program_instruction_transfer_with_seed_decode_unsafe( fd_system_program_instruction_transfer_with_seed_t * self, fd_bincode_decode_ctx_t * ctx );
6786 : int fd_system_program_instruction_transfer_with_seed_decode_offsets( fd_system_program_instruction_transfer_with_seed_off_t * self, fd_bincode_decode_ctx_t * ctx );
6787 : int fd_system_program_instruction_transfer_with_seed_encode( fd_system_program_instruction_transfer_with_seed_t const * self, fd_bincode_encode_ctx_t * ctx );
6788 : void fd_system_program_instruction_transfer_with_seed_destroy( fd_system_program_instruction_transfer_with_seed_t * self, fd_bincode_destroy_ctx_t * ctx );
6789 : void fd_system_program_instruction_transfer_with_seed_walk( void * w, fd_system_program_instruction_transfer_with_seed_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6790 : ulong fd_system_program_instruction_transfer_with_seed_size( fd_system_program_instruction_transfer_with_seed_t const * self );
6791 : ulong fd_system_program_instruction_transfer_with_seed_footprint( void );
6792 : ulong fd_system_program_instruction_transfer_with_seed_align( void );
6793 :
6794 : void fd_system_program_instruction_new_disc( fd_system_program_instruction_t * self, uint discriminant );
6795 : void fd_system_program_instruction_new( fd_system_program_instruction_t * self );
6796 : int fd_system_program_instruction_decode( fd_system_program_instruction_t * self, fd_bincode_decode_ctx_t * ctx );
6797 : int fd_system_program_instruction_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6798 : void fd_system_program_instruction_decode_unsafe( fd_system_program_instruction_t * self, fd_bincode_decode_ctx_t * ctx );
6799 : int fd_system_program_instruction_encode( fd_system_program_instruction_t const * self, fd_bincode_encode_ctx_t * ctx );
6800 : void fd_system_program_instruction_destroy( fd_system_program_instruction_t * self, fd_bincode_destroy_ctx_t * ctx );
6801 : void fd_system_program_instruction_walk( void * w, fd_system_program_instruction_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6802 : ulong fd_system_program_instruction_size( fd_system_program_instruction_t const * self );
6803 : ulong fd_system_program_instruction_footprint( void );
6804 : ulong fd_system_program_instruction_align( void );
6805 :
6806 : FD_FN_PURE uchar fd_system_program_instruction_is_create_account( fd_system_program_instruction_t const * self );
6807 : FD_FN_PURE uchar fd_system_program_instruction_is_assign( fd_system_program_instruction_t const * self );
6808 : FD_FN_PURE uchar fd_system_program_instruction_is_transfer( fd_system_program_instruction_t const * self );
6809 : FD_FN_PURE uchar fd_system_program_instruction_is_create_account_with_seed( fd_system_program_instruction_t const * self );
6810 : FD_FN_PURE uchar fd_system_program_instruction_is_advance_nonce_account( fd_system_program_instruction_t const * self );
6811 : FD_FN_PURE uchar fd_system_program_instruction_is_withdraw_nonce_account( fd_system_program_instruction_t const * self );
6812 : FD_FN_PURE uchar fd_system_program_instruction_is_initialize_nonce_account( fd_system_program_instruction_t const * self );
6813 : FD_FN_PURE uchar fd_system_program_instruction_is_authorize_nonce_account( fd_system_program_instruction_t const * self );
6814 : FD_FN_PURE uchar fd_system_program_instruction_is_allocate( fd_system_program_instruction_t const * self );
6815 : FD_FN_PURE uchar fd_system_program_instruction_is_allocate_with_seed( fd_system_program_instruction_t const * self );
6816 : FD_FN_PURE uchar fd_system_program_instruction_is_assign_with_seed( fd_system_program_instruction_t const * self );
6817 : FD_FN_PURE uchar fd_system_program_instruction_is_transfer_with_seed( fd_system_program_instruction_t const * self );
6818 : FD_FN_PURE uchar fd_system_program_instruction_is_upgrade_nonce_account( fd_system_program_instruction_t const * self );
6819 : enum {
6820 : fd_system_program_instruction_enum_create_account = 0,
6821 : fd_system_program_instruction_enum_assign = 1,
6822 : fd_system_program_instruction_enum_transfer = 2,
6823 : fd_system_program_instruction_enum_create_account_with_seed = 3,
6824 : fd_system_program_instruction_enum_advance_nonce_account = 4,
6825 : fd_system_program_instruction_enum_withdraw_nonce_account = 5,
6826 : fd_system_program_instruction_enum_initialize_nonce_account = 6,
6827 : fd_system_program_instruction_enum_authorize_nonce_account = 7,
6828 : fd_system_program_instruction_enum_allocate = 8,
6829 : fd_system_program_instruction_enum_allocate_with_seed = 9,
6830 : fd_system_program_instruction_enum_assign_with_seed = 10,
6831 : fd_system_program_instruction_enum_transfer_with_seed = 11,
6832 : fd_system_program_instruction_enum_upgrade_nonce_account = 12,
6833 : };
6834 : void fd_system_error_new_disc( fd_system_error_t * self, uint discriminant );
6835 : void fd_system_error_new( fd_system_error_t * self );
6836 : int fd_system_error_decode( fd_system_error_t * self, fd_bincode_decode_ctx_t * ctx );
6837 : int fd_system_error_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6838 : void fd_system_error_decode_unsafe( fd_system_error_t * self, fd_bincode_decode_ctx_t * ctx );
6839 : int fd_system_error_encode( fd_system_error_t const * self, fd_bincode_encode_ctx_t * ctx );
6840 : void fd_system_error_destroy( fd_system_error_t * self, fd_bincode_destroy_ctx_t * ctx );
6841 : void fd_system_error_walk( void * w, fd_system_error_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6842 : ulong fd_system_error_size( fd_system_error_t const * self );
6843 : ulong fd_system_error_footprint( void );
6844 : ulong fd_system_error_align( void );
6845 :
6846 : FD_FN_PURE uchar fd_system_error_is_account_already_in_use( fd_system_error_t const * self );
6847 : FD_FN_PURE uchar fd_system_error_is_result_with_negative_lamports( fd_system_error_t const * self );
6848 : FD_FN_PURE uchar fd_system_error_is_invalid_program_id( fd_system_error_t const * self );
6849 : FD_FN_PURE uchar fd_system_error_is_invalid_account_data_length( fd_system_error_t const * self );
6850 : FD_FN_PURE uchar fd_system_error_is_max_seed_length_exceeded( fd_system_error_t const * self );
6851 : FD_FN_PURE uchar fd_system_error_is_address_with_seed_mismatch( fd_system_error_t const * self );
6852 : FD_FN_PURE uchar fd_system_error_is_nonce_no_recent_blockhashes( fd_system_error_t const * self );
6853 : FD_FN_PURE uchar fd_system_error_is_nonce_blockhash_not_expired( fd_system_error_t const * self );
6854 : FD_FN_PURE uchar fd_system_error_is_nonce_unexpected_blockhash_value( fd_system_error_t const * self );
6855 : enum {
6856 : fd_system_error_enum_account_already_in_use = 0,
6857 : fd_system_error_enum_result_with_negative_lamports = 1,
6858 : fd_system_error_enum_invalid_program_id = 2,
6859 : fd_system_error_enum_invalid_account_data_length = 3,
6860 : fd_system_error_enum_max_seed_length_exceeded = 4,
6861 : fd_system_error_enum_address_with_seed_mismatch = 5,
6862 : fd_system_error_enum_nonce_no_recent_blockhashes = 6,
6863 : fd_system_error_enum_nonce_blockhash_not_expired = 7,
6864 : fd_system_error_enum_nonce_unexpected_blockhash_value = 8,
6865 : };
6866 : void fd_stake_authorized_new( fd_stake_authorized_t * self );
6867 : int fd_stake_authorized_decode( fd_stake_authorized_t * self, fd_bincode_decode_ctx_t * ctx );
6868 : int fd_stake_authorized_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6869 : void fd_stake_authorized_decode_unsafe( fd_stake_authorized_t * self, fd_bincode_decode_ctx_t * ctx );
6870 : int fd_stake_authorized_decode_offsets( fd_stake_authorized_off_t * self, fd_bincode_decode_ctx_t * ctx );
6871 : int fd_stake_authorized_encode( fd_stake_authorized_t const * self, fd_bincode_encode_ctx_t * ctx );
6872 : void fd_stake_authorized_destroy( fd_stake_authorized_t * self, fd_bincode_destroy_ctx_t * ctx );
6873 : void fd_stake_authorized_walk( void * w, fd_stake_authorized_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6874 : ulong fd_stake_authorized_size( fd_stake_authorized_t const * self );
6875 : ulong fd_stake_authorized_footprint( void );
6876 : ulong fd_stake_authorized_align( void );
6877 :
6878 : void fd_stake_lockup_new( fd_stake_lockup_t * self );
6879 : int fd_stake_lockup_decode( fd_stake_lockup_t * self, fd_bincode_decode_ctx_t * ctx );
6880 : int fd_stake_lockup_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6881 : void fd_stake_lockup_decode_unsafe( fd_stake_lockup_t * self, fd_bincode_decode_ctx_t * ctx );
6882 : int fd_stake_lockup_decode_offsets( fd_stake_lockup_off_t * self, fd_bincode_decode_ctx_t * ctx );
6883 : int fd_stake_lockup_encode( fd_stake_lockup_t const * self, fd_bincode_encode_ctx_t * ctx );
6884 : void fd_stake_lockup_destroy( fd_stake_lockup_t * self, fd_bincode_destroy_ctx_t * ctx );
6885 : void fd_stake_lockup_walk( void * w, fd_stake_lockup_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6886 : ulong fd_stake_lockup_size( fd_stake_lockup_t const * self );
6887 : ulong fd_stake_lockup_footprint( void );
6888 : ulong fd_stake_lockup_align( void );
6889 :
6890 : void fd_stake_instruction_initialize_new( fd_stake_instruction_initialize_t * self );
6891 : int fd_stake_instruction_initialize_decode( fd_stake_instruction_initialize_t * self, fd_bincode_decode_ctx_t * ctx );
6892 : int fd_stake_instruction_initialize_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6893 : void fd_stake_instruction_initialize_decode_unsafe( fd_stake_instruction_initialize_t * self, fd_bincode_decode_ctx_t * ctx );
6894 : int fd_stake_instruction_initialize_decode_offsets( fd_stake_instruction_initialize_off_t * self, fd_bincode_decode_ctx_t * ctx );
6895 : int fd_stake_instruction_initialize_encode( fd_stake_instruction_initialize_t const * self, fd_bincode_encode_ctx_t * ctx );
6896 : void fd_stake_instruction_initialize_destroy( fd_stake_instruction_initialize_t * self, fd_bincode_destroy_ctx_t * ctx );
6897 : void fd_stake_instruction_initialize_walk( void * w, fd_stake_instruction_initialize_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6898 : ulong fd_stake_instruction_initialize_size( fd_stake_instruction_initialize_t const * self );
6899 : ulong fd_stake_instruction_initialize_footprint( void );
6900 : ulong fd_stake_instruction_initialize_align( void );
6901 :
6902 : void fd_stake_lockup_custodian_args_new( fd_stake_lockup_custodian_args_t * self );
6903 : int fd_stake_lockup_custodian_args_decode( fd_stake_lockup_custodian_args_t * self, fd_bincode_decode_ctx_t * ctx );
6904 : int fd_stake_lockup_custodian_args_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6905 : void fd_stake_lockup_custodian_args_decode_unsafe( fd_stake_lockup_custodian_args_t * self, fd_bincode_decode_ctx_t * ctx );
6906 : int fd_stake_lockup_custodian_args_decode_offsets( fd_stake_lockup_custodian_args_off_t * self, fd_bincode_decode_ctx_t * ctx );
6907 : int fd_stake_lockup_custodian_args_encode( fd_stake_lockup_custodian_args_t const * self, fd_bincode_encode_ctx_t * ctx );
6908 : void fd_stake_lockup_custodian_args_destroy( fd_stake_lockup_custodian_args_t * self, fd_bincode_destroy_ctx_t * ctx );
6909 : void fd_stake_lockup_custodian_args_walk( void * w, fd_stake_lockup_custodian_args_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6910 : ulong fd_stake_lockup_custodian_args_size( fd_stake_lockup_custodian_args_t const * self );
6911 : ulong fd_stake_lockup_custodian_args_footprint( void );
6912 : ulong fd_stake_lockup_custodian_args_align( void );
6913 :
6914 : void fd_stake_authorize_new_disc( fd_stake_authorize_t * self, uint discriminant );
6915 : void fd_stake_authorize_new( fd_stake_authorize_t * self );
6916 : int fd_stake_authorize_decode( fd_stake_authorize_t * self, fd_bincode_decode_ctx_t * ctx );
6917 : int fd_stake_authorize_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6918 : void fd_stake_authorize_decode_unsafe( fd_stake_authorize_t * self, fd_bincode_decode_ctx_t * ctx );
6919 : int fd_stake_authorize_encode( fd_stake_authorize_t const * self, fd_bincode_encode_ctx_t * ctx );
6920 : void fd_stake_authorize_destroy( fd_stake_authorize_t * self, fd_bincode_destroy_ctx_t * ctx );
6921 : void fd_stake_authorize_walk( void * w, fd_stake_authorize_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6922 : ulong fd_stake_authorize_size( fd_stake_authorize_t const * self );
6923 : ulong fd_stake_authorize_footprint( void );
6924 : ulong fd_stake_authorize_align( void );
6925 :
6926 : FD_FN_PURE uchar fd_stake_authorize_is_staker( fd_stake_authorize_t const * self );
6927 : FD_FN_PURE uchar fd_stake_authorize_is_withdrawer( fd_stake_authorize_t const * self );
6928 : enum {
6929 : fd_stake_authorize_enum_staker = 0,
6930 : fd_stake_authorize_enum_withdrawer = 1,
6931 : };
6932 : void fd_stake_instruction_authorize_new( fd_stake_instruction_authorize_t * self );
6933 : int fd_stake_instruction_authorize_decode( fd_stake_instruction_authorize_t * self, fd_bincode_decode_ctx_t * ctx );
6934 : int fd_stake_instruction_authorize_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6935 : void fd_stake_instruction_authorize_decode_unsafe( fd_stake_instruction_authorize_t * self, fd_bincode_decode_ctx_t * ctx );
6936 : int fd_stake_instruction_authorize_decode_offsets( fd_stake_instruction_authorize_off_t * self, fd_bincode_decode_ctx_t * ctx );
6937 : int fd_stake_instruction_authorize_encode( fd_stake_instruction_authorize_t const * self, fd_bincode_encode_ctx_t * ctx );
6938 : void fd_stake_instruction_authorize_destroy( fd_stake_instruction_authorize_t * self, fd_bincode_destroy_ctx_t * ctx );
6939 : void fd_stake_instruction_authorize_walk( void * w, fd_stake_instruction_authorize_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6940 : ulong fd_stake_instruction_authorize_size( fd_stake_instruction_authorize_t const * self );
6941 : ulong fd_stake_instruction_authorize_footprint( void );
6942 : ulong fd_stake_instruction_authorize_align( void );
6943 :
6944 : void fd_authorize_with_seed_args_new( fd_authorize_with_seed_args_t * self );
6945 : int fd_authorize_with_seed_args_decode( fd_authorize_with_seed_args_t * self, fd_bincode_decode_ctx_t * ctx );
6946 : int fd_authorize_with_seed_args_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6947 : void fd_authorize_with_seed_args_decode_unsafe( fd_authorize_with_seed_args_t * self, fd_bincode_decode_ctx_t * ctx );
6948 : int fd_authorize_with_seed_args_decode_offsets( fd_authorize_with_seed_args_off_t * self, fd_bincode_decode_ctx_t * ctx );
6949 : int fd_authorize_with_seed_args_encode( fd_authorize_with_seed_args_t const * self, fd_bincode_encode_ctx_t * ctx );
6950 : void fd_authorize_with_seed_args_destroy( fd_authorize_with_seed_args_t * self, fd_bincode_destroy_ctx_t * ctx );
6951 : void fd_authorize_with_seed_args_walk( void * w, fd_authorize_with_seed_args_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6952 : ulong fd_authorize_with_seed_args_size( fd_authorize_with_seed_args_t const * self );
6953 : ulong fd_authorize_with_seed_args_footprint( void );
6954 : ulong fd_authorize_with_seed_args_align( void );
6955 :
6956 : void fd_authorize_checked_with_seed_args_new( fd_authorize_checked_with_seed_args_t * self );
6957 : int fd_authorize_checked_with_seed_args_decode( fd_authorize_checked_with_seed_args_t * self, fd_bincode_decode_ctx_t * ctx );
6958 : int fd_authorize_checked_with_seed_args_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6959 : void fd_authorize_checked_with_seed_args_decode_unsafe( fd_authorize_checked_with_seed_args_t * self, fd_bincode_decode_ctx_t * ctx );
6960 : int fd_authorize_checked_with_seed_args_decode_offsets( fd_authorize_checked_with_seed_args_off_t * self, fd_bincode_decode_ctx_t * ctx );
6961 : int fd_authorize_checked_with_seed_args_encode( fd_authorize_checked_with_seed_args_t const * self, fd_bincode_encode_ctx_t * ctx );
6962 : void fd_authorize_checked_with_seed_args_destroy( fd_authorize_checked_with_seed_args_t * self, fd_bincode_destroy_ctx_t * ctx );
6963 : void fd_authorize_checked_with_seed_args_walk( void * w, fd_authorize_checked_with_seed_args_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6964 : ulong fd_authorize_checked_with_seed_args_size( fd_authorize_checked_with_seed_args_t const * self );
6965 : ulong fd_authorize_checked_with_seed_args_footprint( void );
6966 : ulong fd_authorize_checked_with_seed_args_align( void );
6967 :
6968 : void fd_lockup_checked_args_new( fd_lockup_checked_args_t * self );
6969 : int fd_lockup_checked_args_decode( fd_lockup_checked_args_t * self, fd_bincode_decode_ctx_t * ctx );
6970 : int fd_lockup_checked_args_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6971 : void fd_lockup_checked_args_decode_unsafe( fd_lockup_checked_args_t * self, fd_bincode_decode_ctx_t * ctx );
6972 : int fd_lockup_checked_args_decode_offsets( fd_lockup_checked_args_off_t * self, fd_bincode_decode_ctx_t * ctx );
6973 : int fd_lockup_checked_args_encode( fd_lockup_checked_args_t const * self, fd_bincode_encode_ctx_t * ctx );
6974 : void fd_lockup_checked_args_destroy( fd_lockup_checked_args_t * self, fd_bincode_destroy_ctx_t * ctx );
6975 : void fd_lockup_checked_args_walk( void * w, fd_lockup_checked_args_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6976 : ulong fd_lockup_checked_args_size( fd_lockup_checked_args_t const * self );
6977 : ulong fd_lockup_checked_args_footprint( void );
6978 : ulong fd_lockup_checked_args_align( void );
6979 :
6980 : void fd_lockup_args_new( fd_lockup_args_t * self );
6981 : int fd_lockup_args_decode( fd_lockup_args_t * self, fd_bincode_decode_ctx_t * ctx );
6982 : int fd_lockup_args_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6983 : void fd_lockup_args_decode_unsafe( fd_lockup_args_t * self, fd_bincode_decode_ctx_t * ctx );
6984 : int fd_lockup_args_decode_offsets( fd_lockup_args_off_t * self, fd_bincode_decode_ctx_t * ctx );
6985 : int fd_lockup_args_encode( fd_lockup_args_t const * self, fd_bincode_encode_ctx_t * ctx );
6986 : void fd_lockup_args_destroy( fd_lockup_args_t * self, fd_bincode_destroy_ctx_t * ctx );
6987 : void fd_lockup_args_walk( void * w, fd_lockup_args_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
6988 : ulong fd_lockup_args_size( fd_lockup_args_t const * self );
6989 : ulong fd_lockup_args_footprint( void );
6990 : ulong fd_lockup_args_align( void );
6991 :
6992 : void fd_stake_instruction_new_disc( fd_stake_instruction_t * self, uint discriminant );
6993 : void fd_stake_instruction_new( fd_stake_instruction_t * self );
6994 : int fd_stake_instruction_decode( fd_stake_instruction_t * self, fd_bincode_decode_ctx_t * ctx );
6995 : int fd_stake_instruction_decode_preflight( fd_bincode_decode_ctx_t * ctx );
6996 : void fd_stake_instruction_decode_unsafe( fd_stake_instruction_t * self, fd_bincode_decode_ctx_t * ctx );
6997 : int fd_stake_instruction_encode( fd_stake_instruction_t const * self, fd_bincode_encode_ctx_t * ctx );
6998 : void fd_stake_instruction_destroy( fd_stake_instruction_t * self, fd_bincode_destroy_ctx_t * ctx );
6999 : void fd_stake_instruction_walk( void * w, fd_stake_instruction_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7000 : ulong fd_stake_instruction_size( fd_stake_instruction_t const * self );
7001 : ulong fd_stake_instruction_footprint( void );
7002 : ulong fd_stake_instruction_align( void );
7003 :
7004 : FD_FN_PURE uchar fd_stake_instruction_is_initialize( fd_stake_instruction_t const * self );
7005 : FD_FN_PURE uchar fd_stake_instruction_is_authorize( fd_stake_instruction_t const * self );
7006 : FD_FN_PURE uchar fd_stake_instruction_is_delegate_stake( fd_stake_instruction_t const * self );
7007 : FD_FN_PURE uchar fd_stake_instruction_is_split( fd_stake_instruction_t const * self );
7008 : FD_FN_PURE uchar fd_stake_instruction_is_withdraw( fd_stake_instruction_t const * self );
7009 : FD_FN_PURE uchar fd_stake_instruction_is_deactivate( fd_stake_instruction_t const * self );
7010 : FD_FN_PURE uchar fd_stake_instruction_is_set_lockup( fd_stake_instruction_t const * self );
7011 : FD_FN_PURE uchar fd_stake_instruction_is_merge( fd_stake_instruction_t const * self );
7012 : FD_FN_PURE uchar fd_stake_instruction_is_authorize_with_seed( fd_stake_instruction_t const * self );
7013 : FD_FN_PURE uchar fd_stake_instruction_is_initialize_checked( fd_stake_instruction_t const * self );
7014 : FD_FN_PURE uchar fd_stake_instruction_is_authorize_checked( fd_stake_instruction_t const * self );
7015 : FD_FN_PURE uchar fd_stake_instruction_is_authorize_checked_with_seed( fd_stake_instruction_t const * self );
7016 : FD_FN_PURE uchar fd_stake_instruction_is_set_lockup_checked( fd_stake_instruction_t const * self );
7017 : FD_FN_PURE uchar fd_stake_instruction_is_get_minimum_delegation( fd_stake_instruction_t const * self );
7018 : FD_FN_PURE uchar fd_stake_instruction_is_deactivate_delinquent( fd_stake_instruction_t const * self );
7019 : FD_FN_PURE uchar fd_stake_instruction_is_redelegate( fd_stake_instruction_t const * self );
7020 : FD_FN_PURE uchar fd_stake_instruction_is_move_stake( fd_stake_instruction_t const * self );
7021 : FD_FN_PURE uchar fd_stake_instruction_is_move_lamports( fd_stake_instruction_t const * self );
7022 : enum {
7023 : fd_stake_instruction_enum_initialize = 0,
7024 : fd_stake_instruction_enum_authorize = 1,
7025 : fd_stake_instruction_enum_delegate_stake = 2,
7026 : fd_stake_instruction_enum_split = 3,
7027 : fd_stake_instruction_enum_withdraw = 4,
7028 : fd_stake_instruction_enum_deactivate = 5,
7029 : fd_stake_instruction_enum_set_lockup = 6,
7030 : fd_stake_instruction_enum_merge = 7,
7031 : fd_stake_instruction_enum_authorize_with_seed = 8,
7032 : fd_stake_instruction_enum_initialize_checked = 9,
7033 : fd_stake_instruction_enum_authorize_checked = 10,
7034 : fd_stake_instruction_enum_authorize_checked_with_seed = 11,
7035 : fd_stake_instruction_enum_set_lockup_checked = 12,
7036 : fd_stake_instruction_enum_get_minimum_delegation = 13,
7037 : fd_stake_instruction_enum_deactivate_delinquent = 14,
7038 : fd_stake_instruction_enum_redelegate = 15,
7039 : fd_stake_instruction_enum_move_stake = 16,
7040 : fd_stake_instruction_enum_move_lamports = 17,
7041 : };
7042 : void fd_stake_meta_new( fd_stake_meta_t * self );
7043 : int fd_stake_meta_decode( fd_stake_meta_t * self, fd_bincode_decode_ctx_t * ctx );
7044 : int fd_stake_meta_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7045 : void fd_stake_meta_decode_unsafe( fd_stake_meta_t * self, fd_bincode_decode_ctx_t * ctx );
7046 : int fd_stake_meta_decode_offsets( fd_stake_meta_off_t * self, fd_bincode_decode_ctx_t * ctx );
7047 : int fd_stake_meta_encode( fd_stake_meta_t const * self, fd_bincode_encode_ctx_t * ctx );
7048 : void fd_stake_meta_destroy( fd_stake_meta_t * self, fd_bincode_destroy_ctx_t * ctx );
7049 : void fd_stake_meta_walk( void * w, fd_stake_meta_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7050 : ulong fd_stake_meta_size( fd_stake_meta_t const * self );
7051 : ulong fd_stake_meta_footprint( void );
7052 : ulong fd_stake_meta_align( void );
7053 :
7054 : void fd_stake_flags_new( fd_stake_flags_t * self );
7055 : int fd_stake_flags_decode( fd_stake_flags_t * self, fd_bincode_decode_ctx_t * ctx );
7056 : int fd_stake_flags_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7057 : void fd_stake_flags_decode_unsafe( fd_stake_flags_t * self, fd_bincode_decode_ctx_t * ctx );
7058 : int fd_stake_flags_decode_offsets( fd_stake_flags_off_t * self, fd_bincode_decode_ctx_t * ctx );
7059 : int fd_stake_flags_encode( fd_stake_flags_t const * self, fd_bincode_encode_ctx_t * ctx );
7060 : void fd_stake_flags_destroy( fd_stake_flags_t * self, fd_bincode_destroy_ctx_t * ctx );
7061 : void fd_stake_flags_walk( void * w, fd_stake_flags_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7062 : ulong fd_stake_flags_size( fd_stake_flags_t const * self );
7063 : ulong fd_stake_flags_footprint( void );
7064 : ulong fd_stake_flags_align( void );
7065 :
7066 : void fd_stake_state_v2_initialized_new( fd_stake_state_v2_initialized_t * self );
7067 : int fd_stake_state_v2_initialized_decode( fd_stake_state_v2_initialized_t * self, fd_bincode_decode_ctx_t * ctx );
7068 : int fd_stake_state_v2_initialized_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7069 : void fd_stake_state_v2_initialized_decode_unsafe( fd_stake_state_v2_initialized_t * self, fd_bincode_decode_ctx_t * ctx );
7070 : int fd_stake_state_v2_initialized_decode_offsets( fd_stake_state_v2_initialized_off_t * self, fd_bincode_decode_ctx_t * ctx );
7071 : int fd_stake_state_v2_initialized_encode( fd_stake_state_v2_initialized_t const * self, fd_bincode_encode_ctx_t * ctx );
7072 : void fd_stake_state_v2_initialized_destroy( fd_stake_state_v2_initialized_t * self, fd_bincode_destroy_ctx_t * ctx );
7073 : void fd_stake_state_v2_initialized_walk( void * w, fd_stake_state_v2_initialized_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7074 : ulong fd_stake_state_v2_initialized_size( fd_stake_state_v2_initialized_t const * self );
7075 : ulong fd_stake_state_v2_initialized_footprint( void );
7076 : ulong fd_stake_state_v2_initialized_align( void );
7077 :
7078 : void fd_stake_state_v2_stake_new( fd_stake_state_v2_stake_t * self );
7079 : int fd_stake_state_v2_stake_decode( fd_stake_state_v2_stake_t * self, fd_bincode_decode_ctx_t * ctx );
7080 : int fd_stake_state_v2_stake_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7081 : void fd_stake_state_v2_stake_decode_unsafe( fd_stake_state_v2_stake_t * self, fd_bincode_decode_ctx_t * ctx );
7082 : int fd_stake_state_v2_stake_decode_offsets( fd_stake_state_v2_stake_off_t * self, fd_bincode_decode_ctx_t * ctx );
7083 : int fd_stake_state_v2_stake_encode( fd_stake_state_v2_stake_t const * self, fd_bincode_encode_ctx_t * ctx );
7084 : void fd_stake_state_v2_stake_destroy( fd_stake_state_v2_stake_t * self, fd_bincode_destroy_ctx_t * ctx );
7085 : void fd_stake_state_v2_stake_walk( void * w, fd_stake_state_v2_stake_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7086 : ulong fd_stake_state_v2_stake_size( fd_stake_state_v2_stake_t const * self );
7087 : ulong fd_stake_state_v2_stake_footprint( void );
7088 : ulong fd_stake_state_v2_stake_align( void );
7089 :
7090 : void fd_stake_state_v2_new_disc( fd_stake_state_v2_t * self, uint discriminant );
7091 : void fd_stake_state_v2_new( fd_stake_state_v2_t * self );
7092 : int fd_stake_state_v2_decode( fd_stake_state_v2_t * self, fd_bincode_decode_ctx_t * ctx );
7093 : int fd_stake_state_v2_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7094 : void fd_stake_state_v2_decode_unsafe( fd_stake_state_v2_t * self, fd_bincode_decode_ctx_t * ctx );
7095 : int fd_stake_state_v2_encode( fd_stake_state_v2_t const * self, fd_bincode_encode_ctx_t * ctx );
7096 : void fd_stake_state_v2_destroy( fd_stake_state_v2_t * self, fd_bincode_destroy_ctx_t * ctx );
7097 : void fd_stake_state_v2_walk( void * w, fd_stake_state_v2_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7098 : ulong fd_stake_state_v2_size( fd_stake_state_v2_t const * self );
7099 : ulong fd_stake_state_v2_footprint( void );
7100 : ulong fd_stake_state_v2_align( void );
7101 :
7102 : FD_FN_PURE uchar fd_stake_state_v2_is_uninitialized( fd_stake_state_v2_t const * self );
7103 : FD_FN_PURE uchar fd_stake_state_v2_is_initialized( fd_stake_state_v2_t const * self );
7104 : FD_FN_PURE uchar fd_stake_state_v2_is_stake( fd_stake_state_v2_t const * self );
7105 : FD_FN_PURE uchar fd_stake_state_v2_is_rewards_pool( fd_stake_state_v2_t const * self );
7106 : enum {
7107 : fd_stake_state_v2_enum_uninitialized = 0,
7108 : fd_stake_state_v2_enum_initialized = 1,
7109 : fd_stake_state_v2_enum_stake = 2,
7110 : fd_stake_state_v2_enum_rewards_pool = 3,
7111 : };
7112 : void fd_nonce_data_new( fd_nonce_data_t * self );
7113 : int fd_nonce_data_decode( fd_nonce_data_t * self, fd_bincode_decode_ctx_t * ctx );
7114 : int fd_nonce_data_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7115 : void fd_nonce_data_decode_unsafe( fd_nonce_data_t * self, fd_bincode_decode_ctx_t * ctx );
7116 : int fd_nonce_data_decode_offsets( fd_nonce_data_off_t * self, fd_bincode_decode_ctx_t * ctx );
7117 : int fd_nonce_data_encode( fd_nonce_data_t const * self, fd_bincode_encode_ctx_t * ctx );
7118 : void fd_nonce_data_destroy( fd_nonce_data_t * self, fd_bincode_destroy_ctx_t * ctx );
7119 : void fd_nonce_data_walk( void * w, fd_nonce_data_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7120 : ulong fd_nonce_data_size( fd_nonce_data_t const * self );
7121 : ulong fd_nonce_data_footprint( void );
7122 : ulong fd_nonce_data_align( void );
7123 :
7124 : void fd_nonce_state_new_disc( fd_nonce_state_t * self, uint discriminant );
7125 : void fd_nonce_state_new( fd_nonce_state_t * self );
7126 : int fd_nonce_state_decode( fd_nonce_state_t * self, fd_bincode_decode_ctx_t * ctx );
7127 : int fd_nonce_state_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7128 : void fd_nonce_state_decode_unsafe( fd_nonce_state_t * self, fd_bincode_decode_ctx_t * ctx );
7129 : int fd_nonce_state_encode( fd_nonce_state_t const * self, fd_bincode_encode_ctx_t * ctx );
7130 : void fd_nonce_state_destroy( fd_nonce_state_t * self, fd_bincode_destroy_ctx_t * ctx );
7131 : void fd_nonce_state_walk( void * w, fd_nonce_state_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7132 : ulong fd_nonce_state_size( fd_nonce_state_t const * self );
7133 : ulong fd_nonce_state_footprint( void );
7134 : ulong fd_nonce_state_align( void );
7135 :
7136 : FD_FN_PURE uchar fd_nonce_state_is_uninitialized( fd_nonce_state_t const * self );
7137 : FD_FN_PURE uchar fd_nonce_state_is_initialized( fd_nonce_state_t const * self );
7138 : enum {
7139 : fd_nonce_state_enum_uninitialized = 0,
7140 : fd_nonce_state_enum_initialized = 1,
7141 : };
7142 : void fd_nonce_state_versions_new_disc( fd_nonce_state_versions_t * self, uint discriminant );
7143 : void fd_nonce_state_versions_new( fd_nonce_state_versions_t * self );
7144 : int fd_nonce_state_versions_decode( fd_nonce_state_versions_t * self, fd_bincode_decode_ctx_t * ctx );
7145 : int fd_nonce_state_versions_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7146 : void fd_nonce_state_versions_decode_unsafe( fd_nonce_state_versions_t * self, fd_bincode_decode_ctx_t * ctx );
7147 : int fd_nonce_state_versions_encode( fd_nonce_state_versions_t const * self, fd_bincode_encode_ctx_t * ctx );
7148 : void fd_nonce_state_versions_destroy( fd_nonce_state_versions_t * self, fd_bincode_destroy_ctx_t * ctx );
7149 : void fd_nonce_state_versions_walk( void * w, fd_nonce_state_versions_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7150 : ulong fd_nonce_state_versions_size( fd_nonce_state_versions_t const * self );
7151 : ulong fd_nonce_state_versions_footprint( void );
7152 : ulong fd_nonce_state_versions_align( void );
7153 :
7154 : FD_FN_PURE uchar fd_nonce_state_versions_is_legacy( fd_nonce_state_versions_t const * self );
7155 : FD_FN_PURE uchar fd_nonce_state_versions_is_current( fd_nonce_state_versions_t const * self );
7156 : enum {
7157 : fd_nonce_state_versions_enum_legacy = 0,
7158 : fd_nonce_state_versions_enum_current = 1,
7159 : };
7160 : void fd_compute_budget_program_instruction_request_units_deprecated_new( fd_compute_budget_program_instruction_request_units_deprecated_t * self );
7161 : int fd_compute_budget_program_instruction_request_units_deprecated_decode( fd_compute_budget_program_instruction_request_units_deprecated_t * self, fd_bincode_decode_ctx_t * ctx );
7162 : int fd_compute_budget_program_instruction_request_units_deprecated_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7163 : void fd_compute_budget_program_instruction_request_units_deprecated_decode_unsafe( fd_compute_budget_program_instruction_request_units_deprecated_t * self, fd_bincode_decode_ctx_t * ctx );
7164 : int fd_compute_budget_program_instruction_request_units_deprecated_decode_offsets( fd_compute_budget_program_instruction_request_units_deprecated_off_t * self, fd_bincode_decode_ctx_t * ctx );
7165 : int fd_compute_budget_program_instruction_request_units_deprecated_encode( fd_compute_budget_program_instruction_request_units_deprecated_t const * self, fd_bincode_encode_ctx_t * ctx );
7166 : void fd_compute_budget_program_instruction_request_units_deprecated_destroy( fd_compute_budget_program_instruction_request_units_deprecated_t * self, fd_bincode_destroy_ctx_t * ctx );
7167 : void fd_compute_budget_program_instruction_request_units_deprecated_walk( void * w, fd_compute_budget_program_instruction_request_units_deprecated_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7168 : ulong fd_compute_budget_program_instruction_request_units_deprecated_size( fd_compute_budget_program_instruction_request_units_deprecated_t const * self );
7169 : ulong fd_compute_budget_program_instruction_request_units_deprecated_footprint( void );
7170 : ulong fd_compute_budget_program_instruction_request_units_deprecated_align( void );
7171 :
7172 : void fd_compute_budget_program_instruction_new_disc( fd_compute_budget_program_instruction_t * self, uint discriminant );
7173 : void fd_compute_budget_program_instruction_new( fd_compute_budget_program_instruction_t * self );
7174 : int fd_compute_budget_program_instruction_decode( fd_compute_budget_program_instruction_t * self, fd_bincode_decode_ctx_t * ctx );
7175 : int fd_compute_budget_program_instruction_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7176 : void fd_compute_budget_program_instruction_decode_unsafe( fd_compute_budget_program_instruction_t * self, fd_bincode_decode_ctx_t * ctx );
7177 : int fd_compute_budget_program_instruction_encode( fd_compute_budget_program_instruction_t const * self, fd_bincode_encode_ctx_t * ctx );
7178 : void fd_compute_budget_program_instruction_destroy( fd_compute_budget_program_instruction_t * self, fd_bincode_destroy_ctx_t * ctx );
7179 : void fd_compute_budget_program_instruction_walk( void * w, fd_compute_budget_program_instruction_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7180 : ulong fd_compute_budget_program_instruction_size( fd_compute_budget_program_instruction_t const * self );
7181 : ulong fd_compute_budget_program_instruction_footprint( void );
7182 : ulong fd_compute_budget_program_instruction_align( void );
7183 :
7184 : FD_FN_PURE uchar fd_compute_budget_program_instruction_is_request_units_deprecated( fd_compute_budget_program_instruction_t const * self );
7185 : FD_FN_PURE uchar fd_compute_budget_program_instruction_is_request_heap_frame( fd_compute_budget_program_instruction_t const * self );
7186 : FD_FN_PURE uchar fd_compute_budget_program_instruction_is_set_compute_unit_limit( fd_compute_budget_program_instruction_t const * self );
7187 : FD_FN_PURE uchar fd_compute_budget_program_instruction_is_set_compute_unit_price( fd_compute_budget_program_instruction_t const * self );
7188 : FD_FN_PURE uchar fd_compute_budget_program_instruction_is_set_loaded_accounts_data_size_limit( fd_compute_budget_program_instruction_t const * self );
7189 : enum {
7190 : fd_compute_budget_program_instruction_enum_request_units_deprecated = 0,
7191 : fd_compute_budget_program_instruction_enum_request_heap_frame = 1,
7192 : fd_compute_budget_program_instruction_enum_set_compute_unit_limit = 2,
7193 : fd_compute_budget_program_instruction_enum_set_compute_unit_price = 3,
7194 : fd_compute_budget_program_instruction_enum_set_loaded_accounts_data_size_limit = 4,
7195 : };
7196 : void fd_config_keys_new( fd_config_keys_t * self );
7197 : int fd_config_keys_decode( fd_config_keys_t * self, fd_bincode_decode_ctx_t * ctx );
7198 : int fd_config_keys_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7199 : void fd_config_keys_decode_unsafe( fd_config_keys_t * self, fd_bincode_decode_ctx_t * ctx );
7200 : int fd_config_keys_decode_offsets( fd_config_keys_off_t * self, fd_bincode_decode_ctx_t * ctx );
7201 : int fd_config_keys_encode( fd_config_keys_t const * self, fd_bincode_encode_ctx_t * ctx );
7202 : void fd_config_keys_destroy( fd_config_keys_t * self, fd_bincode_destroy_ctx_t * ctx );
7203 : void fd_config_keys_walk( void * w, fd_config_keys_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7204 : ulong fd_config_keys_size( fd_config_keys_t const * self );
7205 : ulong fd_config_keys_footprint( void );
7206 : ulong fd_config_keys_align( void );
7207 :
7208 : void fd_bpf_loader_program_instruction_write_new( fd_bpf_loader_program_instruction_write_t * self );
7209 : int fd_bpf_loader_program_instruction_write_decode( fd_bpf_loader_program_instruction_write_t * self, fd_bincode_decode_ctx_t * ctx );
7210 : int fd_bpf_loader_program_instruction_write_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7211 : void fd_bpf_loader_program_instruction_write_decode_unsafe( fd_bpf_loader_program_instruction_write_t * self, fd_bincode_decode_ctx_t * ctx );
7212 : int fd_bpf_loader_program_instruction_write_decode_offsets( fd_bpf_loader_program_instruction_write_off_t * self, fd_bincode_decode_ctx_t * ctx );
7213 : int fd_bpf_loader_program_instruction_write_encode( fd_bpf_loader_program_instruction_write_t const * self, fd_bincode_encode_ctx_t * ctx );
7214 : void fd_bpf_loader_program_instruction_write_destroy( fd_bpf_loader_program_instruction_write_t * self, fd_bincode_destroy_ctx_t * ctx );
7215 : void fd_bpf_loader_program_instruction_write_walk( void * w, fd_bpf_loader_program_instruction_write_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7216 : ulong fd_bpf_loader_program_instruction_write_size( fd_bpf_loader_program_instruction_write_t const * self );
7217 : ulong fd_bpf_loader_program_instruction_write_footprint( void );
7218 : ulong fd_bpf_loader_program_instruction_write_align( void );
7219 :
7220 : void fd_bpf_loader_program_instruction_new_disc( fd_bpf_loader_program_instruction_t * self, uint discriminant );
7221 : void fd_bpf_loader_program_instruction_new( fd_bpf_loader_program_instruction_t * self );
7222 : int fd_bpf_loader_program_instruction_decode( fd_bpf_loader_program_instruction_t * self, fd_bincode_decode_ctx_t * ctx );
7223 : int fd_bpf_loader_program_instruction_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7224 : void fd_bpf_loader_program_instruction_decode_unsafe( fd_bpf_loader_program_instruction_t * self, fd_bincode_decode_ctx_t * ctx );
7225 : int fd_bpf_loader_program_instruction_encode( fd_bpf_loader_program_instruction_t const * self, fd_bincode_encode_ctx_t * ctx );
7226 : void fd_bpf_loader_program_instruction_destroy( fd_bpf_loader_program_instruction_t * self, fd_bincode_destroy_ctx_t * ctx );
7227 : void fd_bpf_loader_program_instruction_walk( void * w, fd_bpf_loader_program_instruction_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7228 : ulong fd_bpf_loader_program_instruction_size( fd_bpf_loader_program_instruction_t const * self );
7229 : ulong fd_bpf_loader_program_instruction_footprint( void );
7230 : ulong fd_bpf_loader_program_instruction_align( void );
7231 :
7232 : FD_FN_PURE uchar fd_bpf_loader_program_instruction_is_write( fd_bpf_loader_program_instruction_t const * self );
7233 : FD_FN_PURE uchar fd_bpf_loader_program_instruction_is_finalize( fd_bpf_loader_program_instruction_t const * self );
7234 : enum {
7235 : fd_bpf_loader_program_instruction_enum_write = 0,
7236 : fd_bpf_loader_program_instruction_enum_finalize = 1,
7237 : };
7238 : void fd_loader_v4_program_instruction_write_new( fd_loader_v4_program_instruction_write_t * self );
7239 : int fd_loader_v4_program_instruction_write_decode( fd_loader_v4_program_instruction_write_t * self, fd_bincode_decode_ctx_t * ctx );
7240 : int fd_loader_v4_program_instruction_write_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7241 : void fd_loader_v4_program_instruction_write_decode_unsafe( fd_loader_v4_program_instruction_write_t * self, fd_bincode_decode_ctx_t * ctx );
7242 : int fd_loader_v4_program_instruction_write_decode_offsets( fd_loader_v4_program_instruction_write_off_t * self, fd_bincode_decode_ctx_t * ctx );
7243 : int fd_loader_v4_program_instruction_write_encode( fd_loader_v4_program_instruction_write_t const * self, fd_bincode_encode_ctx_t * ctx );
7244 : void fd_loader_v4_program_instruction_write_destroy( fd_loader_v4_program_instruction_write_t * self, fd_bincode_destroy_ctx_t * ctx );
7245 : void fd_loader_v4_program_instruction_write_walk( void * w, fd_loader_v4_program_instruction_write_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7246 : ulong fd_loader_v4_program_instruction_write_size( fd_loader_v4_program_instruction_write_t const * self );
7247 : ulong fd_loader_v4_program_instruction_write_footprint( void );
7248 : ulong fd_loader_v4_program_instruction_write_align( void );
7249 :
7250 : void fd_loader_v4_program_instruction_truncate_new( fd_loader_v4_program_instruction_truncate_t * self );
7251 : int fd_loader_v4_program_instruction_truncate_decode( fd_loader_v4_program_instruction_truncate_t * self, fd_bincode_decode_ctx_t * ctx );
7252 : int fd_loader_v4_program_instruction_truncate_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7253 : void fd_loader_v4_program_instruction_truncate_decode_unsafe( fd_loader_v4_program_instruction_truncate_t * self, fd_bincode_decode_ctx_t * ctx );
7254 : int fd_loader_v4_program_instruction_truncate_decode_offsets( fd_loader_v4_program_instruction_truncate_off_t * self, fd_bincode_decode_ctx_t * ctx );
7255 : int fd_loader_v4_program_instruction_truncate_encode( fd_loader_v4_program_instruction_truncate_t const * self, fd_bincode_encode_ctx_t * ctx );
7256 : void fd_loader_v4_program_instruction_truncate_destroy( fd_loader_v4_program_instruction_truncate_t * self, fd_bincode_destroy_ctx_t * ctx );
7257 : void fd_loader_v4_program_instruction_truncate_walk( void * w, fd_loader_v4_program_instruction_truncate_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7258 : ulong fd_loader_v4_program_instruction_truncate_size( fd_loader_v4_program_instruction_truncate_t const * self );
7259 : ulong fd_loader_v4_program_instruction_truncate_footprint( void );
7260 : ulong fd_loader_v4_program_instruction_truncate_align( void );
7261 :
7262 : void fd_loader_v4_program_instruction_new_disc( fd_loader_v4_program_instruction_t * self, uint discriminant );
7263 : void fd_loader_v4_program_instruction_new( fd_loader_v4_program_instruction_t * self );
7264 : int fd_loader_v4_program_instruction_decode( fd_loader_v4_program_instruction_t * self, fd_bincode_decode_ctx_t * ctx );
7265 : int fd_loader_v4_program_instruction_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7266 : void fd_loader_v4_program_instruction_decode_unsafe( fd_loader_v4_program_instruction_t * self, fd_bincode_decode_ctx_t * ctx );
7267 : int fd_loader_v4_program_instruction_encode( fd_loader_v4_program_instruction_t const * self, fd_bincode_encode_ctx_t * ctx );
7268 : void fd_loader_v4_program_instruction_destroy( fd_loader_v4_program_instruction_t * self, fd_bincode_destroy_ctx_t * ctx );
7269 : void fd_loader_v4_program_instruction_walk( void * w, fd_loader_v4_program_instruction_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7270 : ulong fd_loader_v4_program_instruction_size( fd_loader_v4_program_instruction_t const * self );
7271 : ulong fd_loader_v4_program_instruction_footprint( void );
7272 : ulong fd_loader_v4_program_instruction_align( void );
7273 :
7274 : FD_FN_PURE uchar fd_loader_v4_program_instruction_is_write( fd_loader_v4_program_instruction_t const * self );
7275 : FD_FN_PURE uchar fd_loader_v4_program_instruction_is_truncate( fd_loader_v4_program_instruction_t const * self );
7276 : FD_FN_PURE uchar fd_loader_v4_program_instruction_is_deploy( fd_loader_v4_program_instruction_t const * self );
7277 : FD_FN_PURE uchar fd_loader_v4_program_instruction_is_retract( fd_loader_v4_program_instruction_t const * self );
7278 : FD_FN_PURE uchar fd_loader_v4_program_instruction_is_transfer_authority( fd_loader_v4_program_instruction_t const * self );
7279 : FD_FN_PURE uchar fd_loader_v4_program_instruction_is_finalize( fd_loader_v4_program_instruction_t const * self );
7280 : enum {
7281 : fd_loader_v4_program_instruction_enum_write = 0,
7282 : fd_loader_v4_program_instruction_enum_truncate = 1,
7283 : fd_loader_v4_program_instruction_enum_deploy = 2,
7284 : fd_loader_v4_program_instruction_enum_retract = 3,
7285 : fd_loader_v4_program_instruction_enum_transfer_authority = 4,
7286 : fd_loader_v4_program_instruction_enum_finalize = 5,
7287 : };
7288 : void fd_bpf_upgradeable_loader_program_instruction_write_new( fd_bpf_upgradeable_loader_program_instruction_write_t * self );
7289 : int fd_bpf_upgradeable_loader_program_instruction_write_decode( fd_bpf_upgradeable_loader_program_instruction_write_t * self, fd_bincode_decode_ctx_t * ctx );
7290 : int fd_bpf_upgradeable_loader_program_instruction_write_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7291 : void fd_bpf_upgradeable_loader_program_instruction_write_decode_unsafe( fd_bpf_upgradeable_loader_program_instruction_write_t * self, fd_bincode_decode_ctx_t * ctx );
7292 : int fd_bpf_upgradeable_loader_program_instruction_write_decode_offsets( fd_bpf_upgradeable_loader_program_instruction_write_off_t * self, fd_bincode_decode_ctx_t * ctx );
7293 : int fd_bpf_upgradeable_loader_program_instruction_write_encode( fd_bpf_upgradeable_loader_program_instruction_write_t const * self, fd_bincode_encode_ctx_t * ctx );
7294 : void fd_bpf_upgradeable_loader_program_instruction_write_destroy( fd_bpf_upgradeable_loader_program_instruction_write_t * self, fd_bincode_destroy_ctx_t * ctx );
7295 : void fd_bpf_upgradeable_loader_program_instruction_write_walk( void * w, fd_bpf_upgradeable_loader_program_instruction_write_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7296 : ulong fd_bpf_upgradeable_loader_program_instruction_write_size( fd_bpf_upgradeable_loader_program_instruction_write_t const * self );
7297 : ulong fd_bpf_upgradeable_loader_program_instruction_write_footprint( void );
7298 : ulong fd_bpf_upgradeable_loader_program_instruction_write_align( void );
7299 :
7300 : void fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_new( fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_t * self );
7301 : int fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_decode( fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_t * self, fd_bincode_decode_ctx_t * ctx );
7302 : int fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7303 : void fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_decode_unsafe( fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_t * self, fd_bincode_decode_ctx_t * ctx );
7304 : int fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_decode_offsets( fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_off_t * self, fd_bincode_decode_ctx_t * ctx );
7305 : int fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_encode( fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_t const * self, fd_bincode_encode_ctx_t * ctx );
7306 : void fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_destroy( fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_t * self, fd_bincode_destroy_ctx_t * ctx );
7307 : void fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_walk( void * w, fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7308 : ulong fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_size( fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_t const * self );
7309 : ulong fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_footprint( void );
7310 : ulong fd_bpf_upgradeable_loader_program_instruction_deploy_with_max_data_len_align( void );
7311 :
7312 : void fd_bpf_upgradeable_loader_program_instruction_extend_program_new( fd_bpf_upgradeable_loader_program_instruction_extend_program_t * self );
7313 : int fd_bpf_upgradeable_loader_program_instruction_extend_program_decode( fd_bpf_upgradeable_loader_program_instruction_extend_program_t * self, fd_bincode_decode_ctx_t * ctx );
7314 : int fd_bpf_upgradeable_loader_program_instruction_extend_program_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7315 : void fd_bpf_upgradeable_loader_program_instruction_extend_program_decode_unsafe( fd_bpf_upgradeable_loader_program_instruction_extend_program_t * self, fd_bincode_decode_ctx_t * ctx );
7316 : int fd_bpf_upgradeable_loader_program_instruction_extend_program_decode_offsets( fd_bpf_upgradeable_loader_program_instruction_extend_program_off_t * self, fd_bincode_decode_ctx_t * ctx );
7317 : int fd_bpf_upgradeable_loader_program_instruction_extend_program_encode( fd_bpf_upgradeable_loader_program_instruction_extend_program_t const * self, fd_bincode_encode_ctx_t * ctx );
7318 : void fd_bpf_upgradeable_loader_program_instruction_extend_program_destroy( fd_bpf_upgradeable_loader_program_instruction_extend_program_t * self, fd_bincode_destroy_ctx_t * ctx );
7319 : void fd_bpf_upgradeable_loader_program_instruction_extend_program_walk( void * w, fd_bpf_upgradeable_loader_program_instruction_extend_program_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7320 : ulong fd_bpf_upgradeable_loader_program_instruction_extend_program_size( fd_bpf_upgradeable_loader_program_instruction_extend_program_t const * self );
7321 : ulong fd_bpf_upgradeable_loader_program_instruction_extend_program_footprint( void );
7322 : ulong fd_bpf_upgradeable_loader_program_instruction_extend_program_align( void );
7323 :
7324 : void fd_bpf_upgradeable_loader_program_instruction_new_disc( fd_bpf_upgradeable_loader_program_instruction_t * self, uint discriminant );
7325 : void fd_bpf_upgradeable_loader_program_instruction_new( fd_bpf_upgradeable_loader_program_instruction_t * self );
7326 : int fd_bpf_upgradeable_loader_program_instruction_decode( fd_bpf_upgradeable_loader_program_instruction_t * self, fd_bincode_decode_ctx_t * ctx );
7327 : int fd_bpf_upgradeable_loader_program_instruction_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7328 : void fd_bpf_upgradeable_loader_program_instruction_decode_unsafe( fd_bpf_upgradeable_loader_program_instruction_t * self, fd_bincode_decode_ctx_t * ctx );
7329 : int fd_bpf_upgradeable_loader_program_instruction_encode( fd_bpf_upgradeable_loader_program_instruction_t const * self, fd_bincode_encode_ctx_t * ctx );
7330 : void fd_bpf_upgradeable_loader_program_instruction_destroy( fd_bpf_upgradeable_loader_program_instruction_t * self, fd_bincode_destroy_ctx_t * ctx );
7331 : void fd_bpf_upgradeable_loader_program_instruction_walk( void * w, fd_bpf_upgradeable_loader_program_instruction_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7332 : ulong fd_bpf_upgradeable_loader_program_instruction_size( fd_bpf_upgradeable_loader_program_instruction_t const * self );
7333 : ulong fd_bpf_upgradeable_loader_program_instruction_footprint( void );
7334 : ulong fd_bpf_upgradeable_loader_program_instruction_align( void );
7335 :
7336 : FD_FN_PURE uchar fd_bpf_upgradeable_loader_program_instruction_is_initialize_buffer( fd_bpf_upgradeable_loader_program_instruction_t const * self );
7337 : FD_FN_PURE uchar fd_bpf_upgradeable_loader_program_instruction_is_write( fd_bpf_upgradeable_loader_program_instruction_t const * self );
7338 : FD_FN_PURE uchar fd_bpf_upgradeable_loader_program_instruction_is_deploy_with_max_data_len( fd_bpf_upgradeable_loader_program_instruction_t const * self );
7339 : FD_FN_PURE uchar fd_bpf_upgradeable_loader_program_instruction_is_upgrade( fd_bpf_upgradeable_loader_program_instruction_t const * self );
7340 : FD_FN_PURE uchar fd_bpf_upgradeable_loader_program_instruction_is_set_authority( fd_bpf_upgradeable_loader_program_instruction_t const * self );
7341 : FD_FN_PURE uchar fd_bpf_upgradeable_loader_program_instruction_is_close( fd_bpf_upgradeable_loader_program_instruction_t const * self );
7342 : FD_FN_PURE uchar fd_bpf_upgradeable_loader_program_instruction_is_extend_program( fd_bpf_upgradeable_loader_program_instruction_t const * self );
7343 : FD_FN_PURE uchar fd_bpf_upgradeable_loader_program_instruction_is_set_authority_checked( fd_bpf_upgradeable_loader_program_instruction_t const * self );
7344 : enum {
7345 : fd_bpf_upgradeable_loader_program_instruction_enum_initialize_buffer = 0,
7346 : fd_bpf_upgradeable_loader_program_instruction_enum_write = 1,
7347 : fd_bpf_upgradeable_loader_program_instruction_enum_deploy_with_max_data_len = 2,
7348 : fd_bpf_upgradeable_loader_program_instruction_enum_upgrade = 3,
7349 : fd_bpf_upgradeable_loader_program_instruction_enum_set_authority = 4,
7350 : fd_bpf_upgradeable_loader_program_instruction_enum_close = 5,
7351 : fd_bpf_upgradeable_loader_program_instruction_enum_extend_program = 6,
7352 : fd_bpf_upgradeable_loader_program_instruction_enum_set_authority_checked = 7,
7353 : };
7354 : void fd_bpf_upgradeable_loader_state_buffer_new( fd_bpf_upgradeable_loader_state_buffer_t * self );
7355 : int fd_bpf_upgradeable_loader_state_buffer_decode( fd_bpf_upgradeable_loader_state_buffer_t * self, fd_bincode_decode_ctx_t * ctx );
7356 : int fd_bpf_upgradeable_loader_state_buffer_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7357 : void fd_bpf_upgradeable_loader_state_buffer_decode_unsafe( fd_bpf_upgradeable_loader_state_buffer_t * self, fd_bincode_decode_ctx_t * ctx );
7358 : int fd_bpf_upgradeable_loader_state_buffer_decode_offsets( fd_bpf_upgradeable_loader_state_buffer_off_t * self, fd_bincode_decode_ctx_t * ctx );
7359 : int fd_bpf_upgradeable_loader_state_buffer_encode( fd_bpf_upgradeable_loader_state_buffer_t const * self, fd_bincode_encode_ctx_t * ctx );
7360 : void fd_bpf_upgradeable_loader_state_buffer_destroy( fd_bpf_upgradeable_loader_state_buffer_t * self, fd_bincode_destroy_ctx_t * ctx );
7361 : void fd_bpf_upgradeable_loader_state_buffer_walk( void * w, fd_bpf_upgradeable_loader_state_buffer_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7362 : ulong fd_bpf_upgradeable_loader_state_buffer_size( fd_bpf_upgradeable_loader_state_buffer_t const * self );
7363 : ulong fd_bpf_upgradeable_loader_state_buffer_footprint( void );
7364 : ulong fd_bpf_upgradeable_loader_state_buffer_align( void );
7365 :
7366 : void fd_bpf_upgradeable_loader_state_program_new( fd_bpf_upgradeable_loader_state_program_t * self );
7367 : int fd_bpf_upgradeable_loader_state_program_decode( fd_bpf_upgradeable_loader_state_program_t * self, fd_bincode_decode_ctx_t * ctx );
7368 : int fd_bpf_upgradeable_loader_state_program_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7369 : void fd_bpf_upgradeable_loader_state_program_decode_unsafe( fd_bpf_upgradeable_loader_state_program_t * self, fd_bincode_decode_ctx_t * ctx );
7370 : int fd_bpf_upgradeable_loader_state_program_decode_offsets( fd_bpf_upgradeable_loader_state_program_off_t * self, fd_bincode_decode_ctx_t * ctx );
7371 : int fd_bpf_upgradeable_loader_state_program_encode( fd_bpf_upgradeable_loader_state_program_t const * self, fd_bincode_encode_ctx_t * ctx );
7372 : void fd_bpf_upgradeable_loader_state_program_destroy( fd_bpf_upgradeable_loader_state_program_t * self, fd_bincode_destroy_ctx_t * ctx );
7373 : void fd_bpf_upgradeable_loader_state_program_walk( void * w, fd_bpf_upgradeable_loader_state_program_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7374 : ulong fd_bpf_upgradeable_loader_state_program_size( fd_bpf_upgradeable_loader_state_program_t const * self );
7375 : ulong fd_bpf_upgradeable_loader_state_program_footprint( void );
7376 : ulong fd_bpf_upgradeable_loader_state_program_align( void );
7377 :
7378 : void fd_bpf_upgradeable_loader_state_program_data_new( fd_bpf_upgradeable_loader_state_program_data_t * self );
7379 : int fd_bpf_upgradeable_loader_state_program_data_decode( fd_bpf_upgradeable_loader_state_program_data_t * self, fd_bincode_decode_ctx_t * ctx );
7380 : int fd_bpf_upgradeable_loader_state_program_data_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7381 : void fd_bpf_upgradeable_loader_state_program_data_decode_unsafe( fd_bpf_upgradeable_loader_state_program_data_t * self, fd_bincode_decode_ctx_t * ctx );
7382 : int fd_bpf_upgradeable_loader_state_program_data_decode_offsets( fd_bpf_upgradeable_loader_state_program_data_off_t * self, fd_bincode_decode_ctx_t * ctx );
7383 : int fd_bpf_upgradeable_loader_state_program_data_encode( fd_bpf_upgradeable_loader_state_program_data_t const * self, fd_bincode_encode_ctx_t * ctx );
7384 : void fd_bpf_upgradeable_loader_state_program_data_destroy( fd_bpf_upgradeable_loader_state_program_data_t * self, fd_bincode_destroy_ctx_t * ctx );
7385 : void fd_bpf_upgradeable_loader_state_program_data_walk( void * w, fd_bpf_upgradeable_loader_state_program_data_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7386 : ulong fd_bpf_upgradeable_loader_state_program_data_size( fd_bpf_upgradeable_loader_state_program_data_t const * self );
7387 : ulong fd_bpf_upgradeable_loader_state_program_data_footprint( void );
7388 : ulong fd_bpf_upgradeable_loader_state_program_data_align( void );
7389 :
7390 : void fd_bpf_upgradeable_loader_state_new_disc( fd_bpf_upgradeable_loader_state_t * self, uint discriminant );
7391 : void fd_bpf_upgradeable_loader_state_new( fd_bpf_upgradeable_loader_state_t * self );
7392 : int fd_bpf_upgradeable_loader_state_decode( fd_bpf_upgradeable_loader_state_t * self, fd_bincode_decode_ctx_t * ctx );
7393 : int fd_bpf_upgradeable_loader_state_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7394 : void fd_bpf_upgradeable_loader_state_decode_unsafe( fd_bpf_upgradeable_loader_state_t * self, fd_bincode_decode_ctx_t * ctx );
7395 : int fd_bpf_upgradeable_loader_state_encode( fd_bpf_upgradeable_loader_state_t const * self, fd_bincode_encode_ctx_t * ctx );
7396 : void fd_bpf_upgradeable_loader_state_destroy( fd_bpf_upgradeable_loader_state_t * self, fd_bincode_destroy_ctx_t * ctx );
7397 : void fd_bpf_upgradeable_loader_state_walk( void * w, fd_bpf_upgradeable_loader_state_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7398 : ulong fd_bpf_upgradeable_loader_state_size( fd_bpf_upgradeable_loader_state_t const * self );
7399 : ulong fd_bpf_upgradeable_loader_state_footprint( void );
7400 : ulong fd_bpf_upgradeable_loader_state_align( void );
7401 :
7402 : FD_FN_PURE uchar fd_bpf_upgradeable_loader_state_is_uninitialized( fd_bpf_upgradeable_loader_state_t const * self );
7403 : FD_FN_PURE uchar fd_bpf_upgradeable_loader_state_is_buffer( fd_bpf_upgradeable_loader_state_t const * self );
7404 : FD_FN_PURE uchar fd_bpf_upgradeable_loader_state_is_program( fd_bpf_upgradeable_loader_state_t const * self );
7405 : FD_FN_PURE uchar fd_bpf_upgradeable_loader_state_is_program_data( fd_bpf_upgradeable_loader_state_t const * self );
7406 : enum {
7407 : fd_bpf_upgradeable_loader_state_enum_uninitialized = 0,
7408 : fd_bpf_upgradeable_loader_state_enum_buffer = 1,
7409 : fd_bpf_upgradeable_loader_state_enum_program = 2,
7410 : fd_bpf_upgradeable_loader_state_enum_program_data = 3,
7411 : };
7412 : void fd_loader_v4_state_new( fd_loader_v4_state_t * self );
7413 : int fd_loader_v4_state_decode( fd_loader_v4_state_t * self, fd_bincode_decode_ctx_t * ctx );
7414 : int fd_loader_v4_state_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7415 : void fd_loader_v4_state_decode_unsafe( fd_loader_v4_state_t * self, fd_bincode_decode_ctx_t * ctx );
7416 : int fd_loader_v4_state_decode_offsets( fd_loader_v4_state_off_t * self, fd_bincode_decode_ctx_t * ctx );
7417 : int fd_loader_v4_state_encode( fd_loader_v4_state_t const * self, fd_bincode_encode_ctx_t * ctx );
7418 : void fd_loader_v4_state_destroy( fd_loader_v4_state_t * self, fd_bincode_destroy_ctx_t * ctx );
7419 : void fd_loader_v4_state_walk( void * w, fd_loader_v4_state_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7420 : ulong fd_loader_v4_state_size( fd_loader_v4_state_t const * self );
7421 : ulong fd_loader_v4_state_footprint( void );
7422 : ulong fd_loader_v4_state_align( void );
7423 :
7424 : void fd_frozen_hash_status_new( fd_frozen_hash_status_t * self );
7425 : int fd_frozen_hash_status_decode( fd_frozen_hash_status_t * self, fd_bincode_decode_ctx_t * ctx );
7426 : int fd_frozen_hash_status_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7427 : void fd_frozen_hash_status_decode_unsafe( fd_frozen_hash_status_t * self, fd_bincode_decode_ctx_t * ctx );
7428 : int fd_frozen_hash_status_decode_offsets( fd_frozen_hash_status_off_t * self, fd_bincode_decode_ctx_t * ctx );
7429 : int fd_frozen_hash_status_encode( fd_frozen_hash_status_t const * self, fd_bincode_encode_ctx_t * ctx );
7430 : void fd_frozen_hash_status_destroy( fd_frozen_hash_status_t * self, fd_bincode_destroy_ctx_t * ctx );
7431 : void fd_frozen_hash_status_walk( void * w, fd_frozen_hash_status_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7432 : ulong fd_frozen_hash_status_size( fd_frozen_hash_status_t const * self );
7433 : ulong fd_frozen_hash_status_footprint( void );
7434 : ulong fd_frozen_hash_status_align( void );
7435 :
7436 : void fd_frozen_hash_versioned_new_disc( fd_frozen_hash_versioned_t * self, uint discriminant );
7437 : void fd_frozen_hash_versioned_new( fd_frozen_hash_versioned_t * self );
7438 : int fd_frozen_hash_versioned_decode( fd_frozen_hash_versioned_t * self, fd_bincode_decode_ctx_t * ctx );
7439 : int fd_frozen_hash_versioned_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7440 : void fd_frozen_hash_versioned_decode_unsafe( fd_frozen_hash_versioned_t * self, fd_bincode_decode_ctx_t * ctx );
7441 : int fd_frozen_hash_versioned_encode( fd_frozen_hash_versioned_t const * self, fd_bincode_encode_ctx_t * ctx );
7442 : void fd_frozen_hash_versioned_destroy( fd_frozen_hash_versioned_t * self, fd_bincode_destroy_ctx_t * ctx );
7443 : void fd_frozen_hash_versioned_walk( void * w, fd_frozen_hash_versioned_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7444 : ulong fd_frozen_hash_versioned_size( fd_frozen_hash_versioned_t const * self );
7445 : ulong fd_frozen_hash_versioned_footprint( void );
7446 : ulong fd_frozen_hash_versioned_align( void );
7447 :
7448 : FD_FN_PURE uchar fd_frozen_hash_versioned_is_current( fd_frozen_hash_versioned_t const * self );
7449 : enum {
7450 : fd_frozen_hash_versioned_enum_current = 0,
7451 : };
7452 : void fd_lookup_table_meta_new( fd_lookup_table_meta_t * self );
7453 : int fd_lookup_table_meta_decode( fd_lookup_table_meta_t * self, fd_bincode_decode_ctx_t * ctx );
7454 : int fd_lookup_table_meta_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7455 : void fd_lookup_table_meta_decode_unsafe( fd_lookup_table_meta_t * self, fd_bincode_decode_ctx_t * ctx );
7456 : int fd_lookup_table_meta_decode_offsets( fd_lookup_table_meta_off_t * self, fd_bincode_decode_ctx_t * ctx );
7457 : int fd_lookup_table_meta_encode( fd_lookup_table_meta_t const * self, fd_bincode_encode_ctx_t * ctx );
7458 : void fd_lookup_table_meta_destroy( fd_lookup_table_meta_t * self, fd_bincode_destroy_ctx_t * ctx );
7459 : void fd_lookup_table_meta_walk( void * w, fd_lookup_table_meta_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7460 : ulong fd_lookup_table_meta_size( fd_lookup_table_meta_t const * self );
7461 : ulong fd_lookup_table_meta_footprint( void );
7462 : ulong fd_lookup_table_meta_align( void );
7463 :
7464 : void fd_address_lookup_table_new( fd_address_lookup_table_t * self );
7465 : int fd_address_lookup_table_decode( fd_address_lookup_table_t * self, fd_bincode_decode_ctx_t * ctx );
7466 : int fd_address_lookup_table_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7467 : void fd_address_lookup_table_decode_unsafe( fd_address_lookup_table_t * self, fd_bincode_decode_ctx_t * ctx );
7468 : int fd_address_lookup_table_decode_offsets( fd_address_lookup_table_off_t * self, fd_bincode_decode_ctx_t * ctx );
7469 : int fd_address_lookup_table_encode( fd_address_lookup_table_t const * self, fd_bincode_encode_ctx_t * ctx );
7470 : void fd_address_lookup_table_destroy( fd_address_lookup_table_t * self, fd_bincode_destroy_ctx_t * ctx );
7471 : void fd_address_lookup_table_walk( void * w, fd_address_lookup_table_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7472 : ulong fd_address_lookup_table_size( fd_address_lookup_table_t const * self );
7473 : ulong fd_address_lookup_table_footprint( void );
7474 : ulong fd_address_lookup_table_align( void );
7475 :
7476 : void fd_address_lookup_table_state_new_disc( fd_address_lookup_table_state_t * self, uint discriminant );
7477 : void fd_address_lookup_table_state_new( fd_address_lookup_table_state_t * self );
7478 : int fd_address_lookup_table_state_decode( fd_address_lookup_table_state_t * self, fd_bincode_decode_ctx_t * ctx );
7479 : int fd_address_lookup_table_state_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7480 : void fd_address_lookup_table_state_decode_unsafe( fd_address_lookup_table_state_t * self, fd_bincode_decode_ctx_t * ctx );
7481 : int fd_address_lookup_table_state_encode( fd_address_lookup_table_state_t const * self, fd_bincode_encode_ctx_t * ctx );
7482 : void fd_address_lookup_table_state_destroy( fd_address_lookup_table_state_t * self, fd_bincode_destroy_ctx_t * ctx );
7483 : void fd_address_lookup_table_state_walk( void * w, fd_address_lookup_table_state_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7484 : ulong fd_address_lookup_table_state_size( fd_address_lookup_table_state_t const * self );
7485 : ulong fd_address_lookup_table_state_footprint( void );
7486 : ulong fd_address_lookup_table_state_align( void );
7487 :
7488 : FD_FN_PURE uchar fd_address_lookup_table_state_is_uninitialized( fd_address_lookup_table_state_t const * self );
7489 : FD_FN_PURE uchar fd_address_lookup_table_state_is_lookup_table( fd_address_lookup_table_state_t const * self );
7490 : enum {
7491 : fd_address_lookup_table_state_enum_uninitialized = 0,
7492 : fd_address_lookup_table_state_enum_lookup_table = 1,
7493 : };
7494 : void fd_gossip_bitvec_u8_inner_new( fd_gossip_bitvec_u8_inner_t * self );
7495 : int fd_gossip_bitvec_u8_inner_decode( fd_gossip_bitvec_u8_inner_t * self, fd_bincode_decode_ctx_t * ctx );
7496 : int fd_gossip_bitvec_u8_inner_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7497 : void fd_gossip_bitvec_u8_inner_decode_unsafe( fd_gossip_bitvec_u8_inner_t * self, fd_bincode_decode_ctx_t * ctx );
7498 : int fd_gossip_bitvec_u8_inner_decode_offsets( fd_gossip_bitvec_u8_inner_off_t * self, fd_bincode_decode_ctx_t * ctx );
7499 : int fd_gossip_bitvec_u8_inner_encode( fd_gossip_bitvec_u8_inner_t const * self, fd_bincode_encode_ctx_t * ctx );
7500 : void fd_gossip_bitvec_u8_inner_destroy( fd_gossip_bitvec_u8_inner_t * self, fd_bincode_destroy_ctx_t * ctx );
7501 : void fd_gossip_bitvec_u8_inner_walk( void * w, fd_gossip_bitvec_u8_inner_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7502 : ulong fd_gossip_bitvec_u8_inner_size( fd_gossip_bitvec_u8_inner_t const * self );
7503 : ulong fd_gossip_bitvec_u8_inner_footprint( void );
7504 : ulong fd_gossip_bitvec_u8_inner_align( void );
7505 :
7506 : void fd_gossip_bitvec_u8_new( fd_gossip_bitvec_u8_t * self );
7507 : int fd_gossip_bitvec_u8_decode( fd_gossip_bitvec_u8_t * self, fd_bincode_decode_ctx_t * ctx );
7508 : int fd_gossip_bitvec_u8_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7509 : void fd_gossip_bitvec_u8_decode_unsafe( fd_gossip_bitvec_u8_t * self, fd_bincode_decode_ctx_t * ctx );
7510 : int fd_gossip_bitvec_u8_decode_offsets( fd_gossip_bitvec_u8_off_t * self, fd_bincode_decode_ctx_t * ctx );
7511 : int fd_gossip_bitvec_u8_encode( fd_gossip_bitvec_u8_t const * self, fd_bincode_encode_ctx_t * ctx );
7512 : void fd_gossip_bitvec_u8_destroy( fd_gossip_bitvec_u8_t * self, fd_bincode_destroy_ctx_t * ctx );
7513 : void fd_gossip_bitvec_u8_walk( void * w, fd_gossip_bitvec_u8_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7514 : ulong fd_gossip_bitvec_u8_size( fd_gossip_bitvec_u8_t const * self );
7515 : ulong fd_gossip_bitvec_u8_footprint( void );
7516 : ulong fd_gossip_bitvec_u8_align( void );
7517 :
7518 : void fd_gossip_bitvec_u64_inner_new( fd_gossip_bitvec_u64_inner_t * self );
7519 : int fd_gossip_bitvec_u64_inner_decode( fd_gossip_bitvec_u64_inner_t * self, fd_bincode_decode_ctx_t * ctx );
7520 : int fd_gossip_bitvec_u64_inner_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7521 : void fd_gossip_bitvec_u64_inner_decode_unsafe( fd_gossip_bitvec_u64_inner_t * self, fd_bincode_decode_ctx_t * ctx );
7522 : int fd_gossip_bitvec_u64_inner_decode_offsets( fd_gossip_bitvec_u64_inner_off_t * self, fd_bincode_decode_ctx_t * ctx );
7523 : int fd_gossip_bitvec_u64_inner_encode( fd_gossip_bitvec_u64_inner_t const * self, fd_bincode_encode_ctx_t * ctx );
7524 : void fd_gossip_bitvec_u64_inner_destroy( fd_gossip_bitvec_u64_inner_t * self, fd_bincode_destroy_ctx_t * ctx );
7525 : void fd_gossip_bitvec_u64_inner_walk( void * w, fd_gossip_bitvec_u64_inner_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7526 : ulong fd_gossip_bitvec_u64_inner_size( fd_gossip_bitvec_u64_inner_t const * self );
7527 : ulong fd_gossip_bitvec_u64_inner_footprint( void );
7528 : ulong fd_gossip_bitvec_u64_inner_align( void );
7529 :
7530 : void fd_gossip_bitvec_u64_new( fd_gossip_bitvec_u64_t * self );
7531 : int fd_gossip_bitvec_u64_decode( fd_gossip_bitvec_u64_t * self, fd_bincode_decode_ctx_t * ctx );
7532 : int fd_gossip_bitvec_u64_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7533 : void fd_gossip_bitvec_u64_decode_unsafe( fd_gossip_bitvec_u64_t * self, fd_bincode_decode_ctx_t * ctx );
7534 : int fd_gossip_bitvec_u64_decode_offsets( fd_gossip_bitvec_u64_off_t * self, fd_bincode_decode_ctx_t * ctx );
7535 : int fd_gossip_bitvec_u64_encode( fd_gossip_bitvec_u64_t const * self, fd_bincode_encode_ctx_t * ctx );
7536 : void fd_gossip_bitvec_u64_destroy( fd_gossip_bitvec_u64_t * self, fd_bincode_destroy_ctx_t * ctx );
7537 : void fd_gossip_bitvec_u64_walk( void * w, fd_gossip_bitvec_u64_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7538 : ulong fd_gossip_bitvec_u64_size( fd_gossip_bitvec_u64_t const * self );
7539 : ulong fd_gossip_bitvec_u64_footprint( void );
7540 : ulong fd_gossip_bitvec_u64_align( void );
7541 :
7542 : void fd_gossip_ping_new( fd_gossip_ping_t * self );
7543 : int fd_gossip_ping_decode( fd_gossip_ping_t * self, fd_bincode_decode_ctx_t * ctx );
7544 : int fd_gossip_ping_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7545 : void fd_gossip_ping_decode_unsafe( fd_gossip_ping_t * self, fd_bincode_decode_ctx_t * ctx );
7546 : int fd_gossip_ping_decode_offsets( fd_gossip_ping_off_t * self, fd_bincode_decode_ctx_t * ctx );
7547 : int fd_gossip_ping_encode( fd_gossip_ping_t const * self, fd_bincode_encode_ctx_t * ctx );
7548 : void fd_gossip_ping_destroy( fd_gossip_ping_t * self, fd_bincode_destroy_ctx_t * ctx );
7549 : void fd_gossip_ping_walk( void * w, fd_gossip_ping_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7550 : ulong fd_gossip_ping_size( fd_gossip_ping_t const * self );
7551 : ulong fd_gossip_ping_footprint( void );
7552 : ulong fd_gossip_ping_align( void );
7553 :
7554 : void fd_gossip_ip_addr_new_disc( fd_gossip_ip_addr_t * self, uint discriminant );
7555 : void fd_gossip_ip_addr_new( fd_gossip_ip_addr_t * self );
7556 : int fd_gossip_ip_addr_decode( fd_gossip_ip_addr_t * self, fd_bincode_decode_ctx_t * ctx );
7557 : int fd_gossip_ip_addr_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7558 : void fd_gossip_ip_addr_decode_unsafe( fd_gossip_ip_addr_t * self, fd_bincode_decode_ctx_t * ctx );
7559 : int fd_gossip_ip_addr_encode( fd_gossip_ip_addr_t const * self, fd_bincode_encode_ctx_t * ctx );
7560 : void fd_gossip_ip_addr_destroy( fd_gossip_ip_addr_t * self, fd_bincode_destroy_ctx_t * ctx );
7561 : void fd_gossip_ip_addr_walk( void * w, fd_gossip_ip_addr_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7562 : ulong fd_gossip_ip_addr_size( fd_gossip_ip_addr_t const * self );
7563 : ulong fd_gossip_ip_addr_footprint( void );
7564 : ulong fd_gossip_ip_addr_align( void );
7565 :
7566 : FD_FN_PURE uchar fd_gossip_ip_addr_is_ip4( fd_gossip_ip_addr_t const * self );
7567 : FD_FN_PURE uchar fd_gossip_ip_addr_is_ip6( fd_gossip_ip_addr_t const * self );
7568 : enum {
7569 : fd_gossip_ip_addr_enum_ip4 = 0,
7570 : fd_gossip_ip_addr_enum_ip6 = 1,
7571 : };
7572 : void fd_gossip_prune_data_new( fd_gossip_prune_data_t * self );
7573 : int fd_gossip_prune_data_decode( fd_gossip_prune_data_t * self, fd_bincode_decode_ctx_t * ctx );
7574 : int fd_gossip_prune_data_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7575 : void fd_gossip_prune_data_decode_unsafe( fd_gossip_prune_data_t * self, fd_bincode_decode_ctx_t * ctx );
7576 : int fd_gossip_prune_data_decode_offsets( fd_gossip_prune_data_off_t * self, fd_bincode_decode_ctx_t * ctx );
7577 : int fd_gossip_prune_data_encode( fd_gossip_prune_data_t const * self, fd_bincode_encode_ctx_t * ctx );
7578 : void fd_gossip_prune_data_destroy( fd_gossip_prune_data_t * self, fd_bincode_destroy_ctx_t * ctx );
7579 : void fd_gossip_prune_data_walk( void * w, fd_gossip_prune_data_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7580 : ulong fd_gossip_prune_data_size( fd_gossip_prune_data_t const * self );
7581 : ulong fd_gossip_prune_data_footprint( void );
7582 : ulong fd_gossip_prune_data_align( void );
7583 :
7584 : void fd_gossip_prune_sign_data_new( fd_gossip_prune_sign_data_t * self );
7585 : int fd_gossip_prune_sign_data_decode( fd_gossip_prune_sign_data_t * self, fd_bincode_decode_ctx_t * ctx );
7586 : int fd_gossip_prune_sign_data_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7587 : void fd_gossip_prune_sign_data_decode_unsafe( fd_gossip_prune_sign_data_t * self, fd_bincode_decode_ctx_t * ctx );
7588 : int fd_gossip_prune_sign_data_decode_offsets( fd_gossip_prune_sign_data_off_t * self, fd_bincode_decode_ctx_t * ctx );
7589 : int fd_gossip_prune_sign_data_encode( fd_gossip_prune_sign_data_t const * self, fd_bincode_encode_ctx_t * ctx );
7590 : void fd_gossip_prune_sign_data_destroy( fd_gossip_prune_sign_data_t * self, fd_bincode_destroy_ctx_t * ctx );
7591 : void fd_gossip_prune_sign_data_walk( void * w, fd_gossip_prune_sign_data_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7592 : ulong fd_gossip_prune_sign_data_size( fd_gossip_prune_sign_data_t const * self );
7593 : ulong fd_gossip_prune_sign_data_footprint( void );
7594 : ulong fd_gossip_prune_sign_data_align( void );
7595 :
7596 : void fd_gossip_prune_sign_data_with_prefix_new( fd_gossip_prune_sign_data_with_prefix_t * self );
7597 : int fd_gossip_prune_sign_data_with_prefix_decode( fd_gossip_prune_sign_data_with_prefix_t * self, fd_bincode_decode_ctx_t * ctx );
7598 : int fd_gossip_prune_sign_data_with_prefix_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7599 : void fd_gossip_prune_sign_data_with_prefix_decode_unsafe( fd_gossip_prune_sign_data_with_prefix_t * self, fd_bincode_decode_ctx_t * ctx );
7600 : int fd_gossip_prune_sign_data_with_prefix_decode_offsets( fd_gossip_prune_sign_data_with_prefix_off_t * self, fd_bincode_decode_ctx_t * ctx );
7601 : int fd_gossip_prune_sign_data_with_prefix_encode( fd_gossip_prune_sign_data_with_prefix_t const * self, fd_bincode_encode_ctx_t * ctx );
7602 : void fd_gossip_prune_sign_data_with_prefix_destroy( fd_gossip_prune_sign_data_with_prefix_t * self, fd_bincode_destroy_ctx_t * ctx );
7603 : void fd_gossip_prune_sign_data_with_prefix_walk( void * w, fd_gossip_prune_sign_data_with_prefix_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7604 : ulong fd_gossip_prune_sign_data_with_prefix_size( fd_gossip_prune_sign_data_with_prefix_t const * self );
7605 : ulong fd_gossip_prune_sign_data_with_prefix_footprint( void );
7606 : ulong fd_gossip_prune_sign_data_with_prefix_align( void );
7607 :
7608 : void fd_gossip_socket_addr_old_new( fd_gossip_socket_addr_old_t * self );
7609 : int fd_gossip_socket_addr_old_decode( fd_gossip_socket_addr_old_t * self, fd_bincode_decode_ctx_t * ctx );
7610 : int fd_gossip_socket_addr_old_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7611 : void fd_gossip_socket_addr_old_decode_unsafe( fd_gossip_socket_addr_old_t * self, fd_bincode_decode_ctx_t * ctx );
7612 : int fd_gossip_socket_addr_old_decode_offsets( fd_gossip_socket_addr_old_off_t * self, fd_bincode_decode_ctx_t * ctx );
7613 : int fd_gossip_socket_addr_old_encode( fd_gossip_socket_addr_old_t const * self, fd_bincode_encode_ctx_t * ctx );
7614 : void fd_gossip_socket_addr_old_destroy( fd_gossip_socket_addr_old_t * self, fd_bincode_destroy_ctx_t * ctx );
7615 : void fd_gossip_socket_addr_old_walk( void * w, fd_gossip_socket_addr_old_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7616 : ulong fd_gossip_socket_addr_old_size( fd_gossip_socket_addr_old_t const * self );
7617 : ulong fd_gossip_socket_addr_old_footprint( void );
7618 : ulong fd_gossip_socket_addr_old_align( void );
7619 :
7620 : void fd_gossip_socket_addr_ip4_new( fd_gossip_socket_addr_ip4_t * self );
7621 : int fd_gossip_socket_addr_ip4_decode( fd_gossip_socket_addr_ip4_t * self, fd_bincode_decode_ctx_t * ctx );
7622 : int fd_gossip_socket_addr_ip4_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7623 : void fd_gossip_socket_addr_ip4_decode_unsafe( fd_gossip_socket_addr_ip4_t * self, fd_bincode_decode_ctx_t * ctx );
7624 : int fd_gossip_socket_addr_ip4_decode_offsets( fd_gossip_socket_addr_ip4_off_t * self, fd_bincode_decode_ctx_t * ctx );
7625 : int fd_gossip_socket_addr_ip4_encode( fd_gossip_socket_addr_ip4_t const * self, fd_bincode_encode_ctx_t * ctx );
7626 : void fd_gossip_socket_addr_ip4_destroy( fd_gossip_socket_addr_ip4_t * self, fd_bincode_destroy_ctx_t * ctx );
7627 : void fd_gossip_socket_addr_ip4_walk( void * w, fd_gossip_socket_addr_ip4_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7628 : ulong fd_gossip_socket_addr_ip4_size( fd_gossip_socket_addr_ip4_t const * self );
7629 : ulong fd_gossip_socket_addr_ip4_footprint( void );
7630 : ulong fd_gossip_socket_addr_ip4_align( void );
7631 :
7632 : void fd_gossip_socket_addr_ip6_new( fd_gossip_socket_addr_ip6_t * self );
7633 : int fd_gossip_socket_addr_ip6_decode( fd_gossip_socket_addr_ip6_t * self, fd_bincode_decode_ctx_t * ctx );
7634 : int fd_gossip_socket_addr_ip6_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7635 : void fd_gossip_socket_addr_ip6_decode_unsafe( fd_gossip_socket_addr_ip6_t * self, fd_bincode_decode_ctx_t * ctx );
7636 : int fd_gossip_socket_addr_ip6_decode_offsets( fd_gossip_socket_addr_ip6_off_t * self, fd_bincode_decode_ctx_t * ctx );
7637 : int fd_gossip_socket_addr_ip6_encode( fd_gossip_socket_addr_ip6_t const * self, fd_bincode_encode_ctx_t * ctx );
7638 : void fd_gossip_socket_addr_ip6_destroy( fd_gossip_socket_addr_ip6_t * self, fd_bincode_destroy_ctx_t * ctx );
7639 : void fd_gossip_socket_addr_ip6_walk( void * w, fd_gossip_socket_addr_ip6_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7640 : ulong fd_gossip_socket_addr_ip6_size( fd_gossip_socket_addr_ip6_t const * self );
7641 : ulong fd_gossip_socket_addr_ip6_footprint( void );
7642 : ulong fd_gossip_socket_addr_ip6_align( void );
7643 :
7644 : void fd_gossip_socket_addr_new_disc( fd_gossip_socket_addr_t * self, uint discriminant );
7645 : void fd_gossip_socket_addr_new( fd_gossip_socket_addr_t * self );
7646 : int fd_gossip_socket_addr_decode( fd_gossip_socket_addr_t * self, fd_bincode_decode_ctx_t * ctx );
7647 : int fd_gossip_socket_addr_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7648 : void fd_gossip_socket_addr_decode_unsafe( fd_gossip_socket_addr_t * self, fd_bincode_decode_ctx_t * ctx );
7649 : int fd_gossip_socket_addr_encode( fd_gossip_socket_addr_t const * self, fd_bincode_encode_ctx_t * ctx );
7650 : void fd_gossip_socket_addr_destroy( fd_gossip_socket_addr_t * self, fd_bincode_destroy_ctx_t * ctx );
7651 : void fd_gossip_socket_addr_walk( void * w, fd_gossip_socket_addr_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7652 : ulong fd_gossip_socket_addr_size( fd_gossip_socket_addr_t const * self );
7653 : ulong fd_gossip_socket_addr_footprint( void );
7654 : ulong fd_gossip_socket_addr_align( void );
7655 :
7656 : FD_FN_PURE uchar fd_gossip_socket_addr_is_ip4( fd_gossip_socket_addr_t const * self );
7657 : FD_FN_PURE uchar fd_gossip_socket_addr_is_ip6( fd_gossip_socket_addr_t const * self );
7658 : enum {
7659 : fd_gossip_socket_addr_enum_ip4 = 0,
7660 : fd_gossip_socket_addr_enum_ip6 = 1,
7661 : };
7662 : void fd_gossip_contact_info_v1_new( fd_gossip_contact_info_v1_t * self );
7663 : int fd_gossip_contact_info_v1_decode( fd_gossip_contact_info_v1_t * self, fd_bincode_decode_ctx_t * ctx );
7664 : int fd_gossip_contact_info_v1_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7665 : void fd_gossip_contact_info_v1_decode_unsafe( fd_gossip_contact_info_v1_t * self, fd_bincode_decode_ctx_t * ctx );
7666 : int fd_gossip_contact_info_v1_decode_offsets( fd_gossip_contact_info_v1_off_t * self, fd_bincode_decode_ctx_t * ctx );
7667 : int fd_gossip_contact_info_v1_encode( fd_gossip_contact_info_v1_t const * self, fd_bincode_encode_ctx_t * ctx );
7668 : void fd_gossip_contact_info_v1_destroy( fd_gossip_contact_info_v1_t * self, fd_bincode_destroy_ctx_t * ctx );
7669 : void fd_gossip_contact_info_v1_walk( void * w, fd_gossip_contact_info_v1_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7670 : ulong fd_gossip_contact_info_v1_size( fd_gossip_contact_info_v1_t const * self );
7671 : ulong fd_gossip_contact_info_v1_footprint( void );
7672 : ulong fd_gossip_contact_info_v1_align( void );
7673 :
7674 : void fd_gossip_vote_new( fd_gossip_vote_t * self );
7675 : int fd_gossip_vote_decode( fd_gossip_vote_t * self, fd_bincode_decode_ctx_t * ctx );
7676 : int fd_gossip_vote_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7677 : void fd_gossip_vote_decode_unsafe( fd_gossip_vote_t * self, fd_bincode_decode_ctx_t * ctx );
7678 : int fd_gossip_vote_decode_offsets( fd_gossip_vote_off_t * self, fd_bincode_decode_ctx_t * ctx );
7679 : int fd_gossip_vote_encode( fd_gossip_vote_t const * self, fd_bincode_encode_ctx_t * ctx );
7680 : void fd_gossip_vote_destroy( fd_gossip_vote_t * self, fd_bincode_destroy_ctx_t * ctx );
7681 : void fd_gossip_vote_walk( void * w, fd_gossip_vote_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7682 : ulong fd_gossip_vote_size( fd_gossip_vote_t const * self );
7683 : ulong fd_gossip_vote_footprint( void );
7684 : ulong fd_gossip_vote_align( void );
7685 :
7686 : void fd_gossip_lowest_slot_new( fd_gossip_lowest_slot_t * self );
7687 : int fd_gossip_lowest_slot_decode( fd_gossip_lowest_slot_t * self, fd_bincode_decode_ctx_t * ctx );
7688 : int fd_gossip_lowest_slot_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7689 : void fd_gossip_lowest_slot_decode_unsafe( fd_gossip_lowest_slot_t * self, fd_bincode_decode_ctx_t * ctx );
7690 : int fd_gossip_lowest_slot_decode_offsets( fd_gossip_lowest_slot_off_t * self, fd_bincode_decode_ctx_t * ctx );
7691 : int fd_gossip_lowest_slot_encode( fd_gossip_lowest_slot_t const * self, fd_bincode_encode_ctx_t * ctx );
7692 : void fd_gossip_lowest_slot_destroy( fd_gossip_lowest_slot_t * self, fd_bincode_destroy_ctx_t * ctx );
7693 : void fd_gossip_lowest_slot_walk( void * w, fd_gossip_lowest_slot_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7694 : ulong fd_gossip_lowest_slot_size( fd_gossip_lowest_slot_t const * self );
7695 : ulong fd_gossip_lowest_slot_footprint( void );
7696 : ulong fd_gossip_lowest_slot_align( void );
7697 :
7698 : void fd_gossip_slot_hashes_new( fd_gossip_slot_hashes_t * self );
7699 : int fd_gossip_slot_hashes_decode( fd_gossip_slot_hashes_t * self, fd_bincode_decode_ctx_t * ctx );
7700 : int fd_gossip_slot_hashes_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7701 : void fd_gossip_slot_hashes_decode_unsafe( fd_gossip_slot_hashes_t * self, fd_bincode_decode_ctx_t * ctx );
7702 : int fd_gossip_slot_hashes_decode_offsets( fd_gossip_slot_hashes_off_t * self, fd_bincode_decode_ctx_t * ctx );
7703 : int fd_gossip_slot_hashes_encode( fd_gossip_slot_hashes_t const * self, fd_bincode_encode_ctx_t * ctx );
7704 : void fd_gossip_slot_hashes_destroy( fd_gossip_slot_hashes_t * self, fd_bincode_destroy_ctx_t * ctx );
7705 : void fd_gossip_slot_hashes_walk( void * w, fd_gossip_slot_hashes_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7706 : ulong fd_gossip_slot_hashes_size( fd_gossip_slot_hashes_t const * self );
7707 : ulong fd_gossip_slot_hashes_footprint( void );
7708 : ulong fd_gossip_slot_hashes_align( void );
7709 :
7710 : void fd_gossip_slots_new( fd_gossip_slots_t * self );
7711 : int fd_gossip_slots_decode( fd_gossip_slots_t * self, fd_bincode_decode_ctx_t * ctx );
7712 : int fd_gossip_slots_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7713 : void fd_gossip_slots_decode_unsafe( fd_gossip_slots_t * self, fd_bincode_decode_ctx_t * ctx );
7714 : int fd_gossip_slots_decode_offsets( fd_gossip_slots_off_t * self, fd_bincode_decode_ctx_t * ctx );
7715 : int fd_gossip_slots_encode( fd_gossip_slots_t const * self, fd_bincode_encode_ctx_t * ctx );
7716 : void fd_gossip_slots_destroy( fd_gossip_slots_t * self, fd_bincode_destroy_ctx_t * ctx );
7717 : void fd_gossip_slots_walk( void * w, fd_gossip_slots_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7718 : ulong fd_gossip_slots_size( fd_gossip_slots_t const * self );
7719 : ulong fd_gossip_slots_footprint( void );
7720 : ulong fd_gossip_slots_align( void );
7721 :
7722 : void fd_gossip_flate2_slots_new( fd_gossip_flate2_slots_t * self );
7723 : int fd_gossip_flate2_slots_decode( fd_gossip_flate2_slots_t * self, fd_bincode_decode_ctx_t * ctx );
7724 : int fd_gossip_flate2_slots_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7725 : void fd_gossip_flate2_slots_decode_unsafe( fd_gossip_flate2_slots_t * self, fd_bincode_decode_ctx_t * ctx );
7726 : int fd_gossip_flate2_slots_decode_offsets( fd_gossip_flate2_slots_off_t * self, fd_bincode_decode_ctx_t * ctx );
7727 : int fd_gossip_flate2_slots_encode( fd_gossip_flate2_slots_t const * self, fd_bincode_encode_ctx_t * ctx );
7728 : void fd_gossip_flate2_slots_destroy( fd_gossip_flate2_slots_t * self, fd_bincode_destroy_ctx_t * ctx );
7729 : void fd_gossip_flate2_slots_walk( void * w, fd_gossip_flate2_slots_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7730 : ulong fd_gossip_flate2_slots_size( fd_gossip_flate2_slots_t const * self );
7731 : ulong fd_gossip_flate2_slots_footprint( void );
7732 : ulong fd_gossip_flate2_slots_align( void );
7733 :
7734 : void fd_gossip_slots_enum_new_disc( fd_gossip_slots_enum_t * self, uint discriminant );
7735 : void fd_gossip_slots_enum_new( fd_gossip_slots_enum_t * self );
7736 : int fd_gossip_slots_enum_decode( fd_gossip_slots_enum_t * self, fd_bincode_decode_ctx_t * ctx );
7737 : int fd_gossip_slots_enum_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7738 : void fd_gossip_slots_enum_decode_unsafe( fd_gossip_slots_enum_t * self, fd_bincode_decode_ctx_t * ctx );
7739 : int fd_gossip_slots_enum_encode( fd_gossip_slots_enum_t const * self, fd_bincode_encode_ctx_t * ctx );
7740 : void fd_gossip_slots_enum_destroy( fd_gossip_slots_enum_t * self, fd_bincode_destroy_ctx_t * ctx );
7741 : void fd_gossip_slots_enum_walk( void * w, fd_gossip_slots_enum_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7742 : ulong fd_gossip_slots_enum_size( fd_gossip_slots_enum_t const * self );
7743 : ulong fd_gossip_slots_enum_footprint( void );
7744 : ulong fd_gossip_slots_enum_align( void );
7745 :
7746 : FD_FN_PURE uchar fd_gossip_slots_enum_is_flate2( fd_gossip_slots_enum_t const * self );
7747 : FD_FN_PURE uchar fd_gossip_slots_enum_is_uncompressed( fd_gossip_slots_enum_t const * self );
7748 : enum {
7749 : fd_gossip_slots_enum_enum_flate2 = 0,
7750 : fd_gossip_slots_enum_enum_uncompressed = 1,
7751 : };
7752 : void fd_gossip_epoch_slots_new( fd_gossip_epoch_slots_t * self );
7753 : int fd_gossip_epoch_slots_decode( fd_gossip_epoch_slots_t * self, fd_bincode_decode_ctx_t * ctx );
7754 : int fd_gossip_epoch_slots_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7755 : void fd_gossip_epoch_slots_decode_unsafe( fd_gossip_epoch_slots_t * self, fd_bincode_decode_ctx_t * ctx );
7756 : int fd_gossip_epoch_slots_decode_offsets( fd_gossip_epoch_slots_off_t * self, fd_bincode_decode_ctx_t * ctx );
7757 : int fd_gossip_epoch_slots_encode( fd_gossip_epoch_slots_t const * self, fd_bincode_encode_ctx_t * ctx );
7758 : void fd_gossip_epoch_slots_destroy( fd_gossip_epoch_slots_t * self, fd_bincode_destroy_ctx_t * ctx );
7759 : void fd_gossip_epoch_slots_walk( void * w, fd_gossip_epoch_slots_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7760 : ulong fd_gossip_epoch_slots_size( fd_gossip_epoch_slots_t const * self );
7761 : ulong fd_gossip_epoch_slots_footprint( void );
7762 : ulong fd_gossip_epoch_slots_align( void );
7763 :
7764 : void fd_gossip_version_v1_new( fd_gossip_version_v1_t * self );
7765 : int fd_gossip_version_v1_decode( fd_gossip_version_v1_t * self, fd_bincode_decode_ctx_t * ctx );
7766 : int fd_gossip_version_v1_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7767 : void fd_gossip_version_v1_decode_unsafe( fd_gossip_version_v1_t * self, fd_bincode_decode_ctx_t * ctx );
7768 : int fd_gossip_version_v1_decode_offsets( fd_gossip_version_v1_off_t * self, fd_bincode_decode_ctx_t * ctx );
7769 : int fd_gossip_version_v1_encode( fd_gossip_version_v1_t const * self, fd_bincode_encode_ctx_t * ctx );
7770 : void fd_gossip_version_v1_destroy( fd_gossip_version_v1_t * self, fd_bincode_destroy_ctx_t * ctx );
7771 : void fd_gossip_version_v1_walk( void * w, fd_gossip_version_v1_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7772 : ulong fd_gossip_version_v1_size( fd_gossip_version_v1_t const * self );
7773 : ulong fd_gossip_version_v1_footprint( void );
7774 : ulong fd_gossip_version_v1_align( void );
7775 :
7776 : void fd_gossip_version_v2_new( fd_gossip_version_v2_t * self );
7777 : int fd_gossip_version_v2_decode( fd_gossip_version_v2_t * self, fd_bincode_decode_ctx_t * ctx );
7778 : int fd_gossip_version_v2_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7779 : void fd_gossip_version_v2_decode_unsafe( fd_gossip_version_v2_t * self, fd_bincode_decode_ctx_t * ctx );
7780 : int fd_gossip_version_v2_decode_offsets( fd_gossip_version_v2_off_t * self, fd_bincode_decode_ctx_t * ctx );
7781 : int fd_gossip_version_v2_encode( fd_gossip_version_v2_t const * self, fd_bincode_encode_ctx_t * ctx );
7782 : void fd_gossip_version_v2_destroy( fd_gossip_version_v2_t * self, fd_bincode_destroy_ctx_t * ctx );
7783 : void fd_gossip_version_v2_walk( void * w, fd_gossip_version_v2_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7784 : ulong fd_gossip_version_v2_size( fd_gossip_version_v2_t const * self );
7785 : ulong fd_gossip_version_v2_footprint( void );
7786 : ulong fd_gossip_version_v2_align( void );
7787 :
7788 : void fd_gossip_version_v3_new( fd_gossip_version_v3_t * self );
7789 : int fd_gossip_version_v3_decode( fd_gossip_version_v3_t * self, fd_bincode_decode_ctx_t * ctx );
7790 : int fd_gossip_version_v3_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7791 : void fd_gossip_version_v3_decode_unsafe( fd_gossip_version_v3_t * self, fd_bincode_decode_ctx_t * ctx );
7792 : int fd_gossip_version_v3_decode_offsets( fd_gossip_version_v3_off_t * self, fd_bincode_decode_ctx_t * ctx );
7793 : int fd_gossip_version_v3_encode( fd_gossip_version_v3_t const * self, fd_bincode_encode_ctx_t * ctx );
7794 : void fd_gossip_version_v3_destroy( fd_gossip_version_v3_t * self, fd_bincode_destroy_ctx_t * ctx );
7795 : void fd_gossip_version_v3_walk( void * w, fd_gossip_version_v3_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7796 : ulong fd_gossip_version_v3_size( fd_gossip_version_v3_t const * self );
7797 : ulong fd_gossip_version_v3_footprint( void );
7798 : ulong fd_gossip_version_v3_align( void );
7799 :
7800 : void fd_gossip_node_instance_new( fd_gossip_node_instance_t * self );
7801 : int fd_gossip_node_instance_decode( fd_gossip_node_instance_t * self, fd_bincode_decode_ctx_t * ctx );
7802 : int fd_gossip_node_instance_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7803 : void fd_gossip_node_instance_decode_unsafe( fd_gossip_node_instance_t * self, fd_bincode_decode_ctx_t * ctx );
7804 : int fd_gossip_node_instance_decode_offsets( fd_gossip_node_instance_off_t * self, fd_bincode_decode_ctx_t * ctx );
7805 : int fd_gossip_node_instance_encode( fd_gossip_node_instance_t const * self, fd_bincode_encode_ctx_t * ctx );
7806 : void fd_gossip_node_instance_destroy( fd_gossip_node_instance_t * self, fd_bincode_destroy_ctx_t * ctx );
7807 : void fd_gossip_node_instance_walk( void * w, fd_gossip_node_instance_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7808 : ulong fd_gossip_node_instance_size( fd_gossip_node_instance_t const * self );
7809 : ulong fd_gossip_node_instance_footprint( void );
7810 : ulong fd_gossip_node_instance_align( void );
7811 :
7812 : void fd_gossip_duplicate_shred_new( fd_gossip_duplicate_shred_t * self );
7813 : int fd_gossip_duplicate_shred_decode( fd_gossip_duplicate_shred_t * self, fd_bincode_decode_ctx_t * ctx );
7814 : int fd_gossip_duplicate_shred_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7815 : void fd_gossip_duplicate_shred_decode_unsafe( fd_gossip_duplicate_shred_t * self, fd_bincode_decode_ctx_t * ctx );
7816 : int fd_gossip_duplicate_shred_decode_offsets( fd_gossip_duplicate_shred_off_t * self, fd_bincode_decode_ctx_t * ctx );
7817 : int fd_gossip_duplicate_shred_encode( fd_gossip_duplicate_shred_t const * self, fd_bincode_encode_ctx_t * ctx );
7818 : void fd_gossip_duplicate_shred_destroy( fd_gossip_duplicate_shred_t * self, fd_bincode_destroy_ctx_t * ctx );
7819 : void fd_gossip_duplicate_shred_walk( void * w, fd_gossip_duplicate_shred_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7820 : ulong fd_gossip_duplicate_shred_size( fd_gossip_duplicate_shred_t const * self );
7821 : ulong fd_gossip_duplicate_shred_footprint( void );
7822 : ulong fd_gossip_duplicate_shred_align( void );
7823 :
7824 : void fd_gossip_incremental_snapshot_hashes_new( fd_gossip_incremental_snapshot_hashes_t * self );
7825 : int fd_gossip_incremental_snapshot_hashes_decode( fd_gossip_incremental_snapshot_hashes_t * self, fd_bincode_decode_ctx_t * ctx );
7826 : int fd_gossip_incremental_snapshot_hashes_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7827 : void fd_gossip_incremental_snapshot_hashes_decode_unsafe( fd_gossip_incremental_snapshot_hashes_t * self, fd_bincode_decode_ctx_t * ctx );
7828 : int fd_gossip_incremental_snapshot_hashes_decode_offsets( fd_gossip_incremental_snapshot_hashes_off_t * self, fd_bincode_decode_ctx_t * ctx );
7829 : int fd_gossip_incremental_snapshot_hashes_encode( fd_gossip_incremental_snapshot_hashes_t const * self, fd_bincode_encode_ctx_t * ctx );
7830 : void fd_gossip_incremental_snapshot_hashes_destroy( fd_gossip_incremental_snapshot_hashes_t * self, fd_bincode_destroy_ctx_t * ctx );
7831 : void fd_gossip_incremental_snapshot_hashes_walk( void * w, fd_gossip_incremental_snapshot_hashes_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7832 : ulong fd_gossip_incremental_snapshot_hashes_size( fd_gossip_incremental_snapshot_hashes_t const * self );
7833 : ulong fd_gossip_incremental_snapshot_hashes_footprint( void );
7834 : ulong fd_gossip_incremental_snapshot_hashes_align( void );
7835 :
7836 : void fd_gossip_socket_entry_new( fd_gossip_socket_entry_t * self );
7837 : int fd_gossip_socket_entry_decode( fd_gossip_socket_entry_t * self, fd_bincode_decode_ctx_t * ctx );
7838 : int fd_gossip_socket_entry_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7839 : void fd_gossip_socket_entry_decode_unsafe( fd_gossip_socket_entry_t * self, fd_bincode_decode_ctx_t * ctx );
7840 : int fd_gossip_socket_entry_decode_offsets( fd_gossip_socket_entry_off_t * self, fd_bincode_decode_ctx_t * ctx );
7841 : int fd_gossip_socket_entry_encode( fd_gossip_socket_entry_t const * self, fd_bincode_encode_ctx_t * ctx );
7842 : void fd_gossip_socket_entry_destroy( fd_gossip_socket_entry_t * self, fd_bincode_destroy_ctx_t * ctx );
7843 : void fd_gossip_socket_entry_walk( void * w, fd_gossip_socket_entry_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7844 : ulong fd_gossip_socket_entry_size( fd_gossip_socket_entry_t const * self );
7845 : ulong fd_gossip_socket_entry_footprint( void );
7846 : ulong fd_gossip_socket_entry_align( void );
7847 :
7848 : void fd_gossip_contact_info_v2_new( fd_gossip_contact_info_v2_t * self );
7849 : int fd_gossip_contact_info_v2_decode( fd_gossip_contact_info_v2_t * self, fd_bincode_decode_ctx_t * ctx );
7850 : int fd_gossip_contact_info_v2_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7851 : void fd_gossip_contact_info_v2_decode_unsafe( fd_gossip_contact_info_v2_t * self, fd_bincode_decode_ctx_t * ctx );
7852 : int fd_gossip_contact_info_v2_decode_offsets( fd_gossip_contact_info_v2_off_t * self, fd_bincode_decode_ctx_t * ctx );
7853 : int fd_gossip_contact_info_v2_encode( fd_gossip_contact_info_v2_t const * self, fd_bincode_encode_ctx_t * ctx );
7854 : void fd_gossip_contact_info_v2_destroy( fd_gossip_contact_info_v2_t * self, fd_bincode_destroy_ctx_t * ctx );
7855 : void fd_gossip_contact_info_v2_walk( void * w, fd_gossip_contact_info_v2_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7856 : ulong fd_gossip_contact_info_v2_size( fd_gossip_contact_info_v2_t const * self );
7857 : ulong fd_gossip_contact_info_v2_footprint( void );
7858 : ulong fd_gossip_contact_info_v2_align( void );
7859 :
7860 : void fd_restart_run_length_encoding_inner_new( fd_restart_run_length_encoding_inner_t * self );
7861 : int fd_restart_run_length_encoding_inner_decode( fd_restart_run_length_encoding_inner_t * self, fd_bincode_decode_ctx_t * ctx );
7862 : int fd_restart_run_length_encoding_inner_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7863 : void fd_restart_run_length_encoding_inner_decode_unsafe( fd_restart_run_length_encoding_inner_t * self, fd_bincode_decode_ctx_t * ctx );
7864 : int fd_restart_run_length_encoding_inner_decode_offsets( fd_restart_run_length_encoding_inner_off_t * self, fd_bincode_decode_ctx_t * ctx );
7865 : int fd_restart_run_length_encoding_inner_encode( fd_restart_run_length_encoding_inner_t const * self, fd_bincode_encode_ctx_t * ctx );
7866 : void fd_restart_run_length_encoding_inner_destroy( fd_restart_run_length_encoding_inner_t * self, fd_bincode_destroy_ctx_t * ctx );
7867 : void fd_restart_run_length_encoding_inner_walk( void * w, fd_restart_run_length_encoding_inner_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7868 : ulong fd_restart_run_length_encoding_inner_size( fd_restart_run_length_encoding_inner_t const * self );
7869 : ulong fd_restart_run_length_encoding_inner_footprint( void );
7870 : ulong fd_restart_run_length_encoding_inner_align( void );
7871 :
7872 : void fd_restart_run_length_encoding_new( fd_restart_run_length_encoding_t * self );
7873 : int fd_restart_run_length_encoding_decode( fd_restart_run_length_encoding_t * self, fd_bincode_decode_ctx_t * ctx );
7874 : int fd_restart_run_length_encoding_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7875 : void fd_restart_run_length_encoding_decode_unsafe( fd_restart_run_length_encoding_t * self, fd_bincode_decode_ctx_t * ctx );
7876 : int fd_restart_run_length_encoding_decode_offsets( fd_restart_run_length_encoding_off_t * self, fd_bincode_decode_ctx_t * ctx );
7877 : int fd_restart_run_length_encoding_encode( fd_restart_run_length_encoding_t const * self, fd_bincode_encode_ctx_t * ctx );
7878 : void fd_restart_run_length_encoding_destroy( fd_restart_run_length_encoding_t * self, fd_bincode_destroy_ctx_t * ctx );
7879 : void fd_restart_run_length_encoding_walk( void * w, fd_restart_run_length_encoding_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7880 : ulong fd_restart_run_length_encoding_size( fd_restart_run_length_encoding_t const * self );
7881 : ulong fd_restart_run_length_encoding_footprint( void );
7882 : ulong fd_restart_run_length_encoding_align( void );
7883 :
7884 : void fd_restart_raw_offsets_bitvec_u8_inner_new( fd_restart_raw_offsets_bitvec_u8_inner_t * self );
7885 : int fd_restart_raw_offsets_bitvec_u8_inner_decode( fd_restart_raw_offsets_bitvec_u8_inner_t * self, fd_bincode_decode_ctx_t * ctx );
7886 : int fd_restart_raw_offsets_bitvec_u8_inner_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7887 : void fd_restart_raw_offsets_bitvec_u8_inner_decode_unsafe( fd_restart_raw_offsets_bitvec_u8_inner_t * self, fd_bincode_decode_ctx_t * ctx );
7888 : int fd_restart_raw_offsets_bitvec_u8_inner_decode_offsets( fd_restart_raw_offsets_bitvec_u8_inner_off_t * self, fd_bincode_decode_ctx_t * ctx );
7889 : int fd_restart_raw_offsets_bitvec_u8_inner_encode( fd_restart_raw_offsets_bitvec_u8_inner_t const * self, fd_bincode_encode_ctx_t * ctx );
7890 : void fd_restart_raw_offsets_bitvec_u8_inner_destroy( fd_restart_raw_offsets_bitvec_u8_inner_t * self, fd_bincode_destroy_ctx_t * ctx );
7891 : void fd_restart_raw_offsets_bitvec_u8_inner_walk( void * w, fd_restart_raw_offsets_bitvec_u8_inner_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7892 : ulong fd_restart_raw_offsets_bitvec_u8_inner_size( fd_restart_raw_offsets_bitvec_u8_inner_t const * self );
7893 : ulong fd_restart_raw_offsets_bitvec_u8_inner_footprint( void );
7894 : ulong fd_restart_raw_offsets_bitvec_u8_inner_align( void );
7895 :
7896 : void fd_restart_raw_offsets_bitvec_new( fd_restart_raw_offsets_bitvec_t * self );
7897 : int fd_restart_raw_offsets_bitvec_decode( fd_restart_raw_offsets_bitvec_t * self, fd_bincode_decode_ctx_t * ctx );
7898 : int fd_restart_raw_offsets_bitvec_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7899 : void fd_restart_raw_offsets_bitvec_decode_unsafe( fd_restart_raw_offsets_bitvec_t * self, fd_bincode_decode_ctx_t * ctx );
7900 : int fd_restart_raw_offsets_bitvec_decode_offsets( fd_restart_raw_offsets_bitvec_off_t * self, fd_bincode_decode_ctx_t * ctx );
7901 : int fd_restart_raw_offsets_bitvec_encode( fd_restart_raw_offsets_bitvec_t const * self, fd_bincode_encode_ctx_t * ctx );
7902 : void fd_restart_raw_offsets_bitvec_destroy( fd_restart_raw_offsets_bitvec_t * self, fd_bincode_destroy_ctx_t * ctx );
7903 : void fd_restart_raw_offsets_bitvec_walk( void * w, fd_restart_raw_offsets_bitvec_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7904 : ulong fd_restart_raw_offsets_bitvec_size( fd_restart_raw_offsets_bitvec_t const * self );
7905 : ulong fd_restart_raw_offsets_bitvec_footprint( void );
7906 : ulong fd_restart_raw_offsets_bitvec_align( void );
7907 :
7908 : void fd_restart_raw_offsets_new( fd_restart_raw_offsets_t * self );
7909 : int fd_restart_raw_offsets_decode( fd_restart_raw_offsets_t * self, fd_bincode_decode_ctx_t * ctx );
7910 : int fd_restart_raw_offsets_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7911 : void fd_restart_raw_offsets_decode_unsafe( fd_restart_raw_offsets_t * self, fd_bincode_decode_ctx_t * ctx );
7912 : int fd_restart_raw_offsets_decode_offsets( fd_restart_raw_offsets_off_t * self, fd_bincode_decode_ctx_t * ctx );
7913 : int fd_restart_raw_offsets_encode( fd_restart_raw_offsets_t const * self, fd_bincode_encode_ctx_t * ctx );
7914 : void fd_restart_raw_offsets_destroy( fd_restart_raw_offsets_t * self, fd_bincode_destroy_ctx_t * ctx );
7915 : void fd_restart_raw_offsets_walk( void * w, fd_restart_raw_offsets_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7916 : ulong fd_restart_raw_offsets_size( fd_restart_raw_offsets_t const * self );
7917 : ulong fd_restart_raw_offsets_footprint( void );
7918 : ulong fd_restart_raw_offsets_align( void );
7919 :
7920 : void fd_restart_slots_offsets_new_disc( fd_restart_slots_offsets_t * self, uint discriminant );
7921 : void fd_restart_slots_offsets_new( fd_restart_slots_offsets_t * self );
7922 : int fd_restart_slots_offsets_decode( fd_restart_slots_offsets_t * self, fd_bincode_decode_ctx_t * ctx );
7923 : int fd_restart_slots_offsets_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7924 : void fd_restart_slots_offsets_decode_unsafe( fd_restart_slots_offsets_t * self, fd_bincode_decode_ctx_t * ctx );
7925 : int fd_restart_slots_offsets_encode( fd_restart_slots_offsets_t const * self, fd_bincode_encode_ctx_t * ctx );
7926 : void fd_restart_slots_offsets_destroy( fd_restart_slots_offsets_t * self, fd_bincode_destroy_ctx_t * ctx );
7927 : void fd_restart_slots_offsets_walk( void * w, fd_restart_slots_offsets_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7928 : ulong fd_restart_slots_offsets_size( fd_restart_slots_offsets_t const * self );
7929 : ulong fd_restart_slots_offsets_footprint( void );
7930 : ulong fd_restart_slots_offsets_align( void );
7931 :
7932 : FD_FN_PURE uchar fd_restart_slots_offsets_is_run_length_encoding( fd_restart_slots_offsets_t const * self );
7933 : FD_FN_PURE uchar fd_restart_slots_offsets_is_raw_offsets( fd_restart_slots_offsets_t const * self );
7934 : enum {
7935 : fd_restart_slots_offsets_enum_run_length_encoding = 0,
7936 : fd_restart_slots_offsets_enum_raw_offsets = 1,
7937 : };
7938 : void fd_gossip_restart_last_voted_fork_slots_new( fd_gossip_restart_last_voted_fork_slots_t * self );
7939 : int fd_gossip_restart_last_voted_fork_slots_decode( fd_gossip_restart_last_voted_fork_slots_t * self, fd_bincode_decode_ctx_t * ctx );
7940 : int fd_gossip_restart_last_voted_fork_slots_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7941 : void fd_gossip_restart_last_voted_fork_slots_decode_unsafe( fd_gossip_restart_last_voted_fork_slots_t * self, fd_bincode_decode_ctx_t * ctx );
7942 : int fd_gossip_restart_last_voted_fork_slots_decode_offsets( fd_gossip_restart_last_voted_fork_slots_off_t * self, fd_bincode_decode_ctx_t * ctx );
7943 : int fd_gossip_restart_last_voted_fork_slots_encode( fd_gossip_restart_last_voted_fork_slots_t const * self, fd_bincode_encode_ctx_t * ctx );
7944 : void fd_gossip_restart_last_voted_fork_slots_destroy( fd_gossip_restart_last_voted_fork_slots_t * self, fd_bincode_destroy_ctx_t * ctx );
7945 : void fd_gossip_restart_last_voted_fork_slots_walk( void * w, fd_gossip_restart_last_voted_fork_slots_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7946 : ulong fd_gossip_restart_last_voted_fork_slots_size( fd_gossip_restart_last_voted_fork_slots_t const * self );
7947 : ulong fd_gossip_restart_last_voted_fork_slots_footprint( void );
7948 : ulong fd_gossip_restart_last_voted_fork_slots_align( void );
7949 :
7950 : void fd_gossip_restart_heaviest_fork_new( fd_gossip_restart_heaviest_fork_t * self );
7951 : int fd_gossip_restart_heaviest_fork_decode( fd_gossip_restart_heaviest_fork_t * self, fd_bincode_decode_ctx_t * ctx );
7952 : int fd_gossip_restart_heaviest_fork_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7953 : void fd_gossip_restart_heaviest_fork_decode_unsafe( fd_gossip_restart_heaviest_fork_t * self, fd_bincode_decode_ctx_t * ctx );
7954 : int fd_gossip_restart_heaviest_fork_decode_offsets( fd_gossip_restart_heaviest_fork_off_t * self, fd_bincode_decode_ctx_t * ctx );
7955 : int fd_gossip_restart_heaviest_fork_encode( fd_gossip_restart_heaviest_fork_t const * self, fd_bincode_encode_ctx_t * ctx );
7956 : void fd_gossip_restart_heaviest_fork_destroy( fd_gossip_restart_heaviest_fork_t * self, fd_bincode_destroy_ctx_t * ctx );
7957 : void fd_gossip_restart_heaviest_fork_walk( void * w, fd_gossip_restart_heaviest_fork_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7958 : ulong fd_gossip_restart_heaviest_fork_size( fd_gossip_restart_heaviest_fork_t const * self );
7959 : ulong fd_gossip_restart_heaviest_fork_footprint( void );
7960 : ulong fd_gossip_restart_heaviest_fork_align( void );
7961 :
7962 : void fd_crds_data_new_disc( fd_crds_data_t * self, uint discriminant );
7963 : void fd_crds_data_new( fd_crds_data_t * self );
7964 : int fd_crds_data_decode( fd_crds_data_t * self, fd_bincode_decode_ctx_t * ctx );
7965 : int fd_crds_data_decode_preflight( fd_bincode_decode_ctx_t * ctx );
7966 : void fd_crds_data_decode_unsafe( fd_crds_data_t * self, fd_bincode_decode_ctx_t * ctx );
7967 : int fd_crds_data_encode( fd_crds_data_t const * self, fd_bincode_encode_ctx_t * ctx );
7968 : void fd_crds_data_destroy( fd_crds_data_t * self, fd_bincode_destroy_ctx_t * ctx );
7969 : void fd_crds_data_walk( void * w, fd_crds_data_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
7970 : ulong fd_crds_data_size( fd_crds_data_t const * self );
7971 : ulong fd_crds_data_footprint( void );
7972 : ulong fd_crds_data_align( void );
7973 :
7974 : FD_FN_PURE uchar fd_crds_data_is_contact_info_v1( fd_crds_data_t const * self );
7975 : FD_FN_PURE uchar fd_crds_data_is_vote( fd_crds_data_t const * self );
7976 : FD_FN_PURE uchar fd_crds_data_is_lowest_slot( fd_crds_data_t const * self );
7977 : FD_FN_PURE uchar fd_crds_data_is_snapshot_hashes( fd_crds_data_t const * self );
7978 : FD_FN_PURE uchar fd_crds_data_is_accounts_hashes( fd_crds_data_t const * self );
7979 : FD_FN_PURE uchar fd_crds_data_is_epoch_slots( fd_crds_data_t const * self );
7980 : FD_FN_PURE uchar fd_crds_data_is_version_v1( fd_crds_data_t const * self );
7981 : FD_FN_PURE uchar fd_crds_data_is_version_v2( fd_crds_data_t const * self );
7982 : FD_FN_PURE uchar fd_crds_data_is_node_instance( fd_crds_data_t const * self );
7983 : FD_FN_PURE uchar fd_crds_data_is_duplicate_shred( fd_crds_data_t const * self );
7984 : FD_FN_PURE uchar fd_crds_data_is_incremental_snapshot_hashes( fd_crds_data_t const * self );
7985 : FD_FN_PURE uchar fd_crds_data_is_contact_info_v2( fd_crds_data_t const * self );
7986 : FD_FN_PURE uchar fd_crds_data_is_restart_last_voted_fork_slots( fd_crds_data_t const * self );
7987 : FD_FN_PURE uchar fd_crds_data_is_restart_heaviest_fork( fd_crds_data_t const * self );
7988 : enum {
7989 : fd_crds_data_enum_contact_info_v1 = 0,
7990 : fd_crds_data_enum_vote = 1,
7991 : fd_crds_data_enum_lowest_slot = 2,
7992 : fd_crds_data_enum_snapshot_hashes = 3,
7993 : fd_crds_data_enum_accounts_hashes = 4,
7994 : fd_crds_data_enum_epoch_slots = 5,
7995 : fd_crds_data_enum_version_v1 = 6,
7996 : fd_crds_data_enum_version_v2 = 7,
7997 : fd_crds_data_enum_node_instance = 8,
7998 : fd_crds_data_enum_duplicate_shred = 9,
7999 : fd_crds_data_enum_incremental_snapshot_hashes = 10,
8000 : fd_crds_data_enum_contact_info_v2 = 11,
8001 : fd_crds_data_enum_restart_last_voted_fork_slots = 12,
8002 : fd_crds_data_enum_restart_heaviest_fork = 13,
8003 : };
8004 : void fd_crds_bloom_new( fd_crds_bloom_t * self );
8005 : int fd_crds_bloom_decode( fd_crds_bloom_t * self, fd_bincode_decode_ctx_t * ctx );
8006 : int fd_crds_bloom_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8007 : void fd_crds_bloom_decode_unsafe( fd_crds_bloom_t * self, fd_bincode_decode_ctx_t * ctx );
8008 : int fd_crds_bloom_decode_offsets( fd_crds_bloom_off_t * self, fd_bincode_decode_ctx_t * ctx );
8009 : int fd_crds_bloom_encode( fd_crds_bloom_t const * self, fd_bincode_encode_ctx_t * ctx );
8010 : void fd_crds_bloom_destroy( fd_crds_bloom_t * self, fd_bincode_destroy_ctx_t * ctx );
8011 : void fd_crds_bloom_walk( void * w, fd_crds_bloom_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8012 : ulong fd_crds_bloom_size( fd_crds_bloom_t const * self );
8013 : ulong fd_crds_bloom_footprint( void );
8014 : ulong fd_crds_bloom_align( void );
8015 :
8016 : void fd_crds_filter_new( fd_crds_filter_t * self );
8017 : int fd_crds_filter_decode( fd_crds_filter_t * self, fd_bincode_decode_ctx_t * ctx );
8018 : int fd_crds_filter_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8019 : void fd_crds_filter_decode_unsafe( fd_crds_filter_t * self, fd_bincode_decode_ctx_t * ctx );
8020 : int fd_crds_filter_decode_offsets( fd_crds_filter_off_t * self, fd_bincode_decode_ctx_t * ctx );
8021 : int fd_crds_filter_encode( fd_crds_filter_t const * self, fd_bincode_encode_ctx_t * ctx );
8022 : void fd_crds_filter_destroy( fd_crds_filter_t * self, fd_bincode_destroy_ctx_t * ctx );
8023 : void fd_crds_filter_walk( void * w, fd_crds_filter_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8024 : ulong fd_crds_filter_size( fd_crds_filter_t const * self );
8025 : ulong fd_crds_filter_footprint( void );
8026 : ulong fd_crds_filter_align( void );
8027 :
8028 : void fd_crds_value_new( fd_crds_value_t * self );
8029 : int fd_crds_value_decode( fd_crds_value_t * self, fd_bincode_decode_ctx_t * ctx );
8030 : int fd_crds_value_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8031 : void fd_crds_value_decode_unsafe( fd_crds_value_t * self, fd_bincode_decode_ctx_t * ctx );
8032 : int fd_crds_value_decode_offsets( fd_crds_value_off_t * self, fd_bincode_decode_ctx_t * ctx );
8033 : int fd_crds_value_encode( fd_crds_value_t const * self, fd_bincode_encode_ctx_t * ctx );
8034 : void fd_crds_value_destroy( fd_crds_value_t * self, fd_bincode_destroy_ctx_t * ctx );
8035 : void fd_crds_value_walk( void * w, fd_crds_value_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8036 : ulong fd_crds_value_size( fd_crds_value_t const * self );
8037 : ulong fd_crds_value_footprint( void );
8038 : ulong fd_crds_value_align( void );
8039 :
8040 : void fd_gossip_pull_req_new( fd_gossip_pull_req_t * self );
8041 : int fd_gossip_pull_req_decode( fd_gossip_pull_req_t * self, fd_bincode_decode_ctx_t * ctx );
8042 : int fd_gossip_pull_req_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8043 : void fd_gossip_pull_req_decode_unsafe( fd_gossip_pull_req_t * self, fd_bincode_decode_ctx_t * ctx );
8044 : int fd_gossip_pull_req_decode_offsets( fd_gossip_pull_req_off_t * self, fd_bincode_decode_ctx_t * ctx );
8045 : int fd_gossip_pull_req_encode( fd_gossip_pull_req_t const * self, fd_bincode_encode_ctx_t * ctx );
8046 : void fd_gossip_pull_req_destroy( fd_gossip_pull_req_t * self, fd_bincode_destroy_ctx_t * ctx );
8047 : void fd_gossip_pull_req_walk( void * w, fd_gossip_pull_req_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8048 : ulong fd_gossip_pull_req_size( fd_gossip_pull_req_t const * self );
8049 : ulong fd_gossip_pull_req_footprint( void );
8050 : ulong fd_gossip_pull_req_align( void );
8051 :
8052 : void fd_gossip_pull_resp_new( fd_gossip_pull_resp_t * self );
8053 : int fd_gossip_pull_resp_decode( fd_gossip_pull_resp_t * self, fd_bincode_decode_ctx_t * ctx );
8054 : int fd_gossip_pull_resp_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8055 : void fd_gossip_pull_resp_decode_unsafe( fd_gossip_pull_resp_t * self, fd_bincode_decode_ctx_t * ctx );
8056 : int fd_gossip_pull_resp_decode_offsets( fd_gossip_pull_resp_off_t * self, fd_bincode_decode_ctx_t * ctx );
8057 : int fd_gossip_pull_resp_encode( fd_gossip_pull_resp_t const * self, fd_bincode_encode_ctx_t * ctx );
8058 : void fd_gossip_pull_resp_destroy( fd_gossip_pull_resp_t * self, fd_bincode_destroy_ctx_t * ctx );
8059 : void fd_gossip_pull_resp_walk( void * w, fd_gossip_pull_resp_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8060 : ulong fd_gossip_pull_resp_size( fd_gossip_pull_resp_t const * self );
8061 : ulong fd_gossip_pull_resp_footprint( void );
8062 : ulong fd_gossip_pull_resp_align( void );
8063 :
8064 : void fd_gossip_push_msg_new( fd_gossip_push_msg_t * self );
8065 : int fd_gossip_push_msg_decode( fd_gossip_push_msg_t * self, fd_bincode_decode_ctx_t * ctx );
8066 : int fd_gossip_push_msg_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8067 : void fd_gossip_push_msg_decode_unsafe( fd_gossip_push_msg_t * self, fd_bincode_decode_ctx_t * ctx );
8068 : int fd_gossip_push_msg_decode_offsets( fd_gossip_push_msg_off_t * self, fd_bincode_decode_ctx_t * ctx );
8069 : int fd_gossip_push_msg_encode( fd_gossip_push_msg_t const * self, fd_bincode_encode_ctx_t * ctx );
8070 : void fd_gossip_push_msg_destroy( fd_gossip_push_msg_t * self, fd_bincode_destroy_ctx_t * ctx );
8071 : void fd_gossip_push_msg_walk( void * w, fd_gossip_push_msg_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8072 : ulong fd_gossip_push_msg_size( fd_gossip_push_msg_t const * self );
8073 : ulong fd_gossip_push_msg_footprint( void );
8074 : ulong fd_gossip_push_msg_align( void );
8075 :
8076 : void fd_gossip_prune_msg_new( fd_gossip_prune_msg_t * self );
8077 : int fd_gossip_prune_msg_decode( fd_gossip_prune_msg_t * self, fd_bincode_decode_ctx_t * ctx );
8078 : int fd_gossip_prune_msg_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8079 : void fd_gossip_prune_msg_decode_unsafe( fd_gossip_prune_msg_t * self, fd_bincode_decode_ctx_t * ctx );
8080 : int fd_gossip_prune_msg_decode_offsets( fd_gossip_prune_msg_off_t * self, fd_bincode_decode_ctx_t * ctx );
8081 : int fd_gossip_prune_msg_encode( fd_gossip_prune_msg_t const * self, fd_bincode_encode_ctx_t * ctx );
8082 : void fd_gossip_prune_msg_destroy( fd_gossip_prune_msg_t * self, fd_bincode_destroy_ctx_t * ctx );
8083 : void fd_gossip_prune_msg_walk( void * w, fd_gossip_prune_msg_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8084 : ulong fd_gossip_prune_msg_size( fd_gossip_prune_msg_t const * self );
8085 : ulong fd_gossip_prune_msg_footprint( void );
8086 : ulong fd_gossip_prune_msg_align( void );
8087 :
8088 : void fd_gossip_msg_new_disc( fd_gossip_msg_t * self, uint discriminant );
8089 : void fd_gossip_msg_new( fd_gossip_msg_t * self );
8090 : int fd_gossip_msg_decode( fd_gossip_msg_t * self, fd_bincode_decode_ctx_t * ctx );
8091 : int fd_gossip_msg_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8092 : void fd_gossip_msg_decode_unsafe( fd_gossip_msg_t * self, fd_bincode_decode_ctx_t * ctx );
8093 : int fd_gossip_msg_encode( fd_gossip_msg_t const * self, fd_bincode_encode_ctx_t * ctx );
8094 : void fd_gossip_msg_destroy( fd_gossip_msg_t * self, fd_bincode_destroy_ctx_t * ctx );
8095 : void fd_gossip_msg_walk( void * w, fd_gossip_msg_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8096 : ulong fd_gossip_msg_size( fd_gossip_msg_t const * self );
8097 : ulong fd_gossip_msg_footprint( void );
8098 : ulong fd_gossip_msg_align( void );
8099 :
8100 : FD_FN_PURE uchar fd_gossip_msg_is_pull_req( fd_gossip_msg_t const * self );
8101 : FD_FN_PURE uchar fd_gossip_msg_is_pull_resp( fd_gossip_msg_t const * self );
8102 : FD_FN_PURE uchar fd_gossip_msg_is_push_msg( fd_gossip_msg_t const * self );
8103 : FD_FN_PURE uchar fd_gossip_msg_is_prune_msg( fd_gossip_msg_t const * self );
8104 : FD_FN_PURE uchar fd_gossip_msg_is_ping( fd_gossip_msg_t const * self );
8105 : FD_FN_PURE uchar fd_gossip_msg_is_pong( fd_gossip_msg_t const * self );
8106 : enum {
8107 : fd_gossip_msg_enum_pull_req = 0,
8108 : fd_gossip_msg_enum_pull_resp = 1,
8109 : fd_gossip_msg_enum_push_msg = 2,
8110 : fd_gossip_msg_enum_prune_msg = 3,
8111 : fd_gossip_msg_enum_ping = 4,
8112 : fd_gossip_msg_enum_pong = 5,
8113 : };
8114 : void fd_addrlut_create_new( fd_addrlut_create_t * self );
8115 : int fd_addrlut_create_decode( fd_addrlut_create_t * self, fd_bincode_decode_ctx_t * ctx );
8116 : int fd_addrlut_create_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8117 : void fd_addrlut_create_decode_unsafe( fd_addrlut_create_t * self, fd_bincode_decode_ctx_t * ctx );
8118 : int fd_addrlut_create_decode_offsets( fd_addrlut_create_off_t * self, fd_bincode_decode_ctx_t * ctx );
8119 : int fd_addrlut_create_encode( fd_addrlut_create_t const * self, fd_bincode_encode_ctx_t * ctx );
8120 : void fd_addrlut_create_destroy( fd_addrlut_create_t * self, fd_bincode_destroy_ctx_t * ctx );
8121 : void fd_addrlut_create_walk( void * w, fd_addrlut_create_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8122 : ulong fd_addrlut_create_size( fd_addrlut_create_t const * self );
8123 : ulong fd_addrlut_create_footprint( void );
8124 : ulong fd_addrlut_create_align( void );
8125 :
8126 : void fd_addrlut_extend_new( fd_addrlut_extend_t * self );
8127 : int fd_addrlut_extend_decode( fd_addrlut_extend_t * self, fd_bincode_decode_ctx_t * ctx );
8128 : int fd_addrlut_extend_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8129 : void fd_addrlut_extend_decode_unsafe( fd_addrlut_extend_t * self, fd_bincode_decode_ctx_t * ctx );
8130 : int fd_addrlut_extend_decode_offsets( fd_addrlut_extend_off_t * self, fd_bincode_decode_ctx_t * ctx );
8131 : int fd_addrlut_extend_encode( fd_addrlut_extend_t const * self, fd_bincode_encode_ctx_t * ctx );
8132 : void fd_addrlut_extend_destroy( fd_addrlut_extend_t * self, fd_bincode_destroy_ctx_t * ctx );
8133 : void fd_addrlut_extend_walk( void * w, fd_addrlut_extend_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8134 : ulong fd_addrlut_extend_size( fd_addrlut_extend_t const * self );
8135 : ulong fd_addrlut_extend_footprint( void );
8136 : ulong fd_addrlut_extend_align( void );
8137 :
8138 : void fd_addrlut_instruction_new_disc( fd_addrlut_instruction_t * self, uint discriminant );
8139 : void fd_addrlut_instruction_new( fd_addrlut_instruction_t * self );
8140 : int fd_addrlut_instruction_decode( fd_addrlut_instruction_t * self, fd_bincode_decode_ctx_t * ctx );
8141 : int fd_addrlut_instruction_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8142 : void fd_addrlut_instruction_decode_unsafe( fd_addrlut_instruction_t * self, fd_bincode_decode_ctx_t * ctx );
8143 : int fd_addrlut_instruction_encode( fd_addrlut_instruction_t const * self, fd_bincode_encode_ctx_t * ctx );
8144 : void fd_addrlut_instruction_destroy( fd_addrlut_instruction_t * self, fd_bincode_destroy_ctx_t * ctx );
8145 : void fd_addrlut_instruction_walk( void * w, fd_addrlut_instruction_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8146 : ulong fd_addrlut_instruction_size( fd_addrlut_instruction_t const * self );
8147 : ulong fd_addrlut_instruction_footprint( void );
8148 : ulong fd_addrlut_instruction_align( void );
8149 :
8150 : FD_FN_PURE uchar fd_addrlut_instruction_is_create_lut( fd_addrlut_instruction_t const * self );
8151 : FD_FN_PURE uchar fd_addrlut_instruction_is_freeze_lut( fd_addrlut_instruction_t const * self );
8152 : FD_FN_PURE uchar fd_addrlut_instruction_is_extend_lut( fd_addrlut_instruction_t const * self );
8153 : FD_FN_PURE uchar fd_addrlut_instruction_is_deactivate_lut( fd_addrlut_instruction_t const * self );
8154 : FD_FN_PURE uchar fd_addrlut_instruction_is_close_lut( fd_addrlut_instruction_t const * self );
8155 : enum {
8156 : fd_addrlut_instruction_enum_create_lut = 0,
8157 : fd_addrlut_instruction_enum_freeze_lut = 1,
8158 : fd_addrlut_instruction_enum_extend_lut = 2,
8159 : fd_addrlut_instruction_enum_deactivate_lut = 3,
8160 : fd_addrlut_instruction_enum_close_lut = 4,
8161 : };
8162 : void fd_repair_request_header_new( fd_repair_request_header_t * self );
8163 : int fd_repair_request_header_decode( fd_repair_request_header_t * self, fd_bincode_decode_ctx_t * ctx );
8164 : int fd_repair_request_header_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8165 : void fd_repair_request_header_decode_unsafe( fd_repair_request_header_t * self, fd_bincode_decode_ctx_t * ctx );
8166 : int fd_repair_request_header_decode_offsets( fd_repair_request_header_off_t * self, fd_bincode_decode_ctx_t * ctx );
8167 : int fd_repair_request_header_encode( fd_repair_request_header_t const * self, fd_bincode_encode_ctx_t * ctx );
8168 : void fd_repair_request_header_destroy( fd_repair_request_header_t * self, fd_bincode_destroy_ctx_t * ctx );
8169 : void fd_repair_request_header_walk( void * w, fd_repair_request_header_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8170 : ulong fd_repair_request_header_size( fd_repair_request_header_t const * self );
8171 : ulong fd_repair_request_header_footprint( void );
8172 : ulong fd_repair_request_header_align( void );
8173 :
8174 : void fd_repair_window_index_new( fd_repair_window_index_t * self );
8175 : int fd_repair_window_index_decode( fd_repair_window_index_t * self, fd_bincode_decode_ctx_t * ctx );
8176 : int fd_repair_window_index_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8177 : void fd_repair_window_index_decode_unsafe( fd_repair_window_index_t * self, fd_bincode_decode_ctx_t * ctx );
8178 : int fd_repair_window_index_decode_offsets( fd_repair_window_index_off_t * self, fd_bincode_decode_ctx_t * ctx );
8179 : int fd_repair_window_index_encode( fd_repair_window_index_t const * self, fd_bincode_encode_ctx_t * ctx );
8180 : void fd_repair_window_index_destroy( fd_repair_window_index_t * self, fd_bincode_destroy_ctx_t * ctx );
8181 : void fd_repair_window_index_walk( void * w, fd_repair_window_index_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8182 : ulong fd_repair_window_index_size( fd_repair_window_index_t const * self );
8183 : ulong fd_repair_window_index_footprint( void );
8184 : ulong fd_repair_window_index_align( void );
8185 :
8186 : void fd_repair_highest_window_index_new( fd_repair_highest_window_index_t * self );
8187 : int fd_repair_highest_window_index_decode( fd_repair_highest_window_index_t * self, fd_bincode_decode_ctx_t * ctx );
8188 : int fd_repair_highest_window_index_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8189 : void fd_repair_highest_window_index_decode_unsafe( fd_repair_highest_window_index_t * self, fd_bincode_decode_ctx_t * ctx );
8190 : int fd_repair_highest_window_index_decode_offsets( fd_repair_highest_window_index_off_t * self, fd_bincode_decode_ctx_t * ctx );
8191 : int fd_repair_highest_window_index_encode( fd_repair_highest_window_index_t const * self, fd_bincode_encode_ctx_t * ctx );
8192 : void fd_repair_highest_window_index_destroy( fd_repair_highest_window_index_t * self, fd_bincode_destroy_ctx_t * ctx );
8193 : void fd_repair_highest_window_index_walk( void * w, fd_repair_highest_window_index_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8194 : ulong fd_repair_highest_window_index_size( fd_repair_highest_window_index_t const * self );
8195 : ulong fd_repair_highest_window_index_footprint( void );
8196 : ulong fd_repair_highest_window_index_align( void );
8197 :
8198 : void fd_repair_orphan_new( fd_repair_orphan_t * self );
8199 : int fd_repair_orphan_decode( fd_repair_orphan_t * self, fd_bincode_decode_ctx_t * ctx );
8200 : int fd_repair_orphan_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8201 : void fd_repair_orphan_decode_unsafe( fd_repair_orphan_t * self, fd_bincode_decode_ctx_t * ctx );
8202 : int fd_repair_orphan_decode_offsets( fd_repair_orphan_off_t * self, fd_bincode_decode_ctx_t * ctx );
8203 : int fd_repair_orphan_encode( fd_repair_orphan_t const * self, fd_bincode_encode_ctx_t * ctx );
8204 : void fd_repair_orphan_destroy( fd_repair_orphan_t * self, fd_bincode_destroy_ctx_t * ctx );
8205 : void fd_repair_orphan_walk( void * w, fd_repair_orphan_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8206 : ulong fd_repair_orphan_size( fd_repair_orphan_t const * self );
8207 : ulong fd_repair_orphan_footprint( void );
8208 : ulong fd_repair_orphan_align( void );
8209 :
8210 : void fd_repair_ancestor_hashes_new( fd_repair_ancestor_hashes_t * self );
8211 : int fd_repair_ancestor_hashes_decode( fd_repair_ancestor_hashes_t * self, fd_bincode_decode_ctx_t * ctx );
8212 : int fd_repair_ancestor_hashes_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8213 : void fd_repair_ancestor_hashes_decode_unsafe( fd_repair_ancestor_hashes_t * self, fd_bincode_decode_ctx_t * ctx );
8214 : int fd_repair_ancestor_hashes_decode_offsets( fd_repair_ancestor_hashes_off_t * self, fd_bincode_decode_ctx_t * ctx );
8215 : int fd_repair_ancestor_hashes_encode( fd_repair_ancestor_hashes_t const * self, fd_bincode_encode_ctx_t * ctx );
8216 : void fd_repair_ancestor_hashes_destroy( fd_repair_ancestor_hashes_t * self, fd_bincode_destroy_ctx_t * ctx );
8217 : void fd_repair_ancestor_hashes_walk( void * w, fd_repair_ancestor_hashes_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8218 : ulong fd_repair_ancestor_hashes_size( fd_repair_ancestor_hashes_t const * self );
8219 : ulong fd_repair_ancestor_hashes_footprint( void );
8220 : ulong fd_repair_ancestor_hashes_align( void );
8221 :
8222 : void fd_repair_protocol_new_disc( fd_repair_protocol_t * self, uint discriminant );
8223 : void fd_repair_protocol_new( fd_repair_protocol_t * self );
8224 : int fd_repair_protocol_decode( fd_repair_protocol_t * self, fd_bincode_decode_ctx_t * ctx );
8225 : int fd_repair_protocol_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8226 : void fd_repair_protocol_decode_unsafe( fd_repair_protocol_t * self, fd_bincode_decode_ctx_t * ctx );
8227 : int fd_repair_protocol_encode( fd_repair_protocol_t const * self, fd_bincode_encode_ctx_t * ctx );
8228 : void fd_repair_protocol_destroy( fd_repair_protocol_t * self, fd_bincode_destroy_ctx_t * ctx );
8229 : void fd_repair_protocol_walk( void * w, fd_repair_protocol_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8230 : ulong fd_repair_protocol_size( fd_repair_protocol_t const * self );
8231 : ulong fd_repair_protocol_footprint( void );
8232 : ulong fd_repair_protocol_align( void );
8233 :
8234 : FD_FN_PURE uchar fd_repair_protocol_is_LegacyWindowIndex( fd_repair_protocol_t const * self );
8235 : FD_FN_PURE uchar fd_repair_protocol_is_LegacyHighestWindowIndex( fd_repair_protocol_t const * self );
8236 : FD_FN_PURE uchar fd_repair_protocol_is_LegacyOrphan( fd_repair_protocol_t const * self );
8237 : FD_FN_PURE uchar fd_repair_protocol_is_LegacyWindowIndexWithNonce( fd_repair_protocol_t const * self );
8238 : FD_FN_PURE uchar fd_repair_protocol_is_LegacyHighestWindowIndexWithNonce( fd_repair_protocol_t const * self );
8239 : FD_FN_PURE uchar fd_repair_protocol_is_LegacyOrphanWithNonce( fd_repair_protocol_t const * self );
8240 : FD_FN_PURE uchar fd_repair_protocol_is_LegacyAncestorHashes( fd_repair_protocol_t const * self );
8241 : FD_FN_PURE uchar fd_repair_protocol_is_pong( fd_repair_protocol_t const * self );
8242 : FD_FN_PURE uchar fd_repair_protocol_is_window_index( fd_repair_protocol_t const * self );
8243 : FD_FN_PURE uchar fd_repair_protocol_is_highest_window_index( fd_repair_protocol_t const * self );
8244 : FD_FN_PURE uchar fd_repair_protocol_is_orphan( fd_repair_protocol_t const * self );
8245 : FD_FN_PURE uchar fd_repair_protocol_is_ancestor_hashes( fd_repair_protocol_t const * self );
8246 : enum {
8247 : fd_repair_protocol_enum_LegacyWindowIndex = 0,
8248 : fd_repair_protocol_enum_LegacyHighestWindowIndex = 1,
8249 : fd_repair_protocol_enum_LegacyOrphan = 2,
8250 : fd_repair_protocol_enum_LegacyWindowIndexWithNonce = 3,
8251 : fd_repair_protocol_enum_LegacyHighestWindowIndexWithNonce = 4,
8252 : fd_repair_protocol_enum_LegacyOrphanWithNonce = 5,
8253 : fd_repair_protocol_enum_LegacyAncestorHashes = 6,
8254 : fd_repair_protocol_enum_pong = 7,
8255 : fd_repair_protocol_enum_window_index = 8,
8256 : fd_repair_protocol_enum_highest_window_index = 9,
8257 : fd_repair_protocol_enum_orphan = 10,
8258 : fd_repair_protocol_enum_ancestor_hashes = 11,
8259 : };
8260 : void fd_repair_response_new_disc( fd_repair_response_t * self, uint discriminant );
8261 : void fd_repair_response_new( fd_repair_response_t * self );
8262 : int fd_repair_response_decode( fd_repair_response_t * self, fd_bincode_decode_ctx_t * ctx );
8263 : int fd_repair_response_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8264 : void fd_repair_response_decode_unsafe( fd_repair_response_t * self, fd_bincode_decode_ctx_t * ctx );
8265 : int fd_repair_response_encode( fd_repair_response_t const * self, fd_bincode_encode_ctx_t * ctx );
8266 : void fd_repair_response_destroy( fd_repair_response_t * self, fd_bincode_destroy_ctx_t * ctx );
8267 : void fd_repair_response_walk( void * w, fd_repair_response_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8268 : ulong fd_repair_response_size( fd_repair_response_t const * self );
8269 : ulong fd_repair_response_footprint( void );
8270 : ulong fd_repair_response_align( void );
8271 :
8272 : FD_FN_PURE uchar fd_repair_response_is_ping( fd_repair_response_t const * self );
8273 : enum {
8274 : fd_repair_response_enum_ping = 0,
8275 : };
8276 : void fd_instr_error_enum_new_disc( fd_instr_error_enum_t * self, uint discriminant );
8277 : void fd_instr_error_enum_new( fd_instr_error_enum_t * self );
8278 : int fd_instr_error_enum_decode( fd_instr_error_enum_t * self, fd_bincode_decode_ctx_t * ctx );
8279 : int fd_instr_error_enum_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8280 : void fd_instr_error_enum_decode_unsafe( fd_instr_error_enum_t * self, fd_bincode_decode_ctx_t * ctx );
8281 : int fd_instr_error_enum_encode( fd_instr_error_enum_t const * self, fd_bincode_encode_ctx_t * ctx );
8282 : void fd_instr_error_enum_destroy( fd_instr_error_enum_t * self, fd_bincode_destroy_ctx_t * ctx );
8283 : void fd_instr_error_enum_walk( void * w, fd_instr_error_enum_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8284 : ulong fd_instr_error_enum_size( fd_instr_error_enum_t const * self );
8285 : ulong fd_instr_error_enum_footprint( void );
8286 : ulong fd_instr_error_enum_align( void );
8287 :
8288 : FD_FN_PURE uchar fd_instr_error_enum_is_generic_error( fd_instr_error_enum_t const * self );
8289 : FD_FN_PURE uchar fd_instr_error_enum_is_invalid_argument( fd_instr_error_enum_t const * self );
8290 : FD_FN_PURE uchar fd_instr_error_enum_is_invalid_instruction_data( fd_instr_error_enum_t const * self );
8291 : FD_FN_PURE uchar fd_instr_error_enum_is_invalid_account_data( fd_instr_error_enum_t const * self );
8292 : FD_FN_PURE uchar fd_instr_error_enum_is_account_data_too_small( fd_instr_error_enum_t const * self );
8293 : FD_FN_PURE uchar fd_instr_error_enum_is_insufficient_funds( fd_instr_error_enum_t const * self );
8294 : FD_FN_PURE uchar fd_instr_error_enum_is_incorrect_program_id( fd_instr_error_enum_t const * self );
8295 : FD_FN_PURE uchar fd_instr_error_enum_is_missing_required_signature( fd_instr_error_enum_t const * self );
8296 : FD_FN_PURE uchar fd_instr_error_enum_is_account_already_initialized( fd_instr_error_enum_t const * self );
8297 : FD_FN_PURE uchar fd_instr_error_enum_is_uninitialized_account( fd_instr_error_enum_t const * self );
8298 : FD_FN_PURE uchar fd_instr_error_enum_is_unbalanced_instruction( fd_instr_error_enum_t const * self );
8299 : FD_FN_PURE uchar fd_instr_error_enum_is_modified_program_id( fd_instr_error_enum_t const * self );
8300 : FD_FN_PURE uchar fd_instr_error_enum_is_external_account_lamport_spend( fd_instr_error_enum_t const * self );
8301 : FD_FN_PURE uchar fd_instr_error_enum_is_external_account_data_modified( fd_instr_error_enum_t const * self );
8302 : FD_FN_PURE uchar fd_instr_error_enum_is_readonly_lamport_change( fd_instr_error_enum_t const * self );
8303 : FD_FN_PURE uchar fd_instr_error_enum_is_readonly_data_modified( fd_instr_error_enum_t const * self );
8304 : FD_FN_PURE uchar fd_instr_error_enum_is_duplicate_account_index( fd_instr_error_enum_t const * self );
8305 : FD_FN_PURE uchar fd_instr_error_enum_is_executable_modified( fd_instr_error_enum_t const * self );
8306 : FD_FN_PURE uchar fd_instr_error_enum_is_rent_epoch_modified( fd_instr_error_enum_t const * self );
8307 : FD_FN_PURE uchar fd_instr_error_enum_is_not_enough_account_keys( fd_instr_error_enum_t const * self );
8308 : FD_FN_PURE uchar fd_instr_error_enum_is_account_data_size_changed( fd_instr_error_enum_t const * self );
8309 : FD_FN_PURE uchar fd_instr_error_enum_is_account_not_executable( fd_instr_error_enum_t const * self );
8310 : FD_FN_PURE uchar fd_instr_error_enum_is_account_borrow_failed( fd_instr_error_enum_t const * self );
8311 : FD_FN_PURE uchar fd_instr_error_enum_is_account_borrow_outstanding( fd_instr_error_enum_t const * self );
8312 : FD_FN_PURE uchar fd_instr_error_enum_is_duplicate_account_out_of_sync( fd_instr_error_enum_t const * self );
8313 : FD_FN_PURE uchar fd_instr_error_enum_is_custom( fd_instr_error_enum_t const * self );
8314 : FD_FN_PURE uchar fd_instr_error_enum_is_invalid_error( fd_instr_error_enum_t const * self );
8315 : FD_FN_PURE uchar fd_instr_error_enum_is_executable_data_modified( fd_instr_error_enum_t const * self );
8316 : FD_FN_PURE uchar fd_instr_error_enum_is_executable_lamport_change( fd_instr_error_enum_t const * self );
8317 : FD_FN_PURE uchar fd_instr_error_enum_is_executable_account_not_rent_exempt( fd_instr_error_enum_t const * self );
8318 : FD_FN_PURE uchar fd_instr_error_enum_is_unsupported_program_id( fd_instr_error_enum_t const * self );
8319 : FD_FN_PURE uchar fd_instr_error_enum_is_call_depth( fd_instr_error_enum_t const * self );
8320 : FD_FN_PURE uchar fd_instr_error_enum_is_missing_account( fd_instr_error_enum_t const * self );
8321 : FD_FN_PURE uchar fd_instr_error_enum_is_reentrancy_not_allowed( fd_instr_error_enum_t const * self );
8322 : FD_FN_PURE uchar fd_instr_error_enum_is_max_seed_length_exceeded( fd_instr_error_enum_t const * self );
8323 : FD_FN_PURE uchar fd_instr_error_enum_is_invalid_seeds( fd_instr_error_enum_t const * self );
8324 : FD_FN_PURE uchar fd_instr_error_enum_is_invalid_realloc( fd_instr_error_enum_t const * self );
8325 : FD_FN_PURE uchar fd_instr_error_enum_is_computational_budget_exceeded( fd_instr_error_enum_t const * self );
8326 : FD_FN_PURE uchar fd_instr_error_enum_is_privilege_escalation( fd_instr_error_enum_t const * self );
8327 : FD_FN_PURE uchar fd_instr_error_enum_is_program_environment_setup_failure( fd_instr_error_enum_t const * self );
8328 : FD_FN_PURE uchar fd_instr_error_enum_is_program_failed_to_complete( fd_instr_error_enum_t const * self );
8329 : FD_FN_PURE uchar fd_instr_error_enum_is_program_failed_to_compile( fd_instr_error_enum_t const * self );
8330 : FD_FN_PURE uchar fd_instr_error_enum_is_immutable( fd_instr_error_enum_t const * self );
8331 : FD_FN_PURE uchar fd_instr_error_enum_is_incorrect_authority( fd_instr_error_enum_t const * self );
8332 : FD_FN_PURE uchar fd_instr_error_enum_is_borsh_io_error( fd_instr_error_enum_t const * self );
8333 : FD_FN_PURE uchar fd_instr_error_enum_is_account_not_rent_exempt( fd_instr_error_enum_t const * self );
8334 : FD_FN_PURE uchar fd_instr_error_enum_is_invalid_account_owner( fd_instr_error_enum_t const * self );
8335 : FD_FN_PURE uchar fd_instr_error_enum_is_arithmetic_overflow( fd_instr_error_enum_t const * self );
8336 : FD_FN_PURE uchar fd_instr_error_enum_is_unsupported_sysvar( fd_instr_error_enum_t const * self );
8337 : FD_FN_PURE uchar fd_instr_error_enum_is_illegal_owner( fd_instr_error_enum_t const * self );
8338 : FD_FN_PURE uchar fd_instr_error_enum_is_max_accounts_data_allocations_exceeded( fd_instr_error_enum_t const * self );
8339 : FD_FN_PURE uchar fd_instr_error_enum_is_max_accounts_exceeded( fd_instr_error_enum_t const * self );
8340 : FD_FN_PURE uchar fd_instr_error_enum_is_max_instruction_trace_length_exceeded( fd_instr_error_enum_t const * self );
8341 : FD_FN_PURE uchar fd_instr_error_enum_is_builtin_programs_must_consume_compute_units( fd_instr_error_enum_t const * self );
8342 : enum {
8343 : fd_instr_error_enum_enum_generic_error = 0,
8344 : fd_instr_error_enum_enum_invalid_argument = 1,
8345 : fd_instr_error_enum_enum_invalid_instruction_data = 2,
8346 : fd_instr_error_enum_enum_invalid_account_data = 3,
8347 : fd_instr_error_enum_enum_account_data_too_small = 4,
8348 : fd_instr_error_enum_enum_insufficient_funds = 5,
8349 : fd_instr_error_enum_enum_incorrect_program_id = 6,
8350 : fd_instr_error_enum_enum_missing_required_signature = 7,
8351 : fd_instr_error_enum_enum_account_already_initialized = 8,
8352 : fd_instr_error_enum_enum_uninitialized_account = 9,
8353 : fd_instr_error_enum_enum_unbalanced_instruction = 10,
8354 : fd_instr_error_enum_enum_modified_program_id = 11,
8355 : fd_instr_error_enum_enum_external_account_lamport_spend = 12,
8356 : fd_instr_error_enum_enum_external_account_data_modified = 13,
8357 : fd_instr_error_enum_enum_readonly_lamport_change = 14,
8358 : fd_instr_error_enum_enum_readonly_data_modified = 15,
8359 : fd_instr_error_enum_enum_duplicate_account_index = 16,
8360 : fd_instr_error_enum_enum_executable_modified = 17,
8361 : fd_instr_error_enum_enum_rent_epoch_modified = 18,
8362 : fd_instr_error_enum_enum_not_enough_account_keys = 19,
8363 : fd_instr_error_enum_enum_account_data_size_changed = 20,
8364 : fd_instr_error_enum_enum_account_not_executable = 21,
8365 : fd_instr_error_enum_enum_account_borrow_failed = 22,
8366 : fd_instr_error_enum_enum_account_borrow_outstanding = 23,
8367 : fd_instr_error_enum_enum_duplicate_account_out_of_sync = 24,
8368 : fd_instr_error_enum_enum_custom = 25,
8369 : fd_instr_error_enum_enum_invalid_error = 26,
8370 : fd_instr_error_enum_enum_executable_data_modified = 27,
8371 : fd_instr_error_enum_enum_executable_lamport_change = 28,
8372 : fd_instr_error_enum_enum_executable_account_not_rent_exempt = 29,
8373 : fd_instr_error_enum_enum_unsupported_program_id = 30,
8374 : fd_instr_error_enum_enum_call_depth = 31,
8375 : fd_instr_error_enum_enum_missing_account = 32,
8376 : fd_instr_error_enum_enum_reentrancy_not_allowed = 33,
8377 : fd_instr_error_enum_enum_max_seed_length_exceeded = 34,
8378 : fd_instr_error_enum_enum_invalid_seeds = 35,
8379 : fd_instr_error_enum_enum_invalid_realloc = 36,
8380 : fd_instr_error_enum_enum_computational_budget_exceeded = 37,
8381 : fd_instr_error_enum_enum_privilege_escalation = 38,
8382 : fd_instr_error_enum_enum_program_environment_setup_failure = 39,
8383 : fd_instr_error_enum_enum_program_failed_to_complete = 40,
8384 : fd_instr_error_enum_enum_program_failed_to_compile = 41,
8385 : fd_instr_error_enum_enum_immutable = 42,
8386 : fd_instr_error_enum_enum_incorrect_authority = 43,
8387 : fd_instr_error_enum_enum_borsh_io_error = 44,
8388 : fd_instr_error_enum_enum_account_not_rent_exempt = 45,
8389 : fd_instr_error_enum_enum_invalid_account_owner = 46,
8390 : fd_instr_error_enum_enum_arithmetic_overflow = 47,
8391 : fd_instr_error_enum_enum_unsupported_sysvar = 48,
8392 : fd_instr_error_enum_enum_illegal_owner = 49,
8393 : fd_instr_error_enum_enum_max_accounts_data_allocations_exceeded = 50,
8394 : fd_instr_error_enum_enum_max_accounts_exceeded = 51,
8395 : fd_instr_error_enum_enum_max_instruction_trace_length_exceeded = 52,
8396 : fd_instr_error_enum_enum_builtin_programs_must_consume_compute_units = 53,
8397 : };
8398 : void fd_txn_instr_error_new( fd_txn_instr_error_t * self );
8399 : int fd_txn_instr_error_decode( fd_txn_instr_error_t * self, fd_bincode_decode_ctx_t * ctx );
8400 : int fd_txn_instr_error_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8401 : void fd_txn_instr_error_decode_unsafe( fd_txn_instr_error_t * self, fd_bincode_decode_ctx_t * ctx );
8402 : int fd_txn_instr_error_decode_offsets( fd_txn_instr_error_off_t * self, fd_bincode_decode_ctx_t * ctx );
8403 : int fd_txn_instr_error_encode( fd_txn_instr_error_t const * self, fd_bincode_encode_ctx_t * ctx );
8404 : void fd_txn_instr_error_destroy( fd_txn_instr_error_t * self, fd_bincode_destroy_ctx_t * ctx );
8405 : void fd_txn_instr_error_walk( void * w, fd_txn_instr_error_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8406 : ulong fd_txn_instr_error_size( fd_txn_instr_error_t const * self );
8407 : ulong fd_txn_instr_error_footprint( void );
8408 : ulong fd_txn_instr_error_align( void );
8409 :
8410 : void fd_txn_error_enum_new_disc( fd_txn_error_enum_t * self, uint discriminant );
8411 : void fd_txn_error_enum_new( fd_txn_error_enum_t * self );
8412 : int fd_txn_error_enum_decode( fd_txn_error_enum_t * self, fd_bincode_decode_ctx_t * ctx );
8413 : int fd_txn_error_enum_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8414 : void fd_txn_error_enum_decode_unsafe( fd_txn_error_enum_t * self, fd_bincode_decode_ctx_t * ctx );
8415 : int fd_txn_error_enum_encode( fd_txn_error_enum_t const * self, fd_bincode_encode_ctx_t * ctx );
8416 : void fd_txn_error_enum_destroy( fd_txn_error_enum_t * self, fd_bincode_destroy_ctx_t * ctx );
8417 : void fd_txn_error_enum_walk( void * w, fd_txn_error_enum_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8418 : ulong fd_txn_error_enum_size( fd_txn_error_enum_t const * self );
8419 : ulong fd_txn_error_enum_footprint( void );
8420 : ulong fd_txn_error_enum_align( void );
8421 :
8422 : FD_FN_PURE uchar fd_txn_error_enum_is_account_in_use( fd_txn_error_enum_t const * self );
8423 : FD_FN_PURE uchar fd_txn_error_enum_is_account_loaded_twice( fd_txn_error_enum_t const * self );
8424 : FD_FN_PURE uchar fd_txn_error_enum_is_account_not_found( fd_txn_error_enum_t const * self );
8425 : FD_FN_PURE uchar fd_txn_error_enum_is_program_account_not_found( fd_txn_error_enum_t const * self );
8426 : FD_FN_PURE uchar fd_txn_error_enum_is_insufficient_funds_for_fee( fd_txn_error_enum_t const * self );
8427 : FD_FN_PURE uchar fd_txn_error_enum_is_invalid_account_for_fee( fd_txn_error_enum_t const * self );
8428 : FD_FN_PURE uchar fd_txn_error_enum_is_already_processed( fd_txn_error_enum_t const * self );
8429 : FD_FN_PURE uchar fd_txn_error_enum_is_blockhash_not_found( fd_txn_error_enum_t const * self );
8430 : FD_FN_PURE uchar fd_txn_error_enum_is_instruction_error( fd_txn_error_enum_t const * self );
8431 : FD_FN_PURE uchar fd_txn_error_enum_is_call_chain_too_deep( fd_txn_error_enum_t const * self );
8432 : FD_FN_PURE uchar fd_txn_error_enum_is_missing_signature_for_fee( fd_txn_error_enum_t const * self );
8433 : FD_FN_PURE uchar fd_txn_error_enum_is_invalid_account_index( fd_txn_error_enum_t const * self );
8434 : FD_FN_PURE uchar fd_txn_error_enum_is_signature_failure( fd_txn_error_enum_t const * self );
8435 : FD_FN_PURE uchar fd_txn_error_enum_is_invalid_program_for_execution( fd_txn_error_enum_t const * self );
8436 : FD_FN_PURE uchar fd_txn_error_enum_is_sanitize_failure( fd_txn_error_enum_t const * self );
8437 : FD_FN_PURE uchar fd_txn_error_enum_is_cluster_maintenance( fd_txn_error_enum_t const * self );
8438 : FD_FN_PURE uchar fd_txn_error_enum_is_account_borrow_outstanding( fd_txn_error_enum_t const * self );
8439 : FD_FN_PURE uchar fd_txn_error_enum_is_would_exceed_max_block_cost_limit( fd_txn_error_enum_t const * self );
8440 : FD_FN_PURE uchar fd_txn_error_enum_is_unsupported_version( fd_txn_error_enum_t const * self );
8441 : FD_FN_PURE uchar fd_txn_error_enum_is_invalid_writable_account( fd_txn_error_enum_t const * self );
8442 : FD_FN_PURE uchar fd_txn_error_enum_is_would_exceed_max_account_cost_limit( fd_txn_error_enum_t const * self );
8443 : FD_FN_PURE uchar fd_txn_error_enum_is_would_exceed_account_data_block_limit( fd_txn_error_enum_t const * self );
8444 : FD_FN_PURE uchar fd_txn_error_enum_is_too_many_account_locks( fd_txn_error_enum_t const * self );
8445 : FD_FN_PURE uchar fd_txn_error_enum_is_address_lookup_table_not_found( fd_txn_error_enum_t const * self );
8446 : FD_FN_PURE uchar fd_txn_error_enum_is_invalid_address_lookup_table_owner( fd_txn_error_enum_t const * self );
8447 : FD_FN_PURE uchar fd_txn_error_enum_is_invalid_address_lookup_table_data( fd_txn_error_enum_t const * self );
8448 : FD_FN_PURE uchar fd_txn_error_enum_is_invalid_address_lookup_table_index( fd_txn_error_enum_t const * self );
8449 : FD_FN_PURE uchar fd_txn_error_enum_is_invalid_rent_paying_account( fd_txn_error_enum_t const * self );
8450 : FD_FN_PURE uchar fd_txn_error_enum_is_would_exceed_max_vote_cost_limit( fd_txn_error_enum_t const * self );
8451 : FD_FN_PURE uchar fd_txn_error_enum_is_would_exceed_account_data_total_limit( fd_txn_error_enum_t const * self );
8452 : FD_FN_PURE uchar fd_txn_error_enum_is_duplicate_instruction( fd_txn_error_enum_t const * self );
8453 : FD_FN_PURE uchar fd_txn_error_enum_is_insufficient_funds_for_rent( fd_txn_error_enum_t const * self );
8454 : FD_FN_PURE uchar fd_txn_error_enum_is_max_loaded_accounts_data_size_exceeded( fd_txn_error_enum_t const * self );
8455 : FD_FN_PURE uchar fd_txn_error_enum_is_invalid_loaded_accounts_data_size_limit( fd_txn_error_enum_t const * self );
8456 : FD_FN_PURE uchar fd_txn_error_enum_is_resanitization_needed( fd_txn_error_enum_t const * self );
8457 : FD_FN_PURE uchar fd_txn_error_enum_is_program_execution_temporarily_restricted( fd_txn_error_enum_t const * self );
8458 : FD_FN_PURE uchar fd_txn_error_enum_is_unbalanced_transaction( fd_txn_error_enum_t const * self );
8459 : enum {
8460 : fd_txn_error_enum_enum_account_in_use = 0,
8461 : fd_txn_error_enum_enum_account_loaded_twice = 1,
8462 : fd_txn_error_enum_enum_account_not_found = 2,
8463 : fd_txn_error_enum_enum_program_account_not_found = 3,
8464 : fd_txn_error_enum_enum_insufficient_funds_for_fee = 4,
8465 : fd_txn_error_enum_enum_invalid_account_for_fee = 5,
8466 : fd_txn_error_enum_enum_already_processed = 6,
8467 : fd_txn_error_enum_enum_blockhash_not_found = 7,
8468 : fd_txn_error_enum_enum_instruction_error = 8,
8469 : fd_txn_error_enum_enum_call_chain_too_deep = 9,
8470 : fd_txn_error_enum_enum_missing_signature_for_fee = 10,
8471 : fd_txn_error_enum_enum_invalid_account_index = 11,
8472 : fd_txn_error_enum_enum_signature_failure = 12,
8473 : fd_txn_error_enum_enum_invalid_program_for_execution = 13,
8474 : fd_txn_error_enum_enum_sanitize_failure = 14,
8475 : fd_txn_error_enum_enum_cluster_maintenance = 15,
8476 : fd_txn_error_enum_enum_account_borrow_outstanding = 16,
8477 : fd_txn_error_enum_enum_would_exceed_max_block_cost_limit = 17,
8478 : fd_txn_error_enum_enum_unsupported_version = 18,
8479 : fd_txn_error_enum_enum_invalid_writable_account = 19,
8480 : fd_txn_error_enum_enum_would_exceed_max_account_cost_limit = 20,
8481 : fd_txn_error_enum_enum_would_exceed_account_data_block_limit = 21,
8482 : fd_txn_error_enum_enum_too_many_account_locks = 22,
8483 : fd_txn_error_enum_enum_address_lookup_table_not_found = 23,
8484 : fd_txn_error_enum_enum_invalid_address_lookup_table_owner = 24,
8485 : fd_txn_error_enum_enum_invalid_address_lookup_table_data = 25,
8486 : fd_txn_error_enum_enum_invalid_address_lookup_table_index = 26,
8487 : fd_txn_error_enum_enum_invalid_rent_paying_account = 27,
8488 : fd_txn_error_enum_enum_would_exceed_max_vote_cost_limit = 28,
8489 : fd_txn_error_enum_enum_would_exceed_account_data_total_limit = 29,
8490 : fd_txn_error_enum_enum_duplicate_instruction = 30,
8491 : fd_txn_error_enum_enum_insufficient_funds_for_rent = 31,
8492 : fd_txn_error_enum_enum_max_loaded_accounts_data_size_exceeded = 32,
8493 : fd_txn_error_enum_enum_invalid_loaded_accounts_data_size_limit = 33,
8494 : fd_txn_error_enum_enum_resanitization_needed = 34,
8495 : fd_txn_error_enum_enum_program_execution_temporarily_restricted = 35,
8496 : fd_txn_error_enum_enum_unbalanced_transaction = 36,
8497 : };
8498 : void fd_txn_result_new_disc( fd_txn_result_t * self, uint discriminant );
8499 : void fd_txn_result_new( fd_txn_result_t * self );
8500 : int fd_txn_result_decode( fd_txn_result_t * self, fd_bincode_decode_ctx_t * ctx );
8501 : int fd_txn_result_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8502 : void fd_txn_result_decode_unsafe( fd_txn_result_t * self, fd_bincode_decode_ctx_t * ctx );
8503 : int fd_txn_result_encode( fd_txn_result_t const * self, fd_bincode_encode_ctx_t * ctx );
8504 : void fd_txn_result_destroy( fd_txn_result_t * self, fd_bincode_destroy_ctx_t * ctx );
8505 : void fd_txn_result_walk( void * w, fd_txn_result_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8506 : ulong fd_txn_result_size( fd_txn_result_t const * self );
8507 : ulong fd_txn_result_footprint( void );
8508 : ulong fd_txn_result_align( void );
8509 :
8510 : FD_FN_PURE uchar fd_txn_result_is_ok( fd_txn_result_t const * self );
8511 : FD_FN_PURE uchar fd_txn_result_is_error( fd_txn_result_t const * self );
8512 : enum {
8513 : fd_txn_result_enum_ok = 0,
8514 : fd_txn_result_enum_error = 1,
8515 : };
8516 : void fd_cache_status_new( fd_cache_status_t * self );
8517 : int fd_cache_status_decode( fd_cache_status_t * self, fd_bincode_decode_ctx_t * ctx );
8518 : int fd_cache_status_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8519 : void fd_cache_status_decode_unsafe( fd_cache_status_t * self, fd_bincode_decode_ctx_t * ctx );
8520 : int fd_cache_status_decode_offsets( fd_cache_status_off_t * self, fd_bincode_decode_ctx_t * ctx );
8521 : int fd_cache_status_encode( fd_cache_status_t const * self, fd_bincode_encode_ctx_t * ctx );
8522 : void fd_cache_status_destroy( fd_cache_status_t * self, fd_bincode_destroy_ctx_t * ctx );
8523 : void fd_cache_status_walk( void * w, fd_cache_status_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8524 : ulong fd_cache_status_size( fd_cache_status_t const * self );
8525 : ulong fd_cache_status_footprint( void );
8526 : ulong fd_cache_status_align( void );
8527 :
8528 : void fd_status_value_new( fd_status_value_t * self );
8529 : int fd_status_value_decode( fd_status_value_t * self, fd_bincode_decode_ctx_t * ctx );
8530 : int fd_status_value_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8531 : void fd_status_value_decode_unsafe( fd_status_value_t * self, fd_bincode_decode_ctx_t * ctx );
8532 : int fd_status_value_decode_offsets( fd_status_value_off_t * self, fd_bincode_decode_ctx_t * ctx );
8533 : int fd_status_value_encode( fd_status_value_t const * self, fd_bincode_encode_ctx_t * ctx );
8534 : void fd_status_value_destroy( fd_status_value_t * self, fd_bincode_destroy_ctx_t * ctx );
8535 : void fd_status_value_walk( void * w, fd_status_value_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8536 : ulong fd_status_value_size( fd_status_value_t const * self );
8537 : ulong fd_status_value_footprint( void );
8538 : ulong fd_status_value_align( void );
8539 :
8540 : void fd_status_pair_new( fd_status_pair_t * self );
8541 : int fd_status_pair_decode( fd_status_pair_t * self, fd_bincode_decode_ctx_t * ctx );
8542 : int fd_status_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8543 : void fd_status_pair_decode_unsafe( fd_status_pair_t * self, fd_bincode_decode_ctx_t * ctx );
8544 : int fd_status_pair_decode_offsets( fd_status_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
8545 : int fd_status_pair_encode( fd_status_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
8546 : void fd_status_pair_destroy( fd_status_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
8547 : void fd_status_pair_walk( void * w, fd_status_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8548 : ulong fd_status_pair_size( fd_status_pair_t const * self );
8549 : ulong fd_status_pair_footprint( void );
8550 : ulong fd_status_pair_align( void );
8551 :
8552 : void fd_slot_delta_new( fd_slot_delta_t * self );
8553 : int fd_slot_delta_decode( fd_slot_delta_t * self, fd_bincode_decode_ctx_t * ctx );
8554 : int fd_slot_delta_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8555 : void fd_slot_delta_decode_unsafe( fd_slot_delta_t * self, fd_bincode_decode_ctx_t * ctx );
8556 : int fd_slot_delta_decode_offsets( fd_slot_delta_off_t * self, fd_bincode_decode_ctx_t * ctx );
8557 : int fd_slot_delta_encode( fd_slot_delta_t const * self, fd_bincode_encode_ctx_t * ctx );
8558 : void fd_slot_delta_destroy( fd_slot_delta_t * self, fd_bincode_destroy_ctx_t * ctx );
8559 : void fd_slot_delta_walk( void * w, fd_slot_delta_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8560 : ulong fd_slot_delta_size( fd_slot_delta_t const * self );
8561 : ulong fd_slot_delta_footprint( void );
8562 : ulong fd_slot_delta_align( void );
8563 :
8564 : void fd_bank_slot_deltas_new( fd_bank_slot_deltas_t * self );
8565 : int fd_bank_slot_deltas_decode( fd_bank_slot_deltas_t * self, fd_bincode_decode_ctx_t * ctx );
8566 : int fd_bank_slot_deltas_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8567 : void fd_bank_slot_deltas_decode_unsafe( fd_bank_slot_deltas_t * self, fd_bincode_decode_ctx_t * ctx );
8568 : int fd_bank_slot_deltas_decode_offsets( fd_bank_slot_deltas_off_t * self, fd_bincode_decode_ctx_t * ctx );
8569 : int fd_bank_slot_deltas_encode( fd_bank_slot_deltas_t const * self, fd_bincode_encode_ctx_t * ctx );
8570 : void fd_bank_slot_deltas_destroy( fd_bank_slot_deltas_t * self, fd_bincode_destroy_ctx_t * ctx );
8571 : void fd_bank_slot_deltas_walk( void * w, fd_bank_slot_deltas_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8572 : ulong fd_bank_slot_deltas_size( fd_bank_slot_deltas_t const * self );
8573 : ulong fd_bank_slot_deltas_footprint( void );
8574 : ulong fd_bank_slot_deltas_align( void );
8575 :
8576 : void fd_pubkey_rewardinfo_pair_new( fd_pubkey_rewardinfo_pair_t * self );
8577 : int fd_pubkey_rewardinfo_pair_decode( fd_pubkey_rewardinfo_pair_t * self, fd_bincode_decode_ctx_t * ctx );
8578 : int fd_pubkey_rewardinfo_pair_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8579 : void fd_pubkey_rewardinfo_pair_decode_unsafe( fd_pubkey_rewardinfo_pair_t * self, fd_bincode_decode_ctx_t * ctx );
8580 : int fd_pubkey_rewardinfo_pair_decode_offsets( fd_pubkey_rewardinfo_pair_off_t * self, fd_bincode_decode_ctx_t * ctx );
8581 : int fd_pubkey_rewardinfo_pair_encode( fd_pubkey_rewardinfo_pair_t const * self, fd_bincode_encode_ctx_t * ctx );
8582 : void fd_pubkey_rewardinfo_pair_destroy( fd_pubkey_rewardinfo_pair_t * self, fd_bincode_destroy_ctx_t * ctx );
8583 : void fd_pubkey_rewardinfo_pair_walk( void * w, fd_pubkey_rewardinfo_pair_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8584 : ulong fd_pubkey_rewardinfo_pair_size( fd_pubkey_rewardinfo_pair_t const * self );
8585 : ulong fd_pubkey_rewardinfo_pair_footprint( void );
8586 : ulong fd_pubkey_rewardinfo_pair_align( void );
8587 :
8588 : void fd_optional_account_new( fd_optional_account_t * self );
8589 : int fd_optional_account_decode( fd_optional_account_t * self, fd_bincode_decode_ctx_t * ctx );
8590 : int fd_optional_account_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8591 : void fd_optional_account_decode_unsafe( fd_optional_account_t * self, fd_bincode_decode_ctx_t * ctx );
8592 : int fd_optional_account_decode_offsets( fd_optional_account_off_t * self, fd_bincode_decode_ctx_t * ctx );
8593 : int fd_optional_account_encode( fd_optional_account_t const * self, fd_bincode_encode_ctx_t * ctx );
8594 : void fd_optional_account_destroy( fd_optional_account_t * self, fd_bincode_destroy_ctx_t * ctx );
8595 : void fd_optional_account_walk( void * w, fd_optional_account_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8596 : ulong fd_optional_account_size( fd_optional_account_t const * self );
8597 : ulong fd_optional_account_footprint( void );
8598 : ulong fd_optional_account_align( void );
8599 :
8600 : void fd_calculated_stake_points_new( fd_calculated_stake_points_t * self );
8601 : int fd_calculated_stake_points_decode( fd_calculated_stake_points_t * self, fd_bincode_decode_ctx_t * ctx );
8602 : int fd_calculated_stake_points_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8603 : void fd_calculated_stake_points_decode_unsafe( fd_calculated_stake_points_t * self, fd_bincode_decode_ctx_t * ctx );
8604 : int fd_calculated_stake_points_decode_offsets( fd_calculated_stake_points_off_t * self, fd_bincode_decode_ctx_t * ctx );
8605 : int fd_calculated_stake_points_encode( fd_calculated_stake_points_t const * self, fd_bincode_encode_ctx_t * ctx );
8606 : void fd_calculated_stake_points_destroy( fd_calculated_stake_points_t * self, fd_bincode_destroy_ctx_t * ctx );
8607 : void fd_calculated_stake_points_walk( void * w, fd_calculated_stake_points_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8608 : ulong fd_calculated_stake_points_size( fd_calculated_stake_points_t const * self );
8609 : ulong fd_calculated_stake_points_footprint( void );
8610 : ulong fd_calculated_stake_points_align( void );
8611 :
8612 : void fd_calculated_stake_rewards_new( fd_calculated_stake_rewards_t * self );
8613 : int fd_calculated_stake_rewards_decode( fd_calculated_stake_rewards_t * self, fd_bincode_decode_ctx_t * ctx );
8614 : int fd_calculated_stake_rewards_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8615 : void fd_calculated_stake_rewards_decode_unsafe( fd_calculated_stake_rewards_t * self, fd_bincode_decode_ctx_t * ctx );
8616 : int fd_calculated_stake_rewards_decode_offsets( fd_calculated_stake_rewards_off_t * self, fd_bincode_decode_ctx_t * ctx );
8617 : int fd_calculated_stake_rewards_encode( fd_calculated_stake_rewards_t const * self, fd_bincode_encode_ctx_t * ctx );
8618 : void fd_calculated_stake_rewards_destroy( fd_calculated_stake_rewards_t * self, fd_bincode_destroy_ctx_t * ctx );
8619 : void fd_calculated_stake_rewards_walk( void * w, fd_calculated_stake_rewards_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8620 : ulong fd_calculated_stake_rewards_size( fd_calculated_stake_rewards_t const * self );
8621 : ulong fd_calculated_stake_rewards_footprint( void );
8622 : ulong fd_calculated_stake_rewards_align( void );
8623 :
8624 : void fd_duplicate_slot_proof_new( fd_duplicate_slot_proof_t * self );
8625 : int fd_duplicate_slot_proof_decode( fd_duplicate_slot_proof_t * self, fd_bincode_decode_ctx_t * ctx );
8626 : int fd_duplicate_slot_proof_decode_preflight( fd_bincode_decode_ctx_t * ctx );
8627 : void fd_duplicate_slot_proof_decode_unsafe( fd_duplicate_slot_proof_t * self, fd_bincode_decode_ctx_t * ctx );
8628 : int fd_duplicate_slot_proof_decode_offsets( fd_duplicate_slot_proof_off_t * self, fd_bincode_decode_ctx_t * ctx );
8629 : int fd_duplicate_slot_proof_encode( fd_duplicate_slot_proof_t const * self, fd_bincode_encode_ctx_t * ctx );
8630 : void fd_duplicate_slot_proof_destroy( fd_duplicate_slot_proof_t * self, fd_bincode_destroy_ctx_t * ctx );
8631 : void fd_duplicate_slot_proof_walk( void * w, fd_duplicate_slot_proof_t const * self, fd_types_walk_fn_t fun, const char *name, uint level );
8632 : ulong fd_duplicate_slot_proof_size( fd_duplicate_slot_proof_t const * self );
8633 : ulong fd_duplicate_slot_proof_footprint( void );
8634 : ulong fd_duplicate_slot_proof_align( void );
8635 :
8636 : FD_PROTOTYPES_END
8637 :
8638 : #endif // HEADER_FD_RUNTIME_TYPES
|