public ForkChoice( ILogger <ForkChoice> logger, ChainConstants chainConstants, IOptionsMonitor <MiscellaneousParameters> miscellaneousParameterOptions, IOptionsMonitor <TimeParameters> timeParameterOptions, IOptionsMonitor <MaxOperationsPerBlock> maxOperationsPerBlockOptions, IOptionsMonitor <ForkChoiceConfiguration> forkChoiceConfigurationOptions, IOptionsMonitor <SignatureDomains> signatureDomainOptions, ICryptographyService cryptographyService, BeaconChainUtility beaconChainUtility, BeaconStateAccessor beaconStateAccessor, BeaconStateTransition beaconStateTransition) { _logger = logger; _chainConstants = chainConstants; _miscellaneousParameterOptions = miscellaneousParameterOptions; _timeParameterOptions = timeParameterOptions; _maxOperationsPerBlockOptions = maxOperationsPerBlockOptions; _forkChoiceConfigurationOptions = forkChoiceConfigurationOptions; _signatureDomainOptions = signatureDomainOptions; _cryptographyService = cryptographyService; _beaconChainUtility = beaconChainUtility; _beaconStateAccessor = beaconStateAccessor; _beaconStateTransition = beaconStateTransition; }
public ForkChoice( ILogger <ForkChoice> logger, IOptionsMonitor <MiscellaneousParameters> miscellaneousParameterOptions, IOptionsMonitor <InitialValues> initialValueOptions, IOptionsMonitor <TimeParameters> timeParameterOptions, IOptionsMonitor <StateListLengths> stateListLengthOptions, IOptionsMonitor <MaxOperationsPerBlock> maxOperationsPerBlockOptions, IOptionsMonitor <ForkChoiceConfiguration> forkChoiceConfigurationOptions, IOptionsMonitor <SignatureDomains> signatureDomainOptions, BeaconChainUtility beaconChainUtility, BeaconStateAccessor beaconStateAccessor, BeaconStateTransition beaconStateTransition, IStoreProvider storeProvider) { _logger = logger; _miscellaneousParameterOptions = miscellaneousParameterOptions; _initialValueOptions = initialValueOptions; _timeParameterOptions = timeParameterOptions; _stateListLengthOptions = stateListLengthOptions; _maxOperationsPerBlockOptions = maxOperationsPerBlockOptions; _forkChoiceConfigurationOptions = forkChoiceConfigurationOptions; _signatureDomainOptions = signatureDomainOptions; _beaconChainUtility = beaconChainUtility; _beaconStateAccessor = beaconStateAccessor; _beaconStateTransition = beaconStateTransition; _storeProvider = storeProvider; }
public GenesisChainStart(ILogger <GenesisChainStart> logger, ChainConstants chainConstants, IOptionsMonitor <MiscellaneousParameters> miscellaneousParameterOptions, IOptionsMonitor <GweiValues> gweiValueOptions, IOptionsMonitor <InitialValues> initialValueOptions, IOptionsMonitor <TimeParameters> timeParameterOptions, IOptionsMonitor <StateListLengths> stateListLengthOptions, ICryptographyService cryptographyService, IStore store, BeaconStateAccessor beaconStateAccessor, BeaconStateTransition beaconStateTransition, IForkChoice forkChoice, IDepositStore depositStore) { _logger = logger; _beaconStateAccessor = beaconStateAccessor; _beaconStateTransition = beaconStateTransition; _forkChoice = forkChoice; _depositStore = depositStore; _chainConstants = chainConstants; _miscellaneousParameterOptions = miscellaneousParameterOptions; _gweiValueOptions = gweiValueOptions; _initialValueOptions = initialValueOptions; _timeParameterOptions = timeParameterOptions; _stateListLengthOptions = stateListLengthOptions; _cryptographyService = cryptographyService; _store = store; }
public BeaconStateMutator( ChainConstants chainConstants, IOptionsMonitor <TimeParameters> timeParameterOptions, IOptionsMonitor <StateListLengths> stateListLengthOptions, IOptionsMonitor <RewardsAndPenalties> rewardsAndPenaltiesOptions, BeaconChainUtility beaconChainUtility, BeaconStateAccessor beaconStateAccessor) { _beaconChainUtility = beaconChainUtility; _beaconStateAccessor = beaconStateAccessor; _chainConstants = chainConstants; _timeParameterOptions = timeParameterOptions; _stateListLengthOptions = stateListLengthOptions; _rewardsAndPenaltiesOptions = rewardsAndPenaltiesOptions; }
public SynchronizationManager( ILogger <SynchronizationManager> logger, IBeaconChainUtility beaconChainUtility, BeaconStateAccessor beaconStateAccessor, IForkChoice forkChoice, IStore store, INetworkPeering networkPeering) { _logger = logger; _beaconChainUtility = beaconChainUtility; _beaconStateAccessor = beaconStateAccessor; _forkChoice = forkChoice; _store = store; _networkPeering = networkPeering; }
public ValidatorAssignments(ILogger <ValidatorAssignments> logger, IOptionsMonitor <TimeParameters> timeParameterOptions, BeaconChainUtility beaconChainUtility, BeaconStateAccessor beaconStateAccessor, BeaconStateTransition beaconStateTransition, IForkChoice forkChoice, IStore store) { _logger = logger; _timeParameterOptions = timeParameterOptions; _beaconChainUtility = beaconChainUtility; _beaconStateAccessor = beaconStateAccessor; _beaconStateTransition = beaconStateTransition; _forkChoice = forkChoice; _store = store; }
public AttestationProducer(ILogger <AttestationProducer> logger, ICryptographyService cryptographyService, BeaconChainUtility beaconChainUtility, BeaconStateAccessor beaconStateAccessor, BeaconStateTransition beaconStateTransition, IForkChoice forkChoice, IStore store) { _logger = logger; _cryptographyService = cryptographyService; _beaconChainUtility = beaconChainUtility; _beaconStateAccessor = beaconStateAccessor; _beaconStateTransition = beaconStateTransition; _forkChoice = forkChoice; _store = store; }
public Genesis(ILogger <Genesis> logger, ChainConstants chainConstants, IOptionsMonitor <MiscellaneousParameters> miscellaneousParameterOptions, IOptionsMonitor <GweiValues> gweiValueOptions, IOptionsMonitor <InitialValues> initialValueOptions, IOptionsMonitor <TimeParameters> timeParameterOptions, IOptionsMonitor <StateListLengths> stateListLengthOptions, IOptionsMonitor <MaxOperationsPerBlock> maxOperationsPerBlockOptions, BeaconStateAccessor beaconStateAccessor, BeaconStateTransition beaconStateTransition) { _logger = logger; _beaconStateAccessor = beaconStateAccessor; _beaconStateTransition = beaconStateTransition; _chainConstants = chainConstants; _miscellaneousParameterOptions = miscellaneousParameterOptions; _gweiValueOptions = gweiValueOptions; _initialValueOptions = initialValueOptions; _timeParameterOptions = timeParameterOptions; _stateListLengthOptions = stateListLengthOptions; _maxOperationsPerBlockOptions = maxOperationsPerBlockOptions; }