Class: ChainState

wallet/records~ChainState()

Chain State

Constructor

new ChainState()

Create a chain state.

Source:

Methods

getSize() → {Number}

Calculate size.

Source:
Returns:
Type
Number

inject() → {ChainState}

Clone the state.

Source:
Returns:
Type
ChainState

(private) read(data)

Inject properties from serialized data.

Parameters:
Name Type Description
data Buffer
Source:

write() → {Buffer}

Serialize the chain state.

Source:
Returns:
Type
Buffer