diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-07-06 11:45:22 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-07-06 11:45:22 -0700 |
| commit | f18158a52d28c14352018a68d328f41fcdb7966f (patch) | |
| tree | 27aa7b824abaa316e7109550fdeaa09a0ced714f /node/RuntimeEnvironment.hpp | |
| parent | 84748aab5145ace693b98aad2c7984871c491418 (diff) | |
| download | infinitytier-f18158a52d28c14352018a68d328f41fcdb7966f.tar.gz infinitytier-f18158a52d28c14352018a68d328f41fcdb7966f.zip | |
.
Diffstat (limited to 'node/RuntimeEnvironment.hpp')
| -rw-r--r-- | node/RuntimeEnvironment.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/node/RuntimeEnvironment.hpp b/node/RuntimeEnvironment.hpp index ee0c8c24..99afe25d 100644 --- a/node/RuntimeEnvironment.hpp +++ b/node/RuntimeEnvironment.hpp @@ -67,6 +67,11 @@ public: Utils::burn(reinterpret_cast<void *>(const_cast<char *>(secretIdentityStr.data())),(unsigned int)secretIdentityStr.length()); } + /** + * A random integer identifying this running instance in a cluster + */ + uint64_t instanceId; + // Node instance that owns this RuntimeEnvironment Node *const node; @@ -90,11 +95,6 @@ public: Multicaster *mc; Topology *topology; SelfAwareness *sa; - - /** - * A random integer identifying this run of ZeroTier - */ - uint32_t instanceId; }; } // namespace ZeroTier |
