LCOV - code coverage report
Current view: top level - discof/backtest - fd_backtest_rocksdb.h (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 0 1 0.0 %
Date: 2025-12-06 04:45:29 Functions: 0 0 -

          Line data    Source code
       1             : #ifndef HEADER_fd_src_discof_backtest_fd_backtest_rocksdb_h
       2             : #define HEADER_fd_src_discof_backtest_fd_backtest_rocksdb_h
       3             : 
       4             : #include "../../util/fd_util_base.h"
       5             : 
       6             : struct fd_backtest_rocksdb_private;
       7             : typedef struct fd_backtest_rocksdb_private fd_backtest_rocksdb_t;
       8             : 
       9             : #if FD_HAS_ROCKSDB
      10             : 
      11           0 : #define FD_BACKTEST_ROCKSDB_MAGIC (0xF17EDA2CE58AC810) /* FIREDANCE BACKT V0 */
      12             : 
      13             : FD_PROTOTYPES_BEGIN
      14             : 
      15             : FD_FN_CONST ulong
      16             : fd_backtest_rocksdb_align( void );
      17             : 
      18             : FD_FN_CONST ulong
      19             : fd_backtest_rocksdb_footprint( void );
      20             : 
      21             : void *
      22             : fd_backtest_rocksdb_new( void *       shmem,
      23             :                          char const * path );
      24             : 
      25             : fd_backtest_rocksdb_t *
      26             : fd_backtest_rocksdb_join( void * shdb );
      27             : 
      28             : void
      29             : fd_backtest_rocksdb_init( fd_backtest_rocksdb_t * db,
      30             :                           ulong                   root_slot );
      31             : 
      32             : int
      33             : fd_backtest_rocksdb_next_root_slot( fd_backtest_rocksdb_t * db,
      34             :                                     ulong *                 root_slot,
      35             :                                     ulong *                 shred_cnt );
      36             : 
      37             : void const *
      38             : fd_backtest_rocksdb_shred( fd_backtest_rocksdb_t * db,
      39             :                            ulong                   slot,
      40             :                            ulong                   shred_idx );
      41             : 
      42             : uchar const *
      43             : fd_backtest_rocksdb_bank_hash( fd_backtest_rocksdb_t * db,
      44             :                                ulong                   slot );
      45             : 
      46             : FD_PROTOTYPES_END
      47             : 
      48             : #endif /* FD_HAS_ROCKSDB */
      49             : 
      50             : #endif /* HEADER_fd_src_discof_backtest_fd_backtest_rocksdb_h */

Generated by: LCOV version 1.14