diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-21 10:29:44 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-21 10:29:44 -0400 |
| commit | 6e217dfcb01c923e54dd172d0dfca68ab8566bdd (patch) | |
| tree | 703d1248b5ba010ed4669c2b9cf5a889419b0057 /node/Node.cpp | |
| parent | bbfd43e03601add10aa04f8f2770285cb801d905 (diff) | |
| download | infinitytier-6e217dfcb01c923e54dd172d0dfca68ab8566bdd.tar.gz infinitytier-6e217dfcb01c923e54dd172d0dfca68ab8566bdd.zip | |
Get rid of DBM, which technically is a case of YAGNI. Supernodes will need a way to save identities, but that can be a different feature. Regular clients do not really need a permanent cache (yet). When/if we do need one we can do it then. Until then it only caused problems.
Diffstat (limited to 'node/Node.cpp')
| -rw-r--r-- | node/Node.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/node/Node.cpp b/node/Node.cpp index 71d8b097..8b2815e2 100644 --- a/node/Node.cpp +++ b/node/Node.cpp @@ -380,6 +380,7 @@ Node::ReasonForTermination Node::run() // Clean up some obsolete files if present -- this will be removed later Utils::rm((_r->homePath + ZT_PATH_SEPARATOR_S + "status")); Utils::rm((_r->homePath + ZT_PATH_SEPARATOR_S + "thisdeviceismine")); + Utils::rm((_r->homePath + ZT_PATH_SEPARATOR_S + "peer.db")); // Make sure networks.d exists #ifdef __WINDOWS__ @@ -407,7 +408,7 @@ Node::ReasonForTermination Node::run() _r->mc = new Multicaster(); _r->sw = new Switch(_r); _r->demarc = new Demarc(_r); - _r->topology = new Topology(_r,(_r->homePath + ZT_PATH_SEPARATOR_S + "peer.db").c_str()); + _r->topology = new Topology(_r); _r->sysEnv = new SysEnv(_r); try { _r->nc = new NodeConfig(_r,configAuthToken.c_str(),impl->controlPort); |
