use of org.hyperledger.besu.consensus.common.PoaQueryServiceImpl in project besu by hyperledger.
the class CliqueQueryPluginServiceFactory method appendPluginServices.
@Override
public void appendPluginServices(final BesuPluginContextImpl besuContext) {
final BlockInterface blockInterface = new CliqueBlockInterface();
final PoaQueryServiceImpl service = new PoaQueryServiceImpl(blockInterface, blockchain, nodeKey);
besuContext.addService(PoaQueryService.class, service);
besuContext.addService(PoAMetricsService.class, service);
}
Aggregations