diff options
author | brunoerg <brunoely.gc@gmail.com> | 2023-04-03 15:42:15 -0300 |
---|---|---|
committer | brunoerg <brunoely.gc@gmail.com> | 2023-04-03 15:42:15 -0300 |
commit | 9836c76ae048698e4f7dab21e3be37313e8392ae (patch) | |
tree | b672199c9d9dcd328367e289fe47100e67deee80 /src/net.h | |
parent | 6b9fedd2211851a70d2d82dea04420e9b87bfff9 (diff) |
net: add `GetMappedAS` in `CConnman`
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -851,6 +851,7 @@ public: bool AddConnection(const std::string& address, ConnectionType conn_type) EXCLUSIVE_LOCKS_REQUIRED(!m_unused_i2p_sessions_mutex); size_t GetNodeCount(ConnectionDirection) const; + uint32_t GetMappedAS(const CNetAddr& addr) const; void GetNodeStats(std::vector<CNodeStats>& vstats) const; bool DisconnectNode(const std::string& node); bool DisconnectNode(const CSubNet& subnet); |