|
|
@ -33,6 +33,7 @@ addnode connect to a CJDNS address
|
|
|
|
|
|
|
|
|
|
|
|
- Test passing invalid -proxy
|
|
|
|
- Test passing invalid -proxy
|
|
|
|
- Test passing invalid -onion
|
|
|
|
- Test passing invalid -onion
|
|
|
|
|
|
|
|
- Test passing invalid -i2psam
|
|
|
|
- Test passing -onlynet=onion without -proxy or -onion
|
|
|
|
- Test passing -onlynet=onion without -proxy or -onion
|
|
|
|
- Test passing -onlynet=onion with -onion=0 and with -noonion
|
|
|
|
- Test passing -onlynet=onion with -onion=0 and with -noonion
|
|
|
|
"""
|
|
|
|
"""
|
|
|
@ -321,6 +322,11 @@ class ProxyTest(BitcoinTestFramework):
|
|
|
|
msg = "Error: Invalid -onion address or hostname: 'xyz:abc'"
|
|
|
|
msg = "Error: Invalid -onion address or hostname: 'xyz:abc'"
|
|
|
|
self.nodes[1].assert_start_raises_init_error(expected_msg=msg)
|
|
|
|
self.nodes[1].assert_start_raises_init_error(expected_msg=msg)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
self.log.info("Test passing invalid -i2psam raises expected init error")
|
|
|
|
|
|
|
|
self.nodes[1].extra_args = ["-i2psam=def:xyz"]
|
|
|
|
|
|
|
|
msg = "Error: Invalid -i2psam address or hostname: 'def:xyz'"
|
|
|
|
|
|
|
|
self.nodes[1].assert_start_raises_init_error(expected_msg=msg)
|
|
|
|
|
|
|
|
|
|
|
|
msg = (
|
|
|
|
msg = (
|
|
|
|
"Error: Outbound connections restricted to Tor (-onlynet=onion) but "
|
|
|
|
"Error: Outbound connections restricted to Tor (-onlynet=onion) but "
|
|
|
|
"the proxy for reaching the Tor network is not provided (no -proxy= "
|
|
|
|
"the proxy for reaching the Tor network is not provided (no -proxy= "
|
|
|
|