Instantiate a new chainstate.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7f9513c470d8), requires_capability(0x7f9502de8878), requires_capability(0x7f950b21b048), requires_capability(0x7f9514bf5038)]]
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