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) → {BlockAirdrop}

Instantiate block airdrop from mempool airdropentry.

Parameters:
Name Type Description
entry AirdropEntry
Source:
Returns:
Type
BlockAirdrop

getWeight() → {Number}

Calculate weight.

Source:
Returns:
Type
Number