Add new chainstate.
Synopsis
Declared in <validation.h>
[[requires_capability(0x7fd753e2f418), requires_capability(0x7fd74dcf0ac8), requires_capability(0x7fd74a14e6c8), requires_capability(0x7fd75e70f958)]]
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