Remove a chainstate.
Declared in <validation.h>
[[requires_capability(0x7f9513c47580), requires_capability(0x7f9502de8d20), requires_capability(0x7f950b21b4f0), requires_capability(0x7f9514bf54e0)]]
std::unique_ptr<Chainstate>
RemoveChainstate(Chainstate& chainstate);
The removed chainstate, or nullptr if it was not found.
| Name | Description |
|---|---|
| chainstate | The chainstate to remove from the manager. |