Interface IbftQueryService
-
- All Superinterfaces:
PoaQueryService
@Deprecated public interface IbftQueryService extends PoaQueryService
Deprecated.This interface has been replaced byBftQueryService
Allows for the IBFT 2.0 specific aspects of the block chain to be queried.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description int
getRoundNumberFrom(BlockHeader header)
Deprecated.Extracts the round number from the supplied header and returns it to the caller.java.util.Collection<Address>
getSignersFrom(BlockHeader header)
Deprecated.Extracts the collection of signers from the supplied block header and returns them to the caller.-
Methods inherited from interface org.hyperledger.besu.plugin.services.query.PoaQueryService
getLocalSignerAddress, getProposerOfBlock, getValidatorsForLatestBlock
-
-
-
-
Method Detail
-
getRoundNumberFrom
int getRoundNumberFrom(BlockHeader header)
Deprecated.Extracts the round number from the supplied header and returns it to the caller.- Parameters:
header
- the block header from which the round number is to be extracted- Returns:
- The number of failed rounds executed prior to adding the block to the chain.
-
getSignersFrom
java.util.Collection<Address> getSignersFrom(BlockHeader header)
Deprecated.Extracts the collection of signers from the supplied block header and returns them to the caller.- Parameters:
header
- the block header from which a list of signers is to be extracted- Returns:
- The addresses of
-
-