Add TCP channel support for supernode list, make Peer pick the first path if all paths are equally dead.

This commit is contained in:
Adam Ierymenko 2014-03-26 15:35:15 -07:00
parent 73c1d43f2f
commit daaec84c6b
7 changed files with 46 additions and 38 deletions

View file

@ -64,9 +64,9 @@ public:
const std::string defaultHomePath;
/**
* Supernodes on the ZeroTier network
* Supernodes on the ZeroTier network (identity, address/tcp?)
*/
const std::map< Identity,std::vector<InetAddress> > supernodes;
const std::map< Identity,std::vector< std::pair<InetAddress,bool> > > supernodes;
/**
* Identities permitted to sign software updates