public BeaconStateTransition(ILogger <BeaconStateTransition> logger, ChainConstants chainConstants, IOptionsMonitor <MiscellaneousParameters> miscellaneousParameterOptions, IOptionsMonitor <GweiValues> gweiValueOptions, IOptionsMonitor <InitialValues> initialValueOptions, IOptionsMonitor <TimeParameters> timeParameterOptions, IOptionsMonitor <StateListLengths> stateListLengthOptions, IOptionsMonitor <RewardsAndPenalties> rewardsAndPenaltiesOptions, IOptionsMonitor <MaxOperationsPerBlock> maxOperationsPerBlockOptions, IOptionsMonitor <SignatureDomains> signatureDomainOptions, ICryptographyService cryptographyService, BeaconChainUtility beaconChainUtility, BeaconStateAccessor beaconStateAccessor, BeaconStateMutator beaconStateMutator) { _logger = logger; _chainConstants = chainConstants; _miscellaneousParameterOptions = miscellaneousParameterOptions; _gweiValueOptions = gweiValueOptions; _initialValueOptions = initialValueOptions; _timeParameterOptions = timeParameterOptions; _stateListLengthOptions = stateListLengthOptions; _rewardsAndPenaltiesOptions = rewardsAndPenaltiesOptions; _maxOperationsPerBlockOptions = maxOperationsPerBlockOptions; _signatureDomainOptions = signatureDomainOptions; _cryptographyService = cryptographyService; _beaconChainUtility = beaconChainUtility; _beaconStateAccessor = beaconStateAccessor; _beaconStateMutator = beaconStateMutator; }
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 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 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; }