Interface PoAMetricsService


  • @Deprecated
    public interface PoAMetricsService
    Deprecated.
    This interface has been replaced by PoaQueryService
    Provides relevant data for producing metrics on the status of a Proof of Authority (PoA) node.
    • 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 the Address for the proposer of a block on the canonical chain.
        Parameters:
        header - The BlockHeader for which the proposer will be found.
        Returns:
        The identity of the proposer for the given block.