Class: BlockClaim

mining.BlockClaim()

Block Claim

Constructor

new BlockClaim()

Create a block entry.

Source:

Methods

(static) fromClaim(claim, data) → {BlockClaim}

Instantiate block entry from transaction.

Parameters:
Name Type Description
claim Claim
data Object
Source:
Returns:
Type
BlockClaim

(static) fromEntry(entry) → {BlockClaim}

Instantiate block entry from mempool entry.

Parameters:
Name Type Description
entry ClaimEntry
Source:
Returns:
Type
BlockClaim

getWeight() → {Number}

Calculate weight.

Source:
Returns:
Type
Number