ChainstateManager::InitializeChainstate

Instantiate a new chainstate.

Synopsis

Declared in <validation.h>

Chainstate&
InitializeChainstate(CTxMemPool* mempool);

Return Value

A reference to the newly initialized chainstate.

Parameters

NameDescription
mempoolThe mempool to pass to the chainstate constructor.