Use Tor v3 .onion in qa tests
This commit is contained in:
@@ -102,11 +102,11 @@ class ProxyTest(BitcoinTestFramework):
|
||||
|
||||
if test_onion:
|
||||
# Test: outgoing onion connection through node
|
||||
node.addnode("hushostk4e4re.onion:18030", "onetry")
|
||||
node.addnode("hushv3h6mbxd2pptj42reko3jcexcgnz5zvp3mqcu6myto3jhhn4yzyd.onion:18030", "onetry")
|
||||
cmd = proxies[2].queue.get()
|
||||
assert(isinstance(cmd, Socks5Command))
|
||||
assert_equal(cmd.atyp, AddressType.DOMAINNAME)
|
||||
assert_equal(cmd.addr, "hushostk4e4re.onion")
|
||||
assert_equal(cmd.addr, "hushv3h6mbxd2pptj42reko3jcexcgnz5zvp3mqcu6myto3jhhn4yzyd.onion")
|
||||
assert_equal(cmd.port, 18030)
|
||||
if not auth:
|
||||
assert_equal(cmd.username, None)
|
||||
|
||||
Reference in New Issue
Block a user