Class: BlockAirdrop

mining.BlockAirdrop()

Block Airdrop

Constructor

new BlockAirdrop()

Create a block entry.

Source:

Methods

(static) fromAirdrop(proof) → {BlockAirdrop}

Instantiate block entry from transaction.

Parameters:
Name Type Description
proof AirdropProof
Source:
Returns:
Type
BlockAirdrop

(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