- Validator Availability header:
- Node Status: Checking if port number 26657 on localhost is in use or not. If the heimdall rpc is active on this port, node status is marked as UP else DOWN.
- Validator Status: If the validator has a non zero voting power in the result of http://localhost:26657/status it is marked as Active else Inactive.
- Chain-id: Querying the rpc endpoint http://localhost:26657/status.
result.node_info.network
- Valdiator Performance header
- Validator caught up: Querying the rpc endpoint http://localhost:26657/status.
result.sync_info.catching_up
. Ifcatching_up
isfalse
it is marked as Yes else No. - Current block height validator : Querying rest endpoint http://localhost/1317/blocks/latest.
block_meta.header.height
- Block time difference: Commit time between the current and previous block is calculated and displayed here.
- Latest block height network: An external heimdall rpc is queried for the block height.
- Height difference: Difference between latest block height network and current block height validator is calculated and displayed.
- Missed blocks: Validator's precommit is checked in http://localhost/1317/blocks/latest. If
block_meta.block.last_commit.precommits
does not contain the validator's precommit it's marked as missed.
- Checkpoint header
- Latest checkpoint: Querying rest endpoint http://localhost:1317/checkpoints/count.
result.result
- Checkpoint duration: Querying the rest endpoint http://localhost:1317/checkpoints/params.
result.checkpoint_buffer_time
- Latest checkpoint start-end block: Querying the endpoint http://localhost:1317/checkpoints/latest.
result.start_block
andresult.end_block
. - Last proposed checkpoint and No of checkpoints proposed: Querying the endpoint http://localhost:1317/checkpoints/. If
result.proposer
is user address then checkpoint number is displayed as proposed. Count of no of checkpoint proposed is incremented by 1. - Validator is part of block producer: Querying the rest endpoint http://localhost:/1317/bor/span/. If user address is present in
result.selected_producers
it is marked as Yes else No. - Producer count: Querying the rest enpoint http://localhost:/1317/bor/span/. Length of
result.selected_producers
array is displayed. - Span duration: Querying the rest endpoint http://localhost:1317/bor/params.
result.span_duration
- Validator connectivity header
- No of peers: querying the rpc endpoint http://localhost:26657/net_info?.
result.n_peers
- Peer addresses: querying the rpc endpoint http://localhost:26657/net_info?.
result.peers.remote_ip
- Validator details header
- Voting power: Querying the rest enpoint http://localhost:1317/staking/validator/.
result.power
- Last proposed block height and time: Querying rest endpoint http://localhost/1317/blocks/latest. If
block.proposer_address
is user address thenblock.height
andblock.time
are displayed. - ETH current balance: User's address is queried on mainnet Ethereum rpc.
- Heimdall current balance: Querying the rest endpoint http://localhost:1317/bank/balances/.
result.amount
- Max tx gas: Querying the rest endpoint http://localhost:1317/auth/params.
result.max_tx_gas
- Self stake and rewards: Querying validator share contract for id.
- Proposals header
Querying the rest endpoint http://localhost:1317/gov/proposals
- Current height validator: Latest block is queried using bor rpc.
- Current block proposer: Proposer of the latest bor block is being displayed.
- Current span - Querying the rest endpoint http://localhost:1317/bor/latest-span.
result.span_id
. - Pending transactions: Querying the bor rpc for unconfirmed txs.
- No of blocks proposed: If the user address is the proposer of the bor block then count is incremented by 1.
- No of blocks signed - If the user address has signed on the latest bor block then count is incremented by 1.