Follow-up to #21560 that updated the fixed seeds infra for BIP155 addresses and then added Tor v3 ones:
-
Update contrib/generate-seeds.py to parse I2P addresses
-
Add a few I2P nodes to contrib/seeds/nodes_main.txt
-
Run generate-seeds.py and add the I2P seeds to chainparamsseeds.h
Reviewers, see contrib/seeds/README.md for more info and feel free to use the following CLI one-liner to check for and propose additional seeds for contrib/seeds/nodes_main.txt. You can also see how many I2P peers your node knows with cli -addrinfo.
0bitcoin-cli getnodeaddresses 0 | jq '.[] | (select(.address | contains(".b32.i2p"))) | .address' | sort
I verified the I2P addresses are correctly BIP155-serialized/deserialized by building with all seeds removed from chainparamsseeds.h except those added here, restarting with -datadir=newdir -dnsseed=0
and running rpc getnodeaddresses 0
that initially returns only the new I2P addresses.