mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Merge pull request #4605
aa82795Add detailed network info to getnetworkinfo RPC (Wladimir J. van der Laan)075cf49Add GetNetworkName function (Wladimir J. van der Laan)c91a947Add IsReachable(net) function (Wladimir J. van der Laan)60dc8e4Allow -onlynet=onion to be used (Wladimir J. van der Laan)
This commit is contained in:
@@ -106,6 +106,7 @@ bool AddLocal(const CNetAddr& addr, int nScore = LOCAL_NONE);
|
||||
bool SeenLocal(const CService& addr);
|
||||
bool IsLocal(const CService& addr);
|
||||
bool GetLocal(CService &addr, const CNetAddr *paddrPeer = NULL);
|
||||
bool IsReachable(enum Network net);
|
||||
bool IsReachable(const CNetAddr &addr);
|
||||
void SetReachable(enum Network net, bool fFlag = true);
|
||||
CAddress GetLocalAddress(const CNetAddr *paddrPeer = NULL);
|
||||
|
||||
Reference in New Issue
Block a user