Add new chainstate.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fb95fbcb7d8), requires_capability(0x7fb96adf47a8), requires_capability(0x7fb96eb27928), requires_capability(0x7fb9871690b8)]]
Chainstate&
AddChainstate(std::unique_ptr<Chainstate> chainstate);

Return Value

A reference to the added chainstate.

Parameters

Name

Description

chainstate

The chainstate to take ownership of and add.

Created with MrDocs