Interface PoAMetricsService
-
@Deprecated public interface PoAMetricsService
Deprecated.This interface has been replaced byPoaQueryService
Provides relevant data for producing metrics on the status of a Proof of Authority (PoA) node.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Address
getProposerOfBlock(BlockHeader header)
Deprecated.Retrieves theAddress
for the proposer of a block on the canonical chain.java.util.Collection<Address>
getValidatorsForLatestBlock()
Deprecated.Retrieves the validators who have signed the latest block from the canonical chain.
-
-
-
Method Detail
-
getValidatorsForLatestBlock
java.util.Collection<Address> getValidatorsForLatestBlock()
Deprecated.Retrieves the validators who have signed the latest block from the canonical chain.- Returns:
- Identities of the validators who formed quorum on the latest block.
-
getProposerOfBlock
Address getProposerOfBlock(BlockHeader header)
Deprecated.Retrieves theAddress
for the proposer of a block on the canonical chain.- Parameters:
header
- TheBlockHeader
for which the proposer will be found.- Returns:
- The identity of the proposer for the given block.
-
-