summaryrefslogtreecommitdiff
path: root/node/Topology.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Topology.hpp')
-rw-r--r--node/Topology.hpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/node/Topology.hpp b/node/Topology.hpp
index ca86b2e3..6dee11bc 100644
--- a/node/Topology.hpp
+++ b/node/Topology.hpp
@@ -45,7 +45,6 @@
#include "InetAddress.hpp"
#include "Utils.hpp"
#include "Dictionary.hpp"
-#include "ExternalSurface.hpp"
namespace ZeroTier {
@@ -322,20 +321,6 @@ public:
#endif
/**
- * Update our knowledge of exterior network addresses
- *
- * If the remote peer in question is trusted, this will update our internal
- * instance of ExternalSurface. If our surface has changed, this triggers a
- * partial or total reset of ephemeral peer addresses and a renegotiation of
- * new ones using supernodes / relays.
- *
- * @param remotePeer Remote peer address
- * @param mirroredAddress Real-world network address the remote peer told us we have
- * @param now Current time
- */
- bool updateSurface(const SharedPtr<Peer> &remotePeer,const InetAddress &mirroredAddress,uint64_t now);
-
- /**
* Validate a root topology dictionary against the identities specified in Defaults
*
* @param rt Root topology dictionary
@@ -356,8 +341,6 @@ private:
std::vector< Address > _supernodeAddresses;
std::vector< SharedPtr<Peer> > _supernodePeers;
- ExternalSurface _surface;
-
Mutex _lock;
// Set to true if my identity is in _supernodes