0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-04 13:55:23 -05:00

Move GetLocal() declaration from header to implementation

This commit is contained in:
Jon Atack 2023-07-13 12:14:16 -06:00
parent 11426f6557
commit 5ba73cd0ee
2 changed files with 1 additions and 2 deletions

View file

@ -146,7 +146,7 @@ uint16_t GetListenPort()
}
// 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)
return false;

View file

@ -163,7 +163,6 @@ bool AddLocal(const CNetAddr& addr, int nScore = LOCAL_NONE);
void RemoveLocal(const CService& addr);
bool SeenLocal(const CService& addr);
bool IsLocal(const CService& addr);
bool GetLocal(CService& addr, const CNode& peer);
CService GetLocalAddress(const CNode& peer);
CService MaybeFlipIPv6toCJDNS(const CService& service);