Class: BlockProof

BlockProof()

Block Proof

Constructor

new BlockProof()

Create a block proof.

Source:

Methods

getDifficulty() → {Number}

Calculate the target difficulty.

Source:
Returns:
Type
Number

hash() → {Hash}

Source:
Returns:
Type
Hash

powHash() → {Hash}

Source:
Returns:
Type
Hash

shareHash() → {Hash}

Source:
Returns:
Type
Hash

verify(target) → {Boolean}

Parameters:
Name Type Description
target Buffer
Source:
Returns:
Type
Boolean