Make sure identity.public exists and stays in sync, cleanup extra new in Node, and test script for local testnets.

This commit is contained in:
Adam Ierymenko 2015-04-30 16:03:44 -07:00
parent 918fc8884b
commit 9a34fde8a5
4 changed files with 49 additions and 14 deletions

View file

@ -38,6 +38,7 @@
#include "../include/ZeroTierOne.h"
#include "RuntimeEnvironment.hpp"
#include "InetAddress.hpp"
#include "Mutex.hpp"
#include "MAC.hpp"
@ -52,8 +53,6 @@
namespace ZeroTier {
class RuntimeEnvironment;
/**
* Implementation of Node object as defined in CAPI
*
@ -229,6 +228,7 @@ public:
#endif
private:
RuntimeEnvironment _RR;
RuntimeEnvironment *RR;
void *_uPtr; // _uptr (lower case) is reserved in Visual Studio :P