Class: ChainState

wallet/records~ChainState

new ChainState()

Chain State

Source:

Methods

(static) fromRaw(hash, data) → {ChainState}

Instantiate chain state from serialized data.

Parameters:
Name Type Description
hash Hash
data Buffer
Source:
Returns:
Type
ChainState

clone() → {ChainState}

Clone the state.

Source:
Returns:
Type
ChainState

(private) fromRaw(data)

Inject properties from serialized data.

Parameters:
Name Type Description
data Buffer
Source:

toRaw() → {Buffer}

Serialize the chain state.

Source:
Returns:
Type
Buffer