If the networks i2p / cjdns are chosen via -onlynet
but the user forgot to provide -i2psam
/ -cjdnsreachable
, no outbound connections will be made - it would be nice to inform the user about that.
The solution proposed here mimics existing behavior for -onlynet=onion
and non-specified -onion
/-proxy
where we already abort with an InitError - if reviewers would prefer to just print a warning, please say so.
The second commit adds CJDNS support to the debug-only addpeeraddress
RPC allowing to add CJDNS addresses to addrman for testing and debug purposes. (if -cjdnsreachable=1
)
This is the result of an IRC discussion with vasild.