Remove a chainstate.
Declared in <validation.h>
[[requires_capability(0x7f2e1bc17220), requires_capability(0x7f2e146b5570), requires_capability(0x7f2e298fa940), requires_capability(0x7f2e360b80a0)]]
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. |