diff options
Diffstat (limited to 'src/init.h')
-rw-r--r-- | src/init.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/init.h b/src/init.h index 1c59ca069e..099e96a161 100644 --- a/src/init.h +++ b/src/init.h @@ -16,7 +16,7 @@ class ChainClient; } // namespace interfaces //! Pointers to interfaces used during init and destroyed on shutdown. -struct InitInterfaces +struct NodeContext { std::unique_ptr<interfaces::Chain> chain; std::vector<std::unique_ptr<interfaces::ChainClient>> chain_clients; @@ -29,7 +29,7 @@ class thread_group; /** Interrupt threads */ void Interrupt(); -void Shutdown(InitInterfaces& interfaces); +void Shutdown(NodeContext& node); //!Initialize the logging infrastructure void InitLogging(); //!Parameter interaction: change current parameters depending on various rules @@ -63,7 +63,7 @@ bool AppInitLockDataDirectory(); * @note This should only be done after daemonization. Call Shutdown() if this function fails. * @pre Parameters should be parsed and config file should be read, AppInitLockDataDirectory should have been called. */ -bool AppInitMain(InitInterfaces& interfaces); +bool AppInitMain(NodeContext& node); /** * Setup the arguments for gArgs |