[#ChainstateManager-RemoveChainstate] = xref:ChainstateManager.adoc[ChainstateManager]::RemoveChainstate :relfileprefix: ../ :mrdocs: Remove a chainstate. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1bc17220), requires_capability(0x7f2e146b5570), requires_capability(0x7f2e298fa940), requires_capability(0x7f2e360b80a0)]] std::unique_ptr<Chainstate> RemoveChainstate(xref:Chainstate.adoc[Chainstate]& chainstate); ---- == Return Value The removed chainstate, or nullptr if it was not found. == Parameters [cols="1,4"] |=== | Name| Description | *chainstate* | The chainstate to remove from the manager. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#