@ethereumjs/block / ethashCanonicalDifficulty
ethashCanonicalDifficulty(
block,parentBlock):bigint
Defined in: consensus/ethash.ts:9
Returns the canonical difficulty for this block.
the block whose difficulty should be calculated
the parent of this Block
bigint