Instantiate a new chainstate.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fbc8fcf88b8), requires_capability(0x7fbc96d91078), requires_capability(0x7fbcaf726ae8), requires_capability(0x7fbc9e23e1c8)]]
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