Instantiate a new chainstate.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7f2e1bc16d78), requires_capability(0x7f2e146b50c8), requires_capability(0x7f2e298fa498), requires_capability(0x7f2e360b7bf8)]]
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