Remove a chainstate.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7f2e1bc17220), requires_capability(0x7f2e146b5570), requires_capability(0x7f2e298fa940), requires_capability(0x7f2e360b80a0)]]
std::unique_ptr<Chainstate>
RemoveChainstate(Chainstate& chainstate);

Return Value

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

Parameters

Name

Description

chainstate

The chainstate to remove from the manager.

Created with MrDocs