Line data Source code
1 : #ifndef HEADER_fd_src_discof_resolv_fd_resolv_tile_h 2 : #define HEADER_fd_src_discof_resolv_fd_resolv_tile_h 3 : 4 : #include "../../util/fd_util_base.h" 5 : 6 : /* fd_resov_slot_completed is sent by the replay tile to the 7 : resolve tile to indicate that replay has completed a slot. */ 8 0 : #define FD_RESOLV_COMPLETED_SLOT_SIG (0UL) 9 : struct fd_resov_completed_slot { 10 : ulong slot; 11 : uchar blockhash[32]; 12 : }; 13 : typedef struct fd_resov_completed_slot fd_resov_completed_slot_t; 14 : 15 : /* fd_resov_slot_rooted is sent by the replay tile to the 16 : resolve tile to indicate that replay has rooted a slot. 17 : replay guarantees the bank's lifetime will persist until 18 : resolve sends replay the fd_resolv_slot_exchanged message 19 : corresponding to that slot. */ 20 0 : #define FD_RESOLV_ROOTED_SLOT_SIG (1UL) 21 : struct fd_resolv_rooted_slot { 22 : ulong bank_idx; 23 : }; 24 : typedef struct fd_resolv_rooted_slot fd_resolv_rooted_slot_t; 25 : 26 : /* fd_resolv_slot_exchanged is sent by the resolv tile to replay to 27 : indicate that it is done with a particular root bank, and that replay 28 : can free it if it wants to. */ 29 : struct fd_resolv_slot_exchanged { 30 : ulong bank_idx; 31 : }; 32 : 33 : typedef struct fd_resolv_slot_exchanged fd_resolv_slot_exchanged_t; 34 : 35 : #endif /* HEADER_fd_src_discof_resolv_fd_resolv_tile_h */