Class ProofOfWork

java.lang.Object
com.norswap.nanoeth.blocks.ProofOfWork

public final class ProofOfWork
extends Object
  • Method Details

    • verifyPoW

      public static boolean verifyPoW​(BlockHeader header)
      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.