summaryrefslogtreecommitdiff
path: root/node/Defaults.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-08-14 19:52:22 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-08-14 19:52:22 -0400
commitc2187c87599c60b9c47dd9d01244ce1ffd105fea (patch)
tree061667e920472a08f073ab2beb89456c05851cc5 /node/Defaults.hpp
parent56296f96db2ebecc69214de6ef0ca47d7aa77c6e (diff)
downloadinfinitytier-c2187c87599c60b9c47dd9d01244ce1ffd105fea.tar.gz
infinitytier-c2187c87599c60b9c47dd9d01244ce1ffd105fea.zip
(1) distribute default root-topology in new dictionary format, (2) bump peer serialization version to force obsolescence of old supernodes, (3) stop outputting a log message every time we poll for software updates
Diffstat (limited to 'node/Defaults.hpp')
-rw-r--r--node/Defaults.hpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/node/Defaults.hpp b/node/Defaults.hpp
index 98110ac7..869707b4 100644
--- a/node/Defaults.hpp
+++ b/node/Defaults.hpp
@@ -64,9 +64,14 @@ public:
const std::string defaultHomePath;
/**
- * Supernodes on the ZeroTier network (identity, address/tcp?)
+ * Default root topology dictionary
*/
- const std::map< Identity,std::vector< std::pair<InetAddress,bool> > > supernodes;
+ const std::string defaultRootTopology;
+
+ /**
+ * Identities permitted to sign root topology dictionaries
+ */
+ const std::map< Address,Identity > rootTopologyAuthorities;
/**
* Identities permitted to sign software updates
@@ -85,6 +90,11 @@ public:
const std::string updateLatestNfoURL;
/**
+ * URL to check for updates to root topology
+ */
+ const std::string rootTopologyUpdateURL;
+
+ /**
* Address for IPv4 LAN auto-location broadcasts: 255.255.255.255:9993
*/
const InetAddress v4Broadcast;