Interface INodeStatus

Represents the status of a node.

See

  • config of type object represents the configuration of the node.
  • config.block_reward of type string represents the block reward of the node.
  • config.delta_f0 of type number represents the delta f0 of the node.
  • config.end_timestamp of type number represents the end timestamp of the node (can be null).
  • config.genesis_timestamp of type number represents the genesis timestamp of the node.
  • config.max_block_size of type number represents the maximum block size of the node.
  • config.operation_validity_periods of type number represents the operation validity periods of the node.
  • config.periods_per_cycle of type number represents the periods per cycle of the node.
  • config.pos_lock_cycles of type number represents the proof of stake lock cycles of the node.
  • connected_nodes of type NodesMap represents its connected nodes.
  • consensus_stats of type object represents the consensus statistics of the node.
  • current_cycle of type number represents the current cycle of the node.
  • current_time of type number represents the current time of the node.
  • last_slot of type ISlot represents the last slot of the node.
  • network_stats of type object represents the network statistics of the node.
  • next_slot of type ISlot represents the next slot of the node.
  • node_id of type string represents the ID of the node.
  • pool_stats of type object represents the pool statistics of the node.
interface INodeStatus {
    chain_id: bigint;
    config: {
        block_reward: string;
        delta_f0: number;
        end_timestamp: number;
        genesis_timestamp: number;
        max_block_size: number;
        operation_validity_periods: number;
        periods_per_cycle: number;
        pos_lock_cycles: number;
        pos_lookback_cycles: number;
        roll_price: string;
        t0: number;
        thread_count: number;
    };
    connected_nodes: NodesMap;
    consensus_stats: {
        clique_count: 1;
        end_timestamp: number;
        final_block_count: number;
        final_operation_count: number;
        staker_count: number;
        stale_block_count: number;
        start_timestamp: number;
    };
    current_cycle: number;
    current_time: number;
    last_slot: ISlot;
    minimal_fees?: string;
    network_stats: {
        active_node_count: number;
        banned_peer_count: number;
        in_connection_count: number;
        known_peer_count: number;
        out_connection_count: number;
    };
    next_slot: ISlot;
    node_id: string;
    node_ip: string;
    pool_stats: {
        endorsement_count: number;
        operation_count: number;
    };
    version: string;
}

Properties

chain_id: bigint
config: {
    block_reward: string;
    delta_f0: number;
    end_timestamp: number;
    genesis_timestamp: number;
    max_block_size: number;
    operation_validity_periods: number;
    periods_per_cycle: number;
    pos_lock_cycles: number;
    pos_lookback_cycles: number;
    roll_price: string;
    t0: number;
    thread_count: number;
}

Type declaration

  • block_reward: string
  • delta_f0: number
  • end_timestamp: number
  • genesis_timestamp: number
  • max_block_size: number
  • operation_validity_periods: number
  • periods_per_cycle: number
  • pos_lock_cycles: number
  • pos_lookback_cycles: number
  • roll_price: string
  • t0: number
  • thread_count: number
connected_nodes: NodesMap
consensus_stats: {
    clique_count: 1;
    end_timestamp: number;
    final_block_count: number;
    final_operation_count: number;
    staker_count: number;
    stale_block_count: number;
    start_timestamp: number;
}

Type declaration

  • clique_count: 1
  • end_timestamp: number
  • final_block_count: number
  • final_operation_count: number
  • staker_count: number
  • stale_block_count: number
  • start_timestamp: number
current_cycle: number
current_time: number
last_slot: ISlot
minimal_fees?: string
network_stats: {
    active_node_count: number;
    banned_peer_count: number;
    in_connection_count: number;
    known_peer_count: number;
    out_connection_count: number;
}

Type declaration

  • active_node_count: number
  • banned_peer_count: number
  • in_connection_count: number
  • known_peer_count: number
  • out_connection_count: number
next_slot: ISlot
node_id: string
node_ip: string
pool_stats: {
    endorsement_count: number;
    operation_count: number;
}

Type declaration

  • endorsement_count: number
  • operation_count: number
version: string

Generated using TypeDoc