use of tech.pegasys.teku.networking.eth2.gossip.ProposerSlashingGossipManager in project teku by ConsenSys.
the class GossipForkSubscriptionsPhase0 method addGossipManagers.
protected void addGossipManagers(final ForkInfo forkInfo) {
AttestationSubnetSubscriptions attestationSubnetSubscriptions = new AttestationSubnetSubscriptions(spec, asyncRunner, discoveryNetwork, gossipEncoding, recentChainData, attestationProcessor, forkInfo, getMessageMaxSize());
blockGossipManager = new BlockGossipManager(recentChainData, spec, asyncRunner, discoveryNetwork, gossipEncoding, forkInfo, blockProcessor, getMessageMaxSize());
addGossipManager(blockGossipManager);
attestationGossipManager = new AttestationGossipManager(metricsSystem, attestationSubnetSubscriptions);
addGossipManager(attestationGossipManager);
aggregateGossipManager = new AggregateGossipManager(spec, recentChainData, asyncRunner, discoveryNetwork, gossipEncoding, forkInfo, aggregateProcessor, getMessageMaxSize());
addGossipManager(aggregateGossipManager);
voluntaryExitGossipManager = new VoluntaryExitGossipManager(recentChainData, asyncRunner, discoveryNetwork, gossipEncoding, forkInfo, voluntaryExitProcessor, getMessageMaxSize());
addGossipManager(voluntaryExitGossipManager);
proposerSlashingGossipManager = new ProposerSlashingGossipManager(recentChainData, asyncRunner, discoveryNetwork, gossipEncoding, forkInfo, proposerSlashingProcessor, getMessageMaxSize());
addGossipManager(proposerSlashingGossipManager);
attesterSlashingGossipManager = new AttesterSlashingGossipManager(spec, recentChainData, asyncRunner, discoveryNetwork, gossipEncoding, forkInfo, attesterSlashingProcessor, getMessageMaxSize());
addGossipManager(attesterSlashingGossipManager);
}
Aggregations