LCOV - code coverage report
Current view: top level - discoh/plugin - fd_plugin.h (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 0 15 0.0 %
Date: 2026-06-30 05:50:37 Functions: 0 0 -

          Line data    Source code
       1             : #ifndef HEADER_fd_src_discoh_plugin_fd_plugin_h
       2             : #define HEADER_fd_src_discoh_plugin_fd_plugin_h
       3             : 
       4           0 : #define FD_PLUGIN_MSG_SLOT_ROOTED                   ( 0UL)
       5           0 : #define FD_PLUGIN_MSG_SLOT_OPTIMISTICALLY_CONFIRMED ( 1UL)
       6           0 : #define FD_PLUGIN_MSG_SLOT_COMPLETED                ( 2UL)
       7             : #define FD_PLUGIN_MSG_SLOT_ESTIMATED                ( 3UL)
       8           0 : #define FD_PLUGIN_MSG_GOSSIP_UPDATE                 ( 4UL)
       9           0 : #define FD_PLUGIN_MSG_VOTE_ACCOUNT_UPDATE           ( 5UL)
      10           0 : #define FD_PLUGIN_MSG_LEADER_SCHEDULE               ( 6UL)
      11           0 : #define FD_PLUGIN_MSG_VALIDATOR_INFO                ( 7UL)
      12           0 : #define FD_PLUGIN_MSG_SLOT_START                    ( 8UL)
      13             : 
      14             : typedef struct {
      15             :   ulong slot;
      16             :   ulong parent_slot;
      17             : } fd_plugin_msg_slot_start_t;
      18             : 
      19           0 : #define FD_PLUGIN_MSG_SLOT_END                      ( 9UL)
      20             : 
      21             : typedef struct {
      22             :   ulong slot;
      23             :   ulong cus_used;
      24             : } fd_plugin_msg_slot_end_t;
      25             : 
      26           0 : #define FD_PLUGIN_MSG_SLOT_RESET                    (10UL)
      27           0 : #define FD_PLUGIN_MSG_BALANCE                       (11UL)
      28           0 : #define FD_PLUGIN_MSG_START_PROGRESS                (12UL)
      29           0 : #define FD_PLUGIN_MSG_GENESIS_HASH_KNOWN            (13UL)
      30             : 
      31             : /* TODO: this needs to be bumped to 13, but that would break
      32             :    fd_gui_handle_gossip_update */
      33           0 : #define FD_GOSSIP_UPDATE_MSG_NUM_SOCKETS      (12U)
      34           0 : #define FD_GOSSIP_LINK_MSG_SIZE    (58U + FD_GOSSIP_UPDATE_MSG_NUM_SOCKETS * 6U)
      35             : #define FD_VALIDATOR_INFO_MSG_SIZE (          608U)
      36             : 
      37             : #endif /* HEADER_fd_src_discoh_plugin_fd_plugin_h */

Generated by: LCOV version 1.14