Changeset View
Changeset View
Standalone View
Standalone View
src/net.h
Show First 20 Lines • Show All 488 Lines • ▼ Show 20 Lines | |||||
bool IsPeerAddrLocalGood(CNode *pnode); | bool IsPeerAddrLocalGood(CNode *pnode); | ||||
void AdvertiseLocal(CNode *pnode); | void AdvertiseLocal(CNode *pnode); | ||||
void SetLimited(enum Network net, bool fLimited = true); | void SetLimited(enum Network net, bool fLimited = true); | ||||
bool IsLimited(enum Network net); | bool IsLimited(enum Network net); | ||||
bool IsLimited(const CNetAddr &addr); | bool IsLimited(const CNetAddr &addr); | ||||
bool AddLocal(const CService &addr, int nScore = LOCAL_NONE); | bool AddLocal(const CService &addr, int nScore = LOCAL_NONE); | ||||
bool AddLocal(const CNetAddr &addr, int nScore = LOCAL_NONE); | bool AddLocal(const CNetAddr &addr, int nScore = LOCAL_NONE); | ||||
bool RemoveLocal(const CService &addr); | void RemoveLocal(const CService &addr); | ||||
bool SeenLocal(const CService &addr); | bool SeenLocal(const CService &addr); | ||||
bool IsLocal(const CService &addr); | bool IsLocal(const CService &addr); | ||||
bool GetLocal(CService &addr, const CNetAddr *paddrPeer = nullptr); | bool GetLocal(CService &addr, const CNetAddr *paddrPeer = nullptr); | ||||
bool IsReachable(enum Network net); | bool IsReachable(enum Network net); | ||||
bool IsReachable(const CNetAddr &addr); | bool IsReachable(const CNetAddr &addr); | ||||
CAddress GetLocalAddress(const CNetAddr *paddrPeer, | CAddress GetLocalAddress(const CNetAddr *paddrPeer, | ||||
ServiceFlags nLocalServices); | ServiceFlags nLocalServices); | ||||
▲ Show 20 Lines • Show All 350 Lines • Show Last 20 Lines |