Class: BlockEntry

mining~BlockEntry(tx)

Block Entry

Constructor

new BlockEntry(tx)

Create a block entry.

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 BlockTemplate
Source:
Returns:
Type
BlockEntry

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

Instantiate block entry from transaction.

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