Skip to content

Commit 29ff79c

Browse files
committed
net: relay CJDNS addresses even if we are not connected to CJDNS
This will help with propagation, so that multi-homed nodes can learn CJDNS addresses outside of the CJDNS network.
1 parent d96f8d3 commit 29ff79c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/netaddress.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ class CNetAddr
224224
*/
225225
bool IsRelayable() const
226226
{
227-
return IsIPv4() || IsIPv6() || IsTor() || IsI2P();
227+
return IsIPv4() || IsIPv6() || IsTor() || IsI2P() || IsCJDNS();
228228
}
229229

230230
/**

0 commit comments

Comments
 (0)