Class: BlockEntry

mining.BlockEntry

new BlockEntry(tx)

BlockEntry

Parameters:
Name Type Description
tx TX
Properties:
Name Type Description
tx TX
hash Hash
fee Amount
rate Rate
priority Number
free Boolean
sigops Sigops
depCount Number
Source:

Methods

(static) fromEntry(entry, attempt) → {BlockEntry}

Instantiate block entry from mempool entry.

Parameters:
Name Type Description
entry MempoolEntry
attempt MinerBlock
Source:
Returns:
Type
BlockEntry

(static) fromTX(tx, view, attempt) → {BlockEntry}

Instantiate block entry from transaction.

Parameters:
Name Type Description
tx TX
view CoinView
attempt MinerBlock
Source:
Returns:
Type
BlockEntry