Kris Nuttycombe
035a26b674
Replace setup_clean_chain with cache_behavior in rpc test init.
2022-07-18 09:00:34 -06:00
Kris Nuttycombe
28040f9ce4
scripted-diff: Add 2016-2022 copyright headers for files added/modified in 2016
...
-BEGIN VERIFY SCRIPT-
grep -l "Copyright" $(grep -L "The Zcash developers" $(git diff --name-only --diff-filter=ACM bitcoin-v0.11.2..94f427a211bb337200c29a1e19be0f5ad2f171b0 -- src/ test/ zcutil/ qa/)) | xargs -I {} sed -i"" -e "s#\(\(.*\)Copyright (c) .* The Bitcoin Core developers\)#\1\n\2Copyright (c) 2016-2022 The Zcash developers#" {}
-END VERIFY SCRIPT-
2022-05-11 17:23:09 -06:00
Jack Grigg
11e62fa997
wallet: Remove `CWallet::GetKeyFromPool`
...
Legacy transparent addresses for external use are now obtained directly
via `GenerateNewKey(true)`.
2022-02-10 21:26:29 +00:00
MarcoFalke
818d2de39b
[qa] Remove hardcoded "4 nodes" from test_framework
...
Zcash: Applied changes to our RPC tests.
2020-11-21 02:34:47 +00:00
MarcoFalke
15721275d0
[qa] Switch to py3
...
Zcash: We already did this, so most of the backported changes are
ancillary (license header updates and style), but a few are relevant.
2020-11-21 02:33:27 +00:00
MarcoFalke
db27db2e43
[qa] keypool: DRY: Use test framework
2020-11-21 02:33:27 +00:00
MarcoFalke
fa44509d6c
[qa] keypool: Fix white space to prepare transition to test framework
2020-11-21 02:33:27 +00:00
Daniel Kraft
95d1f887ca
Fix crash when mining with empty keypool.
...
Since the introduction of the ScriptForMining callback, the mining
functions (setgenerate and generate) crash with an assertion failure
(due to a NULL pointer script returned) if the keypool is empty. Fix
this by giving a proper error.
Zcash: Adapted to our MinerAddress type.
Co-authored-by: Jack Grigg <jack@electriccoin.co>
2020-11-20 03:30:37 +00:00
mdr0id
7300db81ed
Updating remaining python3 conventions
2020-02-10 13:15:26 -08:00
mdr0id
0123af354b
Update ignored testScriptsExt to Python3
2020-02-09 08:14:21 -08:00
Daira Hopwood
bc909a7a7f
Replace http with https: in links to the MIT license.
...
Also change MIT/X11 to just MIT, since no distinction was intended.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-07-18 15:26:01 +01:00
mdr0id
4ca5def62f
Make pythonisms consistent
2018-12-18 12:16:23 -08:00
Daira Hopwood
aff0bf7fa1
Clean up imports to be pyflakes-checkable. fixes #2450
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-06-22 18:09:04 +01:00
Jack Grigg
b8eb37757b
Require -experimentalmode for wallet encryption
2017-02-09 22:10:58 +00:00
Jack Grigg
2b499f4386
Fix RPC tests that require wallet encryption
2016-10-20 14:35:41 -05:00
Jonas Schnelli
7b7f258396
rpc-tests: remove python-bitcoinrpc directory
...
place authproxy.py at same level as other utility classes
2015-05-21 21:22:22 +02:00
Jonas Schnelli
64937fe51a
[QA] restructure rpc tests directory
...
* move non-test classes to subdir `test-framework`
2015-05-18 15:25:45 +02:00
Matt Corallo
e3f315a0a5
Fix python usage for arch's broken maintainers
2014-11-27 00:02:28 -05:00
Michael Ford
214091d584
Update license in pull-tester and rpc-tests
...
Add missing copyright/license header where necessary
2014-10-23 09:48:19 +08:00
Wladimir J. van der Laan
6c37f7fd78
`getrawchangeaddress` should fail when keypool exhausted
...
An user on IRC reported an issue where `getrawchangeaddress`
keeps returning a single address when the keypool is exhausted.
In my opinion this is strange behaviour.
- Change CReserveKey to fail when running out of keys in the keypool.
- Make `getrawchangeaddress` return RPC_WALLET_KEYPOOL_RAN_OUT when
unable to create an address.
- Add a Python RPC test for checking the keypool behaviour in combination
with encrypted wallets.
2014-07-11 15:24:29 +02:00