|
|
|
@ -170,20 +170,6 @@ namespace llarp
|
|
|
|
|
return m_TransitHopCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// number of paths we rejected total
|
|
|
|
|
uint64_t
|
|
|
|
|
TransitPathsRejected() const
|
|
|
|
|
{
|
|
|
|
|
return m_HopsRejected;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// number of paths we accepted total
|
|
|
|
|
uint64_t
|
|
|
|
|
TransitPathsAccepted() const
|
|
|
|
|
{
|
|
|
|
|
return m_HopsRejected;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
AbstractRouter* m_Router;
|
|
|
|
|
SyncTransitMap_t m_TransitPaths;
|
|
|
|
@ -191,8 +177,6 @@ namespace llarp
|
|
|
|
|
bool m_AllowTransit;
|
|
|
|
|
util::DecayingHashSet< llarp::Addr > m_PathLimits;
|
|
|
|
|
uint64_t m_TransitHopCount = 0;
|
|
|
|
|
uint64_t m_HopsAccepted = 0;
|
|
|
|
|
uint64_t m_HopsRejected = 0;
|
|
|
|
|
};
|
|
|
|
|
} // namespace path
|
|
|
|
|
} // namespace llarp
|
|
|
|
|