public MothraPeeringWorker(ILogger <MothraPeeringWorker> logger, IOptionsMonitor <MothraConfiguration> mothraConfigurationOptions, IHostEnvironment environment, IClientVersion clientVersion, IStore store, IMothraLibp2p mothraLibp2P, DataDirectory dataDirectory, PeerManager peerManager, PeerDiscoveredProcessor peerDiscoveredProcessor, RpcPeeringStatusProcessor rpcPeeringStatusProcessor, RpcBeaconBlocksByRangeProcessor rpcBeaconBlocksByRangeProcessor, SignedBeaconBlockProcessor signedBeaconBlockProcessor) { _logger = logger; _environment = environment; _clientVersion = clientVersion; _dataDirectory = dataDirectory; _mothraConfigurationOptions = mothraConfigurationOptions; _mothraLibp2P = mothraLibp2P; _peerManager = peerManager; _peerDiscoveredProcessor = peerDiscoveredProcessor; _rpcPeeringStatusProcessor = rpcPeeringStatusProcessor; _rpcBeaconBlocksByRangeProcessor = rpcBeaconBlocksByRangeProcessor; _signedBeaconBlockProcessor = signedBeaconBlockProcessor; _store = store; // 396 bytes _minimumSignedBeaconBlockLength = Ssz.Ssz.SignedBeaconBlockLength( new SignedBeaconBlock(new BeaconBlock(Slot.Zero, Root.Zero, Root.Zero, BeaconBlockBody.Zero), BlsSignature.Zero)); }
public MothraNetworkPeering(ILogger <MothraNetworkPeering> logger, IMothraLibp2p mothraLibp2p, PeerManager peerManager) { _logger = logger; _mothraLibp2p = mothraLibp2p; _peerManager = peerManager; }
public PeerDiscoveredProcessor(ILogger <PeerDiscoveredProcessor> logger, ISynchronizationManager synchronizationManager, PeerManager peerManager) : base(logger, MaximumQueue) { _logger = logger; _synchronizationManager = synchronizationManager; _peerManager = peerManager; }
public MothraNetworkPeering(ILogger <MothraNetworkPeering> logger, IOptionsMonitor <NetworkingConfiguration> networkingConfigurationOptions, IMothraLibp2p mothraLibp2p, PeerManager peerManager) { _logger = logger; _networkingConfigurationOptions = networkingConfigurationOptions; _mothraLibp2p = mothraLibp2p; _peerManager = peerManager; }
public RpcPeeringStatusProcessor(ILogger <RpcPeeringStatusProcessor> logger, ISynchronizationManager synchronizationManager, PeerManager peerManager) : base(logger, MaximumQueue) { _logger = logger; _synchronizationManager = synchronizationManager; _peerManager = peerManager; }