@@ -17,14 +17,16 @@ static constexpr bool DEFAULT_DAEMON = false;
1717static constexpr bool DEFAULT_DAEMONWAIT = false ;
1818
1919class ArgsManager ;
20- struct NodeContext ;
2120namespace interfaces {
2221struct BlockAndHeaderTipInfo ;
2322} // namespace interfaces
23+ namespace node {
24+ struct NodeContext ;
25+ } // namespace node
2426
2527/* * Interrupt threads */
26- void Interrupt (NodeContext& node);
27- void Shutdown (NodeContext& node);
28+ void Interrupt (node:: NodeContext& node);
29+ void Shutdown (node:: NodeContext& node);
2830// !Initialize the logging infrastructure
2931void InitLogging (const ArgsManager& args);
3032// !Parameter interaction: change current parameters depending on various rules
@@ -56,14 +58,14 @@ bool AppInitLockDataDirectory();
5658/* *
5759 * Initialize node and wallet interface pointers. Has no prerequisites or side effects besides allocating memory.
5860 */
59- bool AppInitInterfaces (NodeContext& node);
61+ bool AppInitInterfaces (node:: NodeContext& node);
6062/* *
6163 * Dash Core main initialization.
6264 * @note This should only be done after daemonization. Call Shutdown() if this function fails.
6365 * @pre Parameters should be parsed and config file should be read, AppInitLockDataDirectory should have been called.
6466 */
65- bool AppInitMain (NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info = nullptr );
66- void PrepareShutdown (NodeContext& node);
67+ bool AppInitMain (node:: NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info = nullptr );
68+ void PrepareShutdown (node:: NodeContext& node);
6769
6870/* *
6971 * Register all arguments with the ArgsManager
0 commit comments