From c2187c87599c60b9c47dd9d01244ce1ffd105fea Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 14 Aug 2014 19:52:22 -0400 Subject: (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 --- node/Defaults.hpp | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'node/Defaults.hpp') 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 > > supernodes; + const std::string defaultRootTopology; + + /** + * Identities permitted to sign root topology dictionaries + */ + const std::map< Address,Identity > rootTopologyAuthorities; /** * Identities permitted to sign software updates @@ -84,6 +89,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 */ -- cgit v1.2.3