Bitcoin core main initialization.
Synopsis
Declared in <init.h>
bool
AppInitMain(
node::NodeContext& node,
interfaces::BlockAndHeaderTipInfo* tip_info = nullptr);
Description
|
Note
|
This should only be done after daemonization. Call Shutdown() if this function fails. |
Return Value
true if main initialization succeeded.
Parameters
Name |
Description |
node |
The node context to bring fully online. |
tip_info |
Optional output filled with the current block and header tip info. |
Preconditions
-
Parameters should be parsed and config file should be read, AppInitLockDirectories should have been called.
Created with MrDocs