summaryrefslogtreecommitdiff
path: root/node/RuntimeEnvironment.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-09-15 16:32:55 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-09-15 16:32:55 -0700
commitfb22ef053b7e73d62789e6c9816cbb918638ae85 (patch)
tree196a091fb419ab0f1e43be6f28a746af86b2c906 /node/RuntimeEnvironment.hpp
parent4ba426934439ac37e63e30f53a93a7d765f5cbba (diff)
downloadinfinitytier-fb22ef053b7e73d62789e6c9816cbb918638ae85.tar.gz
infinitytier-fb22ef053b7e73d62789e6c9816cbb918638ae85.zip
Move rest of NodeControl stuff out of node/ and into control/
Diffstat (limited to 'node/RuntimeEnvironment.hpp')
-rw-r--r--node/RuntimeEnvironment.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/node/RuntimeEnvironment.hpp b/node/RuntimeEnvironment.hpp
index 21fbc73a..767dd564 100644
--- a/node/RuntimeEnvironment.hpp
+++ b/node/RuntimeEnvironment.hpp
@@ -66,6 +66,9 @@ class RuntimeEnvironment
{
public:
RuntimeEnvironment() :
+ homePath(),
+ identity(),
+ initialized(false),
shutdownInProgress(false),
tcpTunnelingEnabled(false),
timeOfLastResynchronize(0),
@@ -94,6 +97,9 @@ public:
// This node's identity
Identity identity;
+ // Are we initialized?
+ volatile bool initialized;
+
// Indicates that we are shutting down -- this is hacky, want to factor out
volatile bool shutdownInProgress;