John Newbery
1581ecbc33
Use configparser in rpc-tests.py
...
Remove the use of wildcard imports in rpc-tests.py and replace with
configparser.
2017-01-31 18:03:14 -08:00
Wladimir J. van der Laan
727a798360
Merge #9516 : Bug-fix: listsinceblock: use fork point as reference for blocks in reorg'd chains
...
7ba0a00
Testing: listsinceblock should not use orphan block height. (Karl-Johan Alm)
ee5c1ce
Bug-fix: listsinceblock: use closest common ancestor when a block hash was provided for a chain that was not the main chain. (Karl-Johan Alm)
2017-01-23 16:16:37 +01:00
mrbandrews
cc0243ad32
[RPC] bumpfee
...
This command allows a user to increase the fee on a wallet transaction T, creating a "bumper" transaction B.
T must signal that it is BIP-125 replaceable.
T's change output is decremented to pay the additional fee. (B will not add inputs to T.)
T cannot have any descendant transactions.
Once B bumps T, neither T nor B's outputs can be spent until either T or (more likely) B is mined.
Includes code by @jonasschnelli and @ryanofsky
2017-01-19 11:29:29 -05:00
Karl-Johan Alm
7ba0a00aae
Testing: listsinceblock should not use orphan block height.
2017-01-18 12:31:20 +09:00
Wladimir J. van der Laan
2ca9dcd5b9
test: Add test for RPC named arguments
...
Add RPC testcase for RPC named arguments.
2017-01-05 11:30:20 +01:00
Russell Yanofsky
d8c0b9f525
[qa] Add test for rescan feature of wallet key import RPCs
...
Covers importaddress, importpubkey, importprivkey, and importmulti RPCs.
2016-12-12 10:18:11 -05:00
Alex Morcos
e2184ccc1d
Reorder RPC tests for running time
2016-12-03 15:46:33 -05:00
MarcoFalke
fab0f07dec
[qa] rpc-tests: Apply random offset to portseed
...
This helps to skip over resources, which are blocked by regtest bitcoind
zombie nodes
2016-11-08 10:50:31 +01:00
Pedro Branco
cb08fdbf78
Add importmulti rpc call
2016-10-19 15:17:13 +01:00
Wladimir J. van der Laan
7f71a3c591
Merge #6996 : Add preciousblock RPC
...
5805ac8
Add preciousblock tests (Pieter Wuille)
5127c4f
Add preciousblock RPC (Pieter Wuille)
2016-10-18 21:36:38 +02:00
MarcoFalke
e31a43c725
Merge #8789 : [qa] pull-tester: Only print output when failed
...
fa427ce
[qa] pull-tester: Only print output when failed (MarcoFalke)
2016-09-24 15:35:35 +02:00
MarcoFalke
fa427cef13
[qa] pull-tester: Only print output when failed
2016-09-22 12:39:39 +02:00
Wladimir J. van der Laan
26b370a937
Merge #8636 : Implement NULLDUMMY softfork (BIP147)
...
482f852
Implement NULLDUMMY softfork (Johnson Lau)
2016-09-22 10:58:00 +02:00
MarcoFalke
dddd04f979
[qa] Refactor RPCTestHandler to prevent TimeoutExpired
2016-09-17 11:49:43 +02:00
Johnson Lau
482f852da6
Implement NULLDUMMY softfork
2016-08-31 19:38:23 +08:00
Wladimir J. van der Laan
a5bb6387f7
Merge #8607 : [doc] Fix doxygen off-by-one comments, fix typos
...
fafe7b3
contrib: Make fix-copyright-headers.py more portable (MarcoFalke)
fa27c0a
[doc] Fix typos in comments, doxygen: Fix comment syntax (MarcoFalke)
fabfd5d
[qa] pull-tester: Don't mute zmq ImportError (MarcoFalke)
67a5502
init: Fix typo in help message for -whitelistforcerelay (Wladimir J. van der Laan)
2016-08-28 16:06:03 +02:00
Pieter Wuille
5805ac836c
Add preciousblock tests
...
Rebased, improved and extended by Luke-Jr.
2016-08-26 23:06:09 +02:00
Wladimir J. van der Laan
21857d2bf7
Merge #8450 : [Test] Replace rpc_wallet_tests.cpp with python RPC unit tests
...
9578333
Remove rpc_wallet_tests.cpp (Patrick Strateman)
25400c4
Account wallet feature RPC tests. (Patrick Strateman)
2016-08-24 12:10:42 +02:00
MarcoFalke
fabfd5dae2
[qa] pull-tester: Don't mute zmq ImportError
2016-08-22 10:51:40 +02:00
MarcoFalke
faaec1377c
[qa] Remove unused code
2016-08-19 22:43:05 +02:00
Wladimir J. van der Laan
740cff5808
Merge #8482 : [qa] Use single cache dir for chains
...
fad8cf6
[qa] Use single cache dir for chains (MarcoFalke)
fa2d68f
[qa] Adjust timeouts for micro-optimization of run time (MarcoFalke)
fae596f
[qa] Sort scripts by time for pull_tester and don't overwrite setup_chain (MarcoFalke)
2016-08-17 12:23:45 +02:00
Patrick Strateman
25400c4de1
Account wallet feature RPC tests.
2016-08-07 19:30:16 -07:00
MarcoFalke
fad8cf63e5
[qa] Use single cache dir for chains
2016-08-07 23:13:22 +02:00
Wladimir J. van der Laan
63c03dd41c
Merge #8418 : Add tests for compact blocks
...
45c7ddd
Add p2p test for BIP 152 (compact blocks) (Suhas Daftuar)
9a22a6c
Add support for compactblocks to mininode (Suhas Daftuar)
a8689fd
Tests: refactor compact size serialization in mininode (Suhas Daftuar)
9c8593d
Implement SipHash in Python (Pieter Wuille)
56c87e9
Allow changing BIP9 parameters on regtest (Suhas Daftuar)
2016-08-02 08:26:57 +02:00
MarcoFalke
cf2cecb187
Merge #8400 : [qa]: enable rpcbind_test
...
9bbb414
[qa]: enable rpcbind_test (whythat)
0ff4375
[qa]: add parsing for '<host>:<port>' argument form to rpc_url() (whythat)
2016-07-31 17:22:30 +02:00
Suhas Daftuar
45c7ddd109
Add p2p test for BIP 152 (compact blocks)
2016-07-29 09:41:58 -04:00
Jonas Schnelli
54af51d98d
[QA] Add walletdump RPC test (including HD- & encryption-tests)
2016-07-28 15:05:35 +02:00
whythat
9bbb414b80
[qa]: enable rpcbind_test
2016-07-25 01:31:05 +03:00
MarcoFalke
fae596f0e4
[qa] Sort scripts by time for pull_tester and don't overwrite setup_chain
2016-07-15 20:18:11 +02:00
MarcoFalke
fade505e8b
[qa] Add wallet-hd test
2016-07-07 22:19:35 +02:00
Suhas Daftuar
330b0f31ee
[qa] p2p segwit tests
...
mininode now supports witness transactions/blocks, blocktools
has a helper for adding witness commitments to blocks, and script
has a function to calculate hashes for signature under sigversion
1, used by segwit.
Py3 conversion by Marco Falke
Test to make sure upgraded nodes don't ask for non-wit blocks by
Gregory Sanders.
2016-06-22 15:43:02 +02:00
Alex Morcos
4f7ff00497
[qa] Add rpc test for segwit
...
Amended by Pieter Wuille to use multisig 1-of-1 for P2WSH tests, and BIP9
based switchover logic.
Fixes and py3 conversion by Marco Falke.
2016-06-22 15:43:01 +02:00
MarcoFalke
fa58f94ff7
[qa] pull-tester: Start longest test first
2016-06-20 11:19:34 +02:00
MarcoFalke
fa3b379252
[qa] pull-tester: Fix assertion and check for run_parallel
2016-06-17 15:20:43 +02:00
Cory Fields
ab95d5df3d
build: a few ugly hacks to get the rpc tests working out-of-tree
...
- Link pull-tester/rpc-tests.py to the build dir
- Add the build-dir's config to the python path so that tests can find it
- The tests themselves are in srcdir
- Clean up __pycache__ in 'make clean'
2016-06-01 20:31:55 -04:00
MarcoFalke
ccccc591a4
[qa] Add option --portseed to test_framework
2016-05-09 19:56:24 +02:00
MarcoFalke
fa494dec79
[qa] pull-tester: Run rpc test in parallel
2016-05-09 19:56:16 +02:00
MarcoFalke
4e14afe42f
Merge #7971 : [qa] Refactor test_framework and pull tester
...
fad3366
[qa] pull-tester: Adjust comment (MarcoFalke)
fafb33c
[qa] Stop other nodes, even when one fails to stop (MarcoFalke)
2222dae
[qa] Update README.md (MarcoFalke)
fabbf6b
[qa] Refactor test_framework and pull tester (MarcoFalke)
2016-05-09 17:06:44 +02:00
Wladimir J. van der Laan
65fee8e699
test: Revert fatal-ness of missing python-zmq
...
It looks like travis is using the `travis.yml` from the branch, but runs
the test script from the branch merged into master. This causes
pull requests created before the QA tests python 3 transition to fail.
This temporarily reverts fa05e22e91
(#7851 ). It can be restored when this is no longer an issue.
2016-05-09 12:12:09 +02:00
MarcoFalke
fad336648c
[qa] pull-tester: Adjust comment
2016-05-08 14:09:14 +02:00
MarcoFalke
fabbf6bd62
[qa] Refactor test_framework and pull tester
...
* log to stdout
* increase range for p2p and rpc ports
* UPPERCASE_CONSTANTS
* Stop nodes on CTRL+C
2016-05-06 12:43:34 +02:00
MarcoFalke
fa389d4edc
[qa] Switch to py3
2016-05-05 15:43:37 +02:00
Andrew Chow
7db0ecb90c
Test for signing messages
...
New rpc test for signing and verifying messages.
2016-04-28 14:58:14 -04:00
MarcoFalke
fae1f4ebfe
[qa] rpc-tests: Fix link in comment and label error msg
2016-04-18 14:52:28 +02:00
MarcoFalke
faa4f22342
[qa] pull-tester: Exit early when no tests are run
2016-04-09 23:08:29 +02:00
MarcoFalke
fa05e22e91
[qa] pull-tester: Don't mute zmq ImportError
2016-04-09 21:21:56 +02:00
MarcoFalke
fa524d9ddb
[qa] Use python2/3 syntax
2016-03-31 18:35:17 +02:00
Wladimir J. van der Laan
e8a8f3d4b2
Merge #7648 : BIP9 versionbits softfork for BIP68, BIP112 and BIP113
...
71527a0
Test of BIP9 fork activation of mtp, csv, sequence_lock (NicolasDorier)
19d73d5
Add RPC test for BIP 68/112/113 soft fork. (Alex Morcos)
12c89c9
Policy: allow transaction version 2 relay policy. (BtcDrak)
02c2435
Soft fork logic for BIP68 (BtcDrak)
478fba6
Soft fork logic for BIP113 (BtcDrak)
65751a3
Add CHECKSEQUENCEVERIFY softfork through BIP9 (Pieter Wuille)
2016-03-30 18:59:39 +02:00
MarcoFalke
faa9f01461
[qa] Don't run pruning.py twice
2016-03-29 16:49:45 +02:00
instagibbs
7eb702954e
Add importprunedfunds rpc call
2016-03-23 10:40:38 -04:00