use of tech.pegasys.teku.statetransition.synccommittee.SyncCommitteeMessageValidator in project teku by ConsenSys.
the class BeaconChainController method initSyncCommitteePools.
protected void initSyncCommitteePools() {
final SyncCommitteeStateUtils syncCommitteeStateUtils = new SyncCommitteeStateUtils(spec, recentChainData);
syncCommitteeContributionPool = new SyncCommitteeContributionPool(spec, new SignedContributionAndProofValidator(spec, recentChainData, syncCommitteeStateUtils, timeProvider, signatureVerificationService));
syncCommitteeMessagePool = new SyncCommitteeMessagePool(spec, new SyncCommitteeMessageValidator(spec, recentChainData, syncCommitteeStateUtils, signatureVerificationService, timeProvider));
eventChannels.subscribe(SlotEventsChannel.class, syncCommitteeContributionPool).subscribe(SlotEventsChannel.class, syncCommitteeMessagePool);
}
Aggregations