summaryrefslogtreecommitdiff
path: root/node/SelfAwareness.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-28 11:16:43 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-28 11:16:43 -0700
commitdda376c9eb0800b824f423db30399d93e89cb162 (patch)
treed2745b65493214c65d08b642115acc2dabd2e3b1 /node/SelfAwareness.hpp
parent40d5c79b62e7ca7f6da7697e720fb0eb49a26125 (diff)
downloadinfinitytier-dda376c9eb0800b824f423db30399d93e89cb162.tar.gz
infinitytier-dda376c9eb0800b824f423db30399d93e89cb162.zip
Nuke some abandoned code.
Diffstat (limited to 'node/SelfAwareness.hpp')
-rw-r--r--node/SelfAwareness.hpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/node/SelfAwareness.hpp b/node/SelfAwareness.hpp
index 1b160a3f..4eede592 100644
--- a/node/SelfAwareness.hpp
+++ b/node/SelfAwareness.hpp
@@ -66,21 +66,6 @@ public:
*/
void clean(uint64_t now);
- /**
- * @return List of external surface addresses as reported by peers
- */
- inline std::vector< std::pair<Address,InetAddress> > getReportedSurface() const
- {
- std::vector< std::pair<Address,InetAddress> > r;
- {
- Mutex::Lock _l(_phy_m);
- r.reserve(_phy.size());
- for(std::map< PhySurfaceKey,PhySurfaceEntry >::const_iterator p(_phy.begin());p!=_phy.end();++p)
- r.push_back(std::pair<Address,InetAddress>(p->first.reporter,p->second.mySurface));
- }
- return r;
- }
-
private:
struct PhySurfaceKey
{