diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2020-10-21 11:35:19 +0200 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2021-03-01 13:22:11 +0100 |
commit | cff65c4a270887ec171293409ab84f5d0d0be7fc (patch) | |
tree | 3b0f9abf229eb94d5fd7e17c004e779d77ba756e /src/util | |
parent | f6c267db3be2d7077fd2bdbd34860eba838dea99 (diff) | |
download | bitcoin-cff65c4a270887ec171293409ab84f5d0d0be7fc.tar.xz |
net: extend CNetAddr::SetSpecial() to support I2P
Recognize also I2P addresses in the form `base32hashofpublickey.b32.i2p`
from `CNetAddr::SetSpecial()`.
This makes `Lookup()` support them, which in turn makes it possible to
manually connect to an I2P node by using
`-proxy=i2p_socks5_proxy:port -addnode=i2p_address.b32.i2p:port`
Co-authored-by: Lucas Ontivero <lucasontivero@gmail.com>
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions