Instantiate a new chainstate.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fb95fbca718), requires_capability(0x7fb96adf36e8), requires_capability(0x7fb96eb26868), requires_capability(0x7fb987167ff8)]]
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