use of tech.pegasys.teku.statetransition.forkchoice.ForkChoiceTrigger in project teku by ConsenSys.
the class BeaconChainController method initForkChoice.
protected void initForkChoice() {
LOG.debug("BeaconChainController.initForkChoice()");
final boolean proposerBoostEnabled = beaconConfig.eth2NetworkConfig().isProposerBoostEnabled();
forkChoice = new ForkChoice(spec, forkChoiceExecutor, recentChainData, forkChoiceNotifier, new MergeTransitionBlockValidator(spec, recentChainData, executionEngine), proposerBoostEnabled);
forkChoiceTrigger = new ForkChoiceTrigger(forkChoice);
}
Aggregations