Move GetLocal() declaration from header to implementation
This commit is contained in:
1 parent
11426f6557
commit
5ba73cd0ee
2 files changed
+1
-2
No files matched your search
+1
-1
@@ -146,7 +146,7 @@ uint16_t GetListenPort()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// find 'best' local address for a particular peer
|
// find 'best' local address for a particular peer
|
||||||
bool GetLocal(CService& addr, const CNode& peer)
|
[[nodiscard]] static bool GetLocal(CService& addr, const CNode& peer)
|
||||||
{
|
{
|
||||||
if (!fListen)
|
if (!fListen)
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -163,7 +163,6 @@ bool AddLocal(const CNetAddr& addr, int nScore = LOCAL_NONE);
|
|||||||
void 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 CNode& peer);
|
|
||||||
CService GetLocalAddress(const CNode& peer);
|
CService GetLocalAddress(const CNode& peer);
|
||||||
CService MaybeFlipIPv6toCJDNS(const CService& service);
|
CService MaybeFlipIPv6toCJDNS(const CService& service);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user