Instantiate a new chainstate.

Synopsis

Declared in <validation.h>

Chainstate&
InitializeChainstate(CTxMemPool* mempool);

Return Value

A reference to the newly initialized chainstate.

Parameters

Name

Description

mempool

The mempool to pass to the chainstate constructor.

Created with MrDocs