Browse Source
Fix RPC tests that require wallet encryption
metaverse
Jack Grigg
8 years ago
No known key found for this signature in database
GPG Key ID: 6A6914DAFBEA00DA
2 changed files with
5 additions and
1 deletions
-
qa/rpc-tests/keypool.py
-
qa/rpc-tests/wallet_nullifiers.py
|
|
@ -98,7 +98,7 @@ def main(): |
|
|
|
os.makedirs(options.tmpdir) |
|
|
|
initialize_chain(options.tmpdir) |
|
|
|
|
|
|
|
nodes = start_nodes(1, options.tmpdir) |
|
|
|
nodes = start_nodes(1, options.tmpdir, extra_args=[['-developerencryptwallet']]) |
|
|
|
|
|
|
|
run_test(nodes, options.tmpdir) |
|
|
|
|
|
|
|
|
|
@ -10,6 +10,10 @@ from time import * |
|
|
|
|
|
|
|
class WalletNullifiersTest (BitcoinTestFramework): |
|
|
|
|
|
|
|
def setup_nodes(self): |
|
|
|
return start_nodes(4, self.options.tmpdir, |
|
|
|
extra_args=[['-developerencryptwallet']] * 4) |
|
|
|
|
|
|
|
def run_test (self): |
|
|
|
# add zaddr to node 0 |
|
|
|
myzaddr0 = self.nodes[0].z_getnewaddress() |
|
|
|