Class: ChainEntry

blockchain.ChainEntry()

Chain Entry Represents an entry in the chain. Unlike other bitcoin fullnodes, we store the chainwork with the entry in order to avoid reading the entire chain index on boot and recalculating the chainworks.

Constructor

new ChainEntry()

Properties:
Name Type Description
hash Hash
version Number
prevBlock Hash
merkleRoot Hash
time Number
bits Number
nonce Number
height Number
chainwork BN
rhash Hash
Source:

Members

(static, constant) MAX_CHAINWORK :BN

The max chainwork (1 << 256).

Type:
  • BN
Source: