use of tech.pegasys.teku.validator.coordinator.performance.SyncCommitteePerformanceTracker in project teku by ConsenSys.
the class BeaconChainController method initPerformanceTracker.
protected void initPerformanceTracker() {
LOG.debug("BeaconChainController.initPerformanceTracker()");
ValidatorPerformanceTrackingMode mode = beaconConfig.validatorConfig().getValidatorPerformanceTrackingMode();
if (mode.isEnabled()) {
performanceTracker = new DefaultPerformanceTracker(combinedChainDataClient, STATUS_LOG, new ValidatorPerformanceMetrics(metricsSystem), beaconConfig.validatorConfig().getValidatorPerformanceTrackingMode(), activeValidatorTracker, new SyncCommitteePerformanceTracker(spec, combinedChainDataClient), spec);
eventChannels.subscribe(SlotEventsChannel.class, performanceTracker);
} else {
performanceTracker = new NoOpPerformanceTracker();
}
}
Aggregations