aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorMartin Zumsande <mzumsande@gmail.com>2022-09-01 18:26:55 -0400
committerMartin Zumsande <mzumsande@gmail.com>2022-09-19 11:06:43 -0400
commit68209a7b5c0326e14508d9cf749771605bd6ffe7 (patch)
tree76bc34ff99c0dbdb3ba9b41c7bcd52f5a729acc2 /src/net.h
parenta8a9ed67cc447d204304ccfd844c45fd76486c6a (diff)
downloadbitcoin-68209a7b5c0326e14508d9cf749771605bd6ffe7.tar.xz
rpc: make addpeeraddress work with cjdns addresses
This allows us to add cjdns addresses to addrman for testing and debug purposes (if -cjdnsreachable is true)
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 66a228b3ec..044701a339 100644
--- a/src/net.h
+++ b/src/net.h
@@ -164,6 +164,7 @@ bool SeenLocal(const CService& addr);
bool IsLocal(const CService& addr);
bool GetLocal(CService &addr, const CNetAddr *paddrPeer = nullptr);
CService GetLocalAddress(const CNetAddr& addrPeer);
+CService MaybeFlipIPv6toCJDNS(const CService& service);
extern bool fDiscover;