[#ChainstateManager-InitializeChainstate] = xref:ChainstateManager.adoc[ChainstateManager]::InitializeChainstate :relfileprefix: ../ :mrdocs: Instantiate a new chainstate. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1bc16d78), requires_capability(0x7f2e146b50c8), requires_capability(0x7f2e298fa498), requires_capability(0x7f2e360b7bf8)]] xref:Chainstate.adoc[Chainstate]& InitializeChainstate(xref:CTxMemPool.adoc[CTxMemPool]* mempool); ---- == Return Value A reference to the newly initialized chainstate. == Parameters [cols="1,4"] |=== | Name| Description | *mempool* | The mempool to pass to the chainstate constructor. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#