From 68209a7b5c0326e14508d9cf749771605bd6ffe7 Mon Sep 17 00:00:00 2001 From: Martin Zumsande Date: Thu, 1 Sep 2022 18:26:55 -0400 Subject: 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) --- src/net.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net.h') 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; -- cgit v1.2.3