Add new chainstate.
Synopsis
Declared in <validation.h>
[[requires_capability(0x7fbc8fcf9978), requires_capability(0x7fbc96d92138), requires_capability(0x7fbcaf727ba8), requires_capability(0x7fbc9e23f288)]]
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