Bitcoin Forum
May 30, 2024, 09:59:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Re: [ Core 23.0 Regtest ] Debug logs spammed with "Selected address from new" on: May 13, 2022, 04:44:06 AM
I have two regtest nodes, one connected to the other through the "addnode" RPC command. Both nodes are using Tor.
-snip-
unless I add "connect=0" to the config.

I didn't have this experience with Core version 22.0. Is this normal behavior for the node, or is this a bug?
Have you enabled debugging?
I have tested it and it shows in v23.0 with either -debug or -debug=addrman active but it's not showing in v22.0.
So it might be something new that's added in the latest version.

Also, by adding "connect=0", you have disabled "automatic connections" so it might have something to do with it.

Thank you for taking the time to test that! I do have "debug=addrman" enabled. The output is not interfering with anything, but it does seem quite spammy so I was wondering if maybe it was a bug.
2  Bitcoin / Bitcoin Technical Support / Re: [ Core 23.0 Regtest ] Debug logs spammed with "Selected address from new" on: May 10, 2022, 11:47:13 PM
That is misconfiguration if you use only the onion address on "addnode" it should be the Ip address: Port
Your Bitcoin core is trying to connect on that set up it's rejected which is why it keeps spamming repeatedly.

Sample of IP address: Port

Code:
192.168.1.1:8777

Can you read this maybe this guide below will help you to set up your config?

- https://github.com/bitcoin/bitcoin/blob/master/doc/tor.md

Thank you for the reply. I am surprised that it is a misconfiguration, because the status of the peer is connected and I receive transactions / blocks between the nodes.

Is it possible for it to be misconfigured yet the nodes still connect over tor?

I will try adding the port designation. I did not add it previously because bitcoind is a little weird with regards to how it handles incoming tor connections (moving between 18445-18444 on regtest).

Edit: When I add the port designation, the peer connection no longer works.
3  Bitcoin / Bitcoin Technical Support / [ Core 23.0 Regtest ] Debug logs spammed with "Selected address from new" on: May 10, 2022, 07:30:08 PM
Hello. Not sure if this is a bug or standard procedure.

I have two regtest nodes, one connected to the other through the "addnode" RPC command. Both nodes are using Tor.

When reading the debug logs for the connecting node, it will spam repeatedly this line, about twice a second:

"{date string} Selected {onion address} from new" I have redacted the date and onion address.

The debug logs for the node being connected to will show something similar, unless I add "connect=0" to the config.

I didn't have this experience with Core version 22.0. Is this normal behavior for the node, or is this a bug?

Thank you for reading!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!