aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/test_framework
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge #8047: [qa] test_framework: Set wait-timeout for bitcoind procsMarcoFalke2016-05-201-2/+4
|\ \ | | | | | | | | | fab5233 [qa] test_framework: Set wait-timeout for bitcoind procs (MarcoFalke)
| * | [qa] test_framework: Set wait-timeout for bitcoind procsMarcoFalke2016-05-121-2/+4
| |/
* / [qa] Remove hardcoded "4 nodes" from test_frameworkMarcoFalke2016-05-152-25/+33
|/
* [qa] Add option --portseed to test_frameworkMarcoFalke2016-05-092-8/+15
|
* Merge #7971: [qa] Refactor test_framework and pull testerMarcoFalke2016-05-092-7/+25
|\ | | | | | | | | | | | | 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)
| * [qa] Stop other nodes, even when one fails to stopMarcoFalke2016-05-061-2/+9
| |
| * [qa] Refactor test_framework and pull testerMarcoFalke2016-05-062-5/+16
| | | | | | | | | | | | | | * log to stdout * increase range for p2p and rpc ports * UPPERCASE_CONSTANTS * Stop nodes on CTRL+C
* | Autofind rpc tests --srcdirJonas Schnelli2016-05-091-1/+1
|/
* [qa] Switch to py3MarcoFalke2016-05-0511-86/+92
|
* [qa] test_framework: Properly print exceptions and assert empty dictMarcoFalke2016-04-262-2/+2
|
* [qa] mininode: Unfiddle strings into bytesMarcoFalke2016-04-231-4/+4
|
* Tests: Fix deserialization of reject messagesSuhas Daftuar2016-04-201-2/+5
| | | | | Assume that reject messages for blocks or transactions due to reason REJECT_MALFORMED will not include the hash of the block or tx being rejected.
* Move method to check matches within arrays on util.pyJoao Fonseca2016-04-191-0/+29
|
* Merge #7833: tests: Check Content-Type header returned from RPC serverWladimir J. van der Laan2016-04-181-0/+5
|\ | | | | | | 5078ca4 tests: Check Content-Type header returned from RPC server (Wladimir J. van der Laan)
| * tests: Check Content-Type header returned from RPC serverWladimir J. van der Laan2016-04-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Check the Content-Type header that is returned from the RPC server. Only if it is `application/json` the data is supposed to be parsed as JSON. This gives better reporting if the HTTP server happens to return an error that is not JSON-formatted, which is the case if it happens at a lower level before JSON-RPC kicks in. Before: `Unexpected exception caught during testing: No JSON object could be decoded` After: `JSONRPC error: non-JSON HTTP response with '403 Forbidden' from server`
* | Merge #7853: [qa] py2: Unfiddle strings into bytes explicitlyWladimir J. van der Laan2016-04-147-106/+120
|\ \ | | | | | | | | | faa41ee [qa] py2: Unfiddle strings into bytes explicitly (MarcoFalke)
| * | [qa] py2: Unfiddle strings into bytes explicitlyMarcoFalke2016-04-107-106/+120
| | |
* | | rpc-tests: handle KeyError nicely in test_framework.pyRusty Russell2016-04-131-0/+3
| | | | | | | | | | | | | | | | | | btcdrak wrote this for me. Signed-off-by: Rusty Russell <[email protected]>
* | | getblockchaininfo: make bip9_softforks an object, not an array.Rusty Russell2016-04-131-4/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* / Tests: move get_bip9_status to util.pySuhas Daftuar2016-04-071-0/+7
|/
* Merge #7778: [qa] Bug fixes and refactorWladimir J. van der Laan2016-04-037-75/+80
|\ | | | | | | | | | | | | 4444806 [qa] mininode: Combine struct.pack format strings (MarcoFalke) faaa3c9 [qa] mininode: Catch exceptions in got_data (MarcoFalke) fa2cea1 [qa] rpc-tests: Properly use integers, floats (MarcoFalke) fa524d9 [qa] Use python2/3 syntax (MarcoFalke)
| * [qa] mininode: Combine struct.pack format stringsMarcoFalke2016-04-021-15/+15
| |
| * [qa] mininode: Catch exceptions in got_dataMarcoFalke2016-04-011-36/+39
| |
| * [qa] rpc-tests: Properly use integers, floatsMarcoFalke2016-04-013-4/+4
| |
| * [qa] Use python2/3 syntaxMarcoFalke2016-03-316-36/+38
| |
* | Merge #7489: tests: Make proxy_test work on travis servers without IPv6Wladimir J. van der Laan2016-04-011-0/+15
|\ \ | |/ |/| | | 7539f1a tests: Make proxy_test work on travis servers without IPv6 (Wladimir J. van der Laan)
| * tests: Make proxy_test work on travis servers without IPv6Wladimir J. van der Laan2016-02-091-0/+15
| |
* | Merge #7648: BIP9 versionbits softfork for BIP68, BIP112 and BIP113Wladimir J. van der Laan2016-03-301-0/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | Test of BIP9 fork activation of mtp, csv, sequence_lockNicolasDorier2016-03-211-0/+4
| | |
* | | Merge #7744: test_framework: detect failure of bitcoind startupWladimir J. van der Laan2016-03-291-20/+40
|\ \ \ | | | | | | | | | | | | 018b60c test_framework: detect failure of bitcoind startup (Wladimir J. van der Laan)
| * | | test_framework: detect failure of bitcoind startupWladimir J. van der Laan2016-03-261-20/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | test_framework: Py3.4 compat: Specify timeout parameter by nameLuke Dashjr2016-03-281-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed in version 3.4: The strict parameter was removed. HTTP 0.9-style “Simple Responses” are not longer supported. (https://docs.python.org/3/library/http.client.html) Source: https://github.com/jgarzik/python-bitcoinrpc/commit/7ebeebb4f61917fe590d980cb4f9aefdce2c8f25
* | | | test_framework: Avoid infinite loop in encoding DecimalWladimir J. van der Laan2016-03-281-1/+1
|/ / / | | | | | | | | | | | | | | | | | | Avoid an infinite loop in encoding, by ensuring EncodeDecimal returns a string. round(Decimal) used to convert it to float, but it no longer does in python 3.x. Strings are supported since #6380, so just use that.
* | | Add p2p test for feefilterAlex Morcos2016-03-211-1/+20
| | |
* | | Create SingleNodeConnCB class for RPC testsAlex Morcos2016-03-212-14/+40
|/ /
* | Tests: make prioritise_transaction.py more robustSuhas Daftuar2016-03-161-0/+6
| |
* | [qa] mininode: Add and use CONSTsMarcoFalke2016-03-142-3/+5
| |
* | [qa] Move create_tx() to util.pyMarcoFalke2016-03-141-0/+8
| |
* | Merge #7184: Implement SequenceLocks functions for BIP 68Wladimir J. van der Laan2016-02-121-0/+8
|\ \ | |/ |/| | | | | | | | | b043c4b fix sdaftuar's nits again (Alex Morcos) a51c79b Bug fix to RPC test (Alex Morcos) da6ad5f Add RPC test exercising BIP68 (mempool only) (Suhas Daftuar) c6c2f0f Implement SequenceLocks functions (Alex Morcos)
| * Add RPC test exercising BIP68 (mempool only)Suhas Daftuar2016-02-101-0/+8
| |
* | [rpc-tests] Change solve() to use rehashmrbandrews2016-02-041-1/+1
| |
* | Merge #7300: [trivial] Add missing copyright headersWladimir J. van der Laan2016-01-273-2/+8
|\ \ | | | | | | | | | | | | | | | fabcee1 Remove copyright header from autogenerated chainparamsseeds.h (MarcoFalke) fa60d05 Add missing copyright headers (MarcoFalke) fa7e4c0 Bump copyright headers to 2014 (MarcoFalke)
| * | Add missing copyright headersMarcoFalke2016-01-053-2/+8
| | |
* | | [qa] Change default block priority size to 0MarcoFalke2016-01-201-2/+1
| | |
* | | Merge pull request #7164: Do not download transactions during initial ↵Wladimir J. van der Laan2016-01-191-4/+26
|\ \ \ | | | | | | | | | | | | | | | | | | | | blockchain sync 39a525c Do not download transactions during inital sync (ptschip)
| * | | Do not download transactions during inital syncptschip2015-12-151-4/+26
| | | |
* | | | Merge pull request #7194Wladimir J. van der Laan2016-01-181-0/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | Add assert_is_hex_string and assert_is_hash_string to RPC test utils.James O'Beirne2015-12-141-0/+17
| | | | |
* | | | | [qa] Fix pyton syntax in rpc testsMarcoFalke2016-01-133-11/+11
| | | | |
* | | | | Add race-condition debugging tool to mininodeSuhas Daftuar2016-01-071-0/+15
| |_|/ / |/| | |