LCOV - code coverage report
Current view: top level - flamenco/rpcserver - fd_block_to_json.h (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 0 1 0.0 %
Date: 2024-11-13 11:58:15 Functions: 0 0 -

          Line data    Source code
       1             : typedef struct fd_webserver fd_webserver_t;
       2             : 
       3             : typedef enum {
       4             :   FD_ENC_BASE58, FD_ENC_BASE64, FD_ENC_BASE64_ZSTD, FD_ENC_JSON, FD_ENC_JSON_PARSED
       5             : } fd_rpc_encoding_t;
       6             : 
       7             : enum fd_block_detail { FD_BLOCK_DETAIL_FULL, FD_BLOCK_DETAIL_ACCTS, FD_BLOCK_DETAIL_SIGS, FD_BLOCK_DETAIL_NONE };
       8             : 
       9             : const char* fd_txn_meta_to_json( fd_webserver_t * ws,
      10             :                                  const void * meta_raw,
      11             :                                  ulong meta_raw_sz );
      12             : 
      13             : const char* fd_txn_to_json( fd_webserver_t * ws,
      14             :                             fd_txn_t* txn,
      15             :                             const uchar* raw,
      16             :                             ulong raw_sz,
      17             :                             fd_rpc_encoding_t encoding,
      18             :                             long maxvers,
      19             :                             enum fd_block_detail detail );
      20             : 
      21             : const char* fd_block_to_json( fd_webserver_t * ws,
      22             :                               fd_blockstore_t * blockstore,
      23             :                               const char * call_id,
      24             :                               const uchar * blk_data,
      25             :                               ulong blk_sz,
      26             :                               fd_block_map_t * meta,
      27             :                               fd_hash_t * parent_hash,
      28             :                               fd_rpc_encoding_t encoding,
      29             :                               long maxvers,
      30             :                               enum fd_block_detail detail,
      31             :                               fd_block_rewards_t * rewards );
      32             : 
      33           0 : #define FD_LONG_UNSET (1L << 63L)
      34             : 
      35             : const char* fd_account_to_json( fd_webserver_t * ws,
      36             :                                 fd_pubkey_t acct,
      37             :                                 fd_rpc_encoding_t enc,
      38             :                                 uchar const * val,
      39             :                                 ulong val_sz,
      40             :                                 long off,
      41             :                                 long len );

Generated by: LCOV version 1.14