Changeset View
Changeset View
Standalone View
Standalone View
test/functional/multi_rpc.py
Show All 10 Lines | |||||
from test_framework.util import str_to_b64str, assert_equal | from test_framework.util import str_to_b64str, assert_equal | ||||
import os | import os | ||||
import http.client | import http.client | ||||
import urllib.parse | import urllib.parse | ||||
class HTTPBasicsTest (BitcoinTestFramework): | class HTTPBasicsTest (BitcoinTestFramework): | ||||
def set_test_params(self): | |||||
def __init__(self): | |||||
super().__init__() | |||||
self.setup_clean_chain = False | |||||
self.num_nodes = 2 | self.num_nodes = 2 | ||||
def setup_chain(self): | def setup_chain(self): | ||||
super().setup_chain() | super().setup_chain() | ||||
# Append rpcauth to bitcoin.conf before initialization | # Append rpcauth to bitcoin.conf before initialization | ||||
rpcauth = "rpcauth=rt:93648e835a54c573682c2eb19f882535$7681e9c5b74bdd85e78166031d2058e1069b3ed7ed967c93fc63abba06f31144" | rpcauth = "rpcauth=rt:93648e835a54c573682c2eb19f882535$7681e9c5b74bdd85e78166031d2058e1069b3ed7ed967c93fc63abba06f31144" | ||||
rpcauth2 = "rpcauth=rt2:f8607b1a88861fac29dfccf9b52ff9f$ff36a0c23c8c62b4846112e50fa888416e94c17bfd4c42f88fd8f55ec6a3137e" | rpcauth2 = "rpcauth=rt2:f8607b1a88861fac29dfccf9b52ff9f$ff36a0c23c8c62b4846112e50fa888416e94c17bfd4c42f88fd8f55ec6a3137e" | ||||
rpcuser = "rpcuser=rpcuser💻" | rpcuser = "rpcuser=rpcuser💻" | ||||
▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines |