On December 23, 2022 1:39:13 AM CST, Vasil Dimov <v...@freebsd.org> wrote:
>On Thu, Dec 22, 2022 at 22:06:03 -0500, Peter Todd via bitcoin-dev wrote:
>[...]
>> a lack of a convenient source of onion addresses to try
>[...]
>
>$ bitcoin-cli getnodeaddresses 0 |jq -r 'map(select(.network == "onion")) | 
>.[].address'

It's not that simple. Because onion addresses cost close to nothing nothing to 
obtain it's dubious to just try some on a one time basis without checking to 
see if they actually have a longer term track record of actually existing. You 
could end up trying addresses of a one time Sybil attack.

The advantage of using the DNS seed records is those addresses are tested over 
long time frames, so you have a better chance of them representing real nodes. 
But my DNS seed doesn't happen to be setup to track nodes using Tor right now.
_______________________________________________
bitcoin-dev mailing list
bitcoin-dev@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev

Reply via email to