Skip to content

tor: respect non-onion -onlynet= for outgoing Tor connections

If

  • -onlynet= is given one or more times but none of them includes onion and
  • -proxy is not set and
  • -onion is not set,

then we should not be making outbound connections to the Tor network.

Fixes https://github.com/bitcoin/bitcoin/issues/22647

Merge request reports

Loading