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
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
mdr0id
65a02f0984
Standard py2 to py3 updates
2020-02-09 08:14:21 -08:00
Daira Hopwood
7167dc9b2c
Test setting an expiry height of 0.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-09-26 20:43:52 +01: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
Daira Hopwood
db5dd18c16
Repair rpc-tests/signrawtransactions.py.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-04 23:04:19 +01:00
Jonas Schnelli
3e875b1bef
pull-tester/rpc-tests.sh: allow passing throug of arguments
2015-05-18 15:29:20 +02:00
dexX7
a71ab10f99
QA: add RPC tests for error reporting of "signrawtransaction"
...
Tests error reporting of transaction signing via RPC call "signrawtransaction".
Expected results:
Test 1: create and sign a valid raw transaction with one input:
- 1) The transaction has a complete set of signatures
- 2) No script verification error occurred
Test 2: create and sign a raw transaction with one valid, one invalid and one missing input script:
- 3) The transaction has no complete set of signatures
- 4) Two script verification errors occurred
- 5) Script verification errors have certain properties ("txid", "vout", "scriptSig", "sequence", "error")
- 6) The verification errors refer to the invalid (vin 1) and missing input (vin 2)
2015-05-05 10:09:39 +02:00