ChainstateManager::RemoveChainstate

Remove a chainstate.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7f9513c47580), requires_capability(0x7f9502de8d20), requires_capability(0x7f950b21b4f0), requires_capability(0x7f9514bf54e0)]]
std::unique_ptr<Chainstate>
RemoveChainstate(Chainstate& chainstate);

Return Value

The removed chainstate, or nullptr if it was not found.

Parameters

NameDescription
chainstateThe chainstate to remove from the manager.