use of tech.pegasys.teku.validator.coordinator.ActiveValidatorTracker in project teku by ConsenSys.
the class BeaconChainController method initActiveValidatorTracker.
protected void initActiveValidatorTracker() {
LOG.debug("BeaconChainController.initActiveValidatorTracker");
final StableSubnetSubscriber stableSubnetSubscriber = beaconConfig.p2pConfig().isSubscribeAllSubnetsEnabled() ? AllSubnetsSubscriber.create(attestationTopicSubscriber) : new ValidatorBasedStableSubnetSubscriber(attestationTopicSubscriber, new Random(), spec);
this.activeValidatorTracker = new ActiveValidatorTracker(stableSubnetSubscriber, spec);
}
Aggregations