Beispiel #1
0
 public Worker(ILogger <Worker> logger, IHostEnvironment environment, IConfiguration configuration, BeaconNodeConfiguration beaconNodeConfiguration)
 {
     _logger                  = logger;
     _environment             = environment;
     _configuration           = configuration;
     _beaconNodeConfiguration = beaconNodeConfiguration;
 }
Beispiel #2
0
 public BeaconNodeWorker(ILogger <BeaconNodeWorker> logger,
                         IClock clock,
                         IHostEnvironment environment,
                         IConfiguration configuration,
                         BeaconNodeConfiguration beaconNodeConfiguration,
                         IStoreProvider storeProvider,
                         ForkChoice forkChoice,
                         INodeStart nodeStart)
 {
     _logger                  = logger;
     _clock                   = clock;
     _environment             = environment;
     _configuration           = configuration;
     _beaconNodeConfiguration = beaconNodeConfiguration;
     _storeProvider           = storeProvider;
     _forkChoice              = forkChoice;
     _nodeStart               = nodeStart;
 }