Changeset View
Changeset View
Standalone View
Standalone View
test/functional/rpc_whitelist.py
Show All 29 Lines | def rpccall(node, user, method): | ||||
resp = conn.getresponse() | resp = conn.getresponse() | ||||
conn.close() | conn.close() | ||||
return resp | return resp | ||||
class RPCWhitelistTest(BitcoinTestFramework): | class RPCWhitelistTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
self.supports_cli = False | |||||
def setup_chain(self): | def setup_chain(self): | ||||
super().setup_chain() | super().setup_chain() | ||||
# 0 => Username | # 0 => Username | ||||
# 1 => Password (Hashed) | # 1 => Password (Hashed) | ||||
# 2 => Permissions | # 2 => Permissions | ||||
# 3 => Password Plaintext | # 3 => Password Plaintext | ||||
self.users = [ | self.users = [ | ||||
▲ Show 20 Lines • Show All 131 Lines • Show Last 20 Lines |