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