Line data Source code
1 : #ifndef HEADER_fd_src_discof_geyser_fd_replay_notif_h 2 : #define HEADER_fd_src_discof_geyser_fd_replay_notif_h 3 : 4 : #include "../../funk/fd_funk.h" 5 : #include "../../flamenco/types/fd_types.h" 6 : 7 : /* Data structure which is passed through replay_notif link */ 8 : 9 0 : #define FD_REPLAY_SLOT_TYPE 0xD1239ACAU 10 : 11 : struct __attribute__((aligned(64UL))) fd_replay_notif_msg { 12 : union { 13 : struct { 14 : ulong parent; 15 : ulong root; 16 : ulong slot; 17 : ulong height; 18 : fd_hash_t bank_hash; 19 : fd_hash_t block_hash; 20 : fd_pubkey_t identity; 21 : ulong transaction_count; 22 : ulong shred_cnt; 23 : ulong ts; 24 : } slot_exec; 25 : }; 26 : uint type; 27 : }; 28 : typedef struct fd_replay_notif_msg fd_replay_notif_msg_t; 29 : 30 0 : #define FD_REPLAY_NOTIF_MTU sizeof(fd_replay_notif_msg_t) 31 0 : #define FD_REPLAY_NOTIF_DEPTH 1024 32 : 33 : #endif /* HEADER_fd_src_discof_geyser_fd_replay_notif_h */