예제 #1
0
 public BeaconNodeFacade(
     ClientVersion clientVersion,
     ForkChoice forkChoice,
     IStoreProvider storeProvider,
     ValidatorAssignments validatorAssignments,
     BlockProducer blockProducer)
 {
     _clientVersion        = clientVersion;
     _forkChoice           = forkChoice;
     _storeProvider        = storeProvider;
     _validatorAssignments = validatorAssignments;
     _blockProducer        = blockProducer;
 }
예제 #2
0
 public BeaconNodeFacade(
     ILogger <BeaconNodeFacade> logger,
     IClientVersion clientVersion,
     ForkChoice forkChoice,
     IStoreProvider storeProvider,
     INetworkPeering networkPeering,
     ValidatorAssignments validatorAssignments,
     BlockProducer blockProducer)
 {
     _logger               = logger;
     _clientVersion        = clientVersion;
     _forkChoice           = forkChoice;
     _storeProvider        = storeProvider;
     _networkPeering       = networkPeering;
     _validatorAssignments = validatorAssignments;
     _blockProducer        = blockProducer;
 }