Changeset View
Changeset View
Standalone View
Standalone View
test/functional/feature_proxy.py
Show All 32 Lines | |||||
from test_framework.netutil import test_ipv6_local | from test_framework.netutil import test_ipv6_local | ||||
from test_framework.socks5 import ( | from test_framework.socks5 import ( | ||||
AddressType, | AddressType, | ||||
Socks5Command, | Socks5Command, | ||||
Socks5Configuration, | Socks5Configuration, | ||||
Socks5Server, | Socks5Server, | ||||
) | ) | ||||
from test_framework.test_framework import BitcoinTestFramework | from test_framework.test_framework import BitcoinTestFramework | ||||
from test_framework.util import ( | from test_framework.util import PORT_MIN, PORT_RANGE, assert_equal | ||||
assert_equal, | |||||
PORT_MIN, | |||||
PORT_RANGE, | |||||
) | |||||
RANGE_BEGIN = PORT_MIN + 2 * PORT_RANGE # Start after p2p and rpc ports | RANGE_BEGIN = PORT_MIN + 2 * PORT_RANGE # Start after p2p and rpc ports | ||||
class ProxyTest(BitcoinTestFramework): | class ProxyTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 4 | self.num_nodes = 4 | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
▲ Show 20 Lines • Show All 178 Lines • Show Last 20 Lines |