(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

This commit is contained in:
Adam Ierymenko
2014-08-14 19:52:22 -04:00
parent 56296f96db
commit c2187c8759
10 changed files with 109 additions and 63 deletions

View File

@ -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
@ -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
*/