Instantiate a new chainstate.
Synopsis
Declared in <validation.h>
[[requires_capability(0x7ff37ba94868), requires_capability(0x7ff375ddb1f8), requires_capability(0x7ff37e1a4ac8), requires_capability(0x7ff375a96938)]]
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