Instantiate a new chainstate.
Synopsis
Declared in <validation.h>
[[requires_capability(0x7fd753e2e358), requires_capability(0x7fd74dcefa08), requires_capability(0x7fd74a14d608), requires_capability(0x7fd75e70e898)]]
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