Remove a chainstate.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fd753e2e800), requires_capability(0x7fd74dcefeb0), requires_capability(0x7fd74a14dab0), requires_capability(0x7fd75e70ed40)]]
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