Line data Source code
1 : #ifndef HEADER_fd_src_app_fdctl_run_util_h 2 : #define HEADER_fd_src_app_fdctl_run_util_h 3 : 4 : #include "../../tango/fd_tango_base.h" 5 : #include "../../flamenco/repair/fd_repair.h" 6 : 7 0 : #define FD_REPAIR_REQ_TYPE_NEED_WINDOW_INDEX (0U) 8 0 : #define FD_REPAIR_REQ_TYPE_NEED_HIGHEST_WINDOW_INDEX (1U) 9 : #define FD_REPAIR_REQ_TYPE_NEED_ORPHAN (2U) 10 : 11 : struct fd_repair_request { 12 : uint type; 13 : uint shred_index; 14 : ulong slot; 15 : }; 16 : typedef struct fd_repair_request fd_repair_request_t; 17 : 18 : struct fd_contact_info_elem { 19 : fd_pubkey_t key; 20 : ulong next; 21 : fd_gossip_contact_info_v1_t contact_info; 22 : }; 23 : typedef struct fd_contact_info_elem fd_contact_info_elem_t; 24 : 25 : #endif /* HEADER_fd_src_app_fdctl_run_util_h */