MarcoFalke
ccccc591a4
[qa] Add option --portseed to test_framework
9 years ago
MarcoFalke
fafb33cdef
[qa] Stop other nodes, even when one fails to stop
9 years ago
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
9 years ago
MarcoFalke
fa389d4edc
[qa] Switch to py3
9 years ago
MarcoFalke
fada064f67
[qa] test_framework: Properly print exceptions and assert empty dict
9 years ago
Joao Fonseca
fa942c755a
Move method to check matches within arrays on util.py
9 years ago
Wladimir J. van der Laan
6ef5e000a2
Merge #7853 : [qa] py2: Unfiddle strings into bytes explicitly
...
faa41ee
[qa] py2: Unfiddle strings into bytes explicitly (MarcoFalke)
9 years ago
Rusty Russell
85c807c9ea
getblockchaininfo: make bip9_softforks an object, not an array.
...
We can't change "softforks", but it seems far more logical to use tags
in an object rather than using an "id" field in an array.
For example, to get the csv status before, you need to iterate the
array to find the entry with 'id' field equal to "csv":
jq '.bip9_softforks | map(select(.id == "csv"))[] | .status'
Now:
jq '.bip9_softforks.csv.status'
There is no issue with fork names being incompatible with JSON tags,
since we're selecting them ourselves.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
9 years ago
MarcoFalke
faa41ee204
[qa] py2: Unfiddle strings into bytes explicitly
9 years ago
Suhas Daftuar
5cb1d8a207
Tests: move get_bip9_status to util.py
9 years ago
Wladimir J. van der Laan
018b60c5ea
test_framework: detect failure of bitcoind startup
...
Replace the `bitcoin-cli -rpcwait` after spawning bitcoind
with our own loop that detects when bitcoind exits prematurely.
And if one node fails to start, stop the others.
This prevents a hang in such a case (see #7463 ).
9 years ago
Suhas Daftuar
ec143391ef
Tests: make prioritise_transaction.py more robust
9 years ago
MarcoFalke
fa8cd46f39
[qa] Move create_tx() to util.py
9 years ago
MarcoFalke
fa8e2a6925
[qa] Change default block priority size to 0
9 years ago
Wladimir J. van der Laan
3b43cad9d0
Merge pull request #7164 : Do not download transactions during initial blockchain sync
...
39a525c
Do not download transactions during inital sync (ptschip)
9 years ago
Wladimir J. van der Laan
e4e77ee55d
Merge pull request #7194
...
135d6ec
Add RPC tests for getblockheader. (James O'Beirne)
4745636
Add RPC documentation for getblockheader[chainwork]. (James O'Beirne)
16d4fce
Add assert_is_hex_string and assert_is_hash_string to RPC test utils. (James O'Beirne)
9 years ago
MarcoFalke
7777994846
[qa] Fix pyton syntax in rpc tests
9 years ago
Wladimir J. van der Laan
605c17844e
Merge pull request #7205
...
fa71669
[devtools] Use git pretty-format for year parsing (MarcoFalke)
fa24439
Bump copyright headers to 2015 (MarcoFalke)
fa6ad85
[devtools] Rewrite fix-copyright-headers.py (MarcoFalke)
9 years ago
Wladimir J. van der Laan
49a735cba4
Merge pull request #7250
...
fa0a974
[qa] Move gen_return_txouts() to util.py (MarcoFalke)
9 years ago
MarcoFalke
fa0a9749eb
[qa] Move gen_return_txouts() to util.py
9 years ago
Wladimir J. van der Laan
97d83739db
Merge pull request #7153
...
7632cf6
[Tests] Refactor some shared functions (Jonas Schnelli)
110ff11
[Tests] Add mempool_limit.py test (Jonas Schnelli)
9 years ago
ptschip
39a525c21f
Do not download transactions during inital sync
9 years ago
James O'Beirne
16d4fce0b2
Add assert_is_hex_string and assert_is_hash_string to RPC test utils.
9 years ago
Jonas Schnelli
979698c171
[RPC-Tests] add option to run rpc test over QT clients
9 years ago
MarcoFalke
fa24439ff3
Bump copyright headers to 2015
9 years ago
Wladimir J. van der Laan
4c40ec0451
tests: Disable Tor interaction
...
This is unnecessary during the current tests (any test for Tor
interaction can explicitly enable it) and interferes with the proxy
test.
9 years ago
Jonas Schnelli
7632cf689a
[Tests] Refactor some shared functions
9 years ago
Wladimir J. van der Laan
9afbd96919
Merge pull request #7022
...
50947ef
Change default block priority size to 0 (Alex Morcos)
9 years ago
Suhas Daftuar
6e8b07f5f3
Add rounding helper function to util.py
9 years ago
Alex Morcos
50947ef23f
Change default block priority size to 0
...
Make RPC tests have a default block priority size of 50000 (the old default) so we can still use free transactions in RPC tests. When priority is eliminated, we will have to make a different change if we want to continue allowing free txs.
9 years ago
MarcoFalke
fa506c0c9b
[wallet] Add rpc tests to verify fee calculations
9 years ago
James O'Beirne
b5cbd396ca
Add basic coverage reporting for RPC tests
...
Thanks to @MarcoFalke @dexX7 @laanwj for review.
9 years ago
ptschip
060058e955
Enable python tests for Native Windows
...
1) Multiplatorm support for devnull
2) Fixed a bug in the handling of cache files
3) Deleted run-bitcoin-cli as no longer needed
9 years ago
Jonas Schnelli
7b7f258396
rpc-tests: remove python-bitcoinrpc directory
...
place authproxy.py at same level as other utility classes
10 years ago
Jonas Schnelli
64937fe51a
[QA] restructure rpc tests directory
...
* move non-test classes to subdir `test-framework`
10 years ago