aboutsummaryrefslogtreecommitdiff
path: root/src/qt/splashscreen.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2020-07-06 10:36:15 -0400
committerRussell Yanofsky <russ@yanofsky.org>2020-08-26 05:52:31 -0400
commit519cae8fd6e44aef3470415d7c5e12acb0acd9f4 (patch)
tree8c76ab65ae45db775f989f4269fbba7ee2e0fad4 /src/qt/splashscreen.h
parent102abff9eb6c267af64f2a3560712147d1896e13 (diff)
downloadbitcoin-519cae8fd6e44aef3470415d7c5e12acb0acd9f4.tar.xz
gui: Delay interfaces::Node initialization
This is needed to allow bitcoin-gui to connect to existing node process with -ipcconnect instead of spawning a new process. It's possible to spawn a new bitcoin-node process without knowing the current data dir or network, but connecting to an existing bitcoin-node requires knowing the datadir and network first.
Diffstat (limited to 'src/qt/splashscreen.h')
-rw-r--r--src/qt/splashscreen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/splashscreen.h b/src/qt/splashscreen.h
index dc394ac439..2213b02c55 100644
--- a/src/qt/splashscreen.h
+++ b/src/qt/splashscreen.h
@@ -62,6 +62,7 @@ private:
int curAlignment;
interfaces::Node* m_node = nullptr;
+ bool m_shutdown = false;
std::unique_ptr<interfaces::Handler> m_handler_init_message;
std::unique_ptr<interfaces::Handler> m_handler_show_progress;
std::unique_ptr<interfaces::Handler> m_handler_load_wallet;