Interface PoaQueryService

All Superinterfaces:
org.hyperledger.besu.plugin.services.BesuService
All Known Subinterfaces:
BftQueryService

@Deprecated(forRemoval=true) public interface PoaQueryService extends org.hyperledger.besu.plugin.services.BesuService
Deprecated, for removal: This API element is subject to removal in a future version.
This service is scheduled for removal in a future release, with no replacement, as it has no known usage.
Provides methods to query the status of a Proof of Authority (PoA) network.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hyperledger.besu.datatypes.Address
    Deprecated, for removal: This API element is subject to removal in a future version.
    Retrieves the signer Address of the local node.
    org.hyperledger.besu.datatypes.Address
    getProposerOfBlock(org.hyperledger.besu.plugin.data.BlockHeader header)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Retrieves the Address for the proposer of a block on the canonical chain.
    Collection<org.hyperledger.besu.datatypes.Address>
    Deprecated, for removal: This API element is subject to removal in a future version.
    Retrieves the validators specified in the latest block from the canonical chain.
  • Method Details

    • getValidatorsForLatestBlock

      Collection<org.hyperledger.besu.datatypes.Address> getValidatorsForLatestBlock()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Retrieves the validators specified in the latest block from the canonical chain.
      Returns:
      Addresses of all validators in the latest canonical block.
    • getProposerOfBlock

      org.hyperledger.besu.datatypes.Address getProposerOfBlock(org.hyperledger.besu.plugin.data.BlockHeader header)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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.
    • getLocalSignerAddress

      org.hyperledger.besu.datatypes.Address getLocalSignerAddress()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Retrieves the signer Address of the local node. This is the address added to the BlockHeader to identify that a specific node was a validator during block creation.
      Returns:
      The signer Address of the local node.