Remove a chainstate.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7ff37ba94d10), requires_capability(0x7ff375ddb6a0), requires_capability(0x7ff37e1a4f70), requires_capability(0x7ff375a96de0)]]
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