Line data Source code
1 : #ifndef HEADER_fd_src_flamenco_runtime_program_fd_address_lookup_table_program_h 2 : #define HEADER_fd_src_flamenco_runtime_program_fd_address_lookup_table_program_h 3 : 4 : #include "../context/fd_exec_instr_ctx.h" 5 : 6 14898 : #define FD_ADDRLUT_STATUS_ACTIVATED (0) 7 7512 : #define FD_ADDRLUT_STATUS_DEACTIVATING (1) 8 600 : #define FD_ADDRLUT_STATUS_DEACTIVATED (2) 9 : 10 : /* https://github.com/anza-xyz/agave/blob/368ea563c423b0a85cc317891187e15c9a321521/sdk/program/src/address_lookup_table/state.rs#L19 */ 11 22200 : #define FD_LOOKUP_TABLE_META_SIZE (56) 12 : 13 : FD_PROTOTYPES_BEGIN 14 : 15 : int 16 : fd_address_lookup_table_program_execute( fd_exec_instr_ctx_t * ctx ); 17 : 18 : /**********************************************************************/ 19 : /* Public API */ 20 : /**********************************************************************/ 21 : 22 : int 23 : fd_get_active_addresses_len( fd_address_lookup_table_t * self, 24 : ulong current_slot, 25 : fd_slot_hash_t const * slot_hashes, 26 : ulong addresses_len, 27 : ulong * active_addresses_len ); 28 : 29 : FD_PROTOTYPES_END 30 : 31 : #endif /* HEADER_fd_src_flamenco_runtime_program_fd_address_lookup_table_program_h */