Package com.norswap.nanoeth.blocks
Class ProofOfWork
java.lang.Object
com.norswap.nanoeth.blocks.ProofOfWork
public final class ProofOfWork extends Object
-
Method Summary
Modifier and Type Method Description static boolean
verifyPoW(BlockHeader header)
Verifies the proof of work computation for the given header, i.e.
-
Method Details
-
verifyPoW
Verifies the proof of work computation for the given header, i.e. that the header content, hash and nonce are consistent. This assumes that the nonce and the difficulty have been validated upstream.
-