Line data Source code
1 : #ifndef HEADER_fd_src_flamenco_runtime_fd_runtime_const_h 2 : #define HEADER_fd_src_flamenco_runtime_fd_runtime_const_h 3 : 4 : #include "../types/fd_types.h" 5 : #include "../leaders/fd_leaders.h" 6 : 7 : FD_PROTOTYPES_BEGIN 8 : 9 : /* All of the variable bounds in the bank should be deteremined by the 10 : max number of vote accounts and stake accounts that the system 11 : supports. */ 12 : #define FD_RUNTIME_MAX_VOTE_ACCOUNTS (100000UL) /* 100k vote accounts */ 13 18582 : #define FD_RUNTIME_MAX_STAKE_ACCOUNTS (3000000UL) /* 3M stake accounts */ 14 : 15 : #define FD_RUNTIME_SLOTS_PER_EPOCH (432000UL) /* 432k slots per epoch */ 16 : 17 : #define FD_RUNTIME_MAX_EPOCH_LEADERS (FD_EPOCH_LEADERS_FOOTPRINT(FD_RUNTIME_MAX_VOTE_ACCOUNTS, FD_RUNTIME_SLOTS_PER_EPOCH)) 18 : 19 : FD_PROTOTYPES_END 20 : 21 : #endif /* HEADER_fd_src_flamenco_runtime_fd_runtime_const_h */