public Target GetWorkRequired(Consensus consensus) { this.EnsurePosHeader(); return(BlockValidator.GetNextTargetRequired(this.Previous, consensus, this.Header.PosParameters.IsProofOfStake())); }
public Target GetWorkRequired(ChainedBlock chainedBlock, BlockStake blockStake, Consensus consensus) { return(BlockValidator.GetNextTargetRequired(this, chainedBlock.Previous, consensus, blockStake.IsProofOfStake())); }