Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 3: [PATCH 03/68] feat(policy): preserve Roots relay and network controls on Core 30.3

test/functional/feature_proxy.py

Before: test/functional/feature_proxy.py · After: test/functional/feature_proxy.py

File metadata
index ba8a0212a6a0dd9cf166ab87d3b60486cb844aba..7c671259d0fcd17ae15c4d7beaae20d0d23f1f03 100755

Download original patch · Release notes

Diff rows 1–8 of 8. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

test/functional/feature_proxy.py CHANGED
@@ -437,7 +437,7 @@ class ProxyTest(BitcoinTestFramework):
437
437
 
438
438
  self.log.info("Test passing -onlynet=onion without -proxy or -onion but with -listenonion=1 is ok")
439
439
  self.start_node(1, extra_args=["-onlynet=onion", "-listenonion=1"])
440
- self.stop_node(1)
440
+ self.stop_node(1, expected_stderr=f'Warning: You are using a common listening port (127.0.0.1:{p2p_port(1)}) for both Tor and local connections. All connections to this port will be assumed to be Tor connections, and will be denied any whitelist permissions. If this is not your intent, setup a separate -bind=<addr>[:<port>]=onion configuration, or set -listenonion=0.')
441
441
 
442
442
  self.log.info("Test passing unknown network to -onlynet raises expected init error")
443
443
  self.nodes[1].extra_args = ["-onlynet=abc"]