Add new chainstate.
Synopsis
Declared in <validation.h>
[[requires_capability(0x7f2e1bc17e38), requires_capability(0x7f2e146b6188), requires_capability(0x7f2e298fb558), requires_capability(0x7f2e360b8cb8)]]
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