aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/test_framework
AgeCommit message (Collapse)Author
2016-09-13Merge #8652: [qa]: remove root test directory for RPC testsMarcoFalke
c62cc4e fix path for bak file (whythat) 438e94d remove root test directory for RPC tests (whythat)
2016-09-09Merge #8667: Fix SIGHASH_SINGLE bug in test_framework SignatureHashMarcoFalke
2f2548d Fix SIGHASH_SINGLE bug in test_framework SignatureHash (Johnson Lau)
2016-09-07add waitfornewblock/waitforblock/waitforblockheight rpcs and use them for testsCory Fields
waitfornewblock waits until a new block is received, or the timeout expires, then returns the current block height/hash. waitforblock waits for a specific blockhash, or until the timeout expires, then returns the current block height/hash. If the target blockhash is the current tip, it will return immediately. waitforblockheight waits until the tip has reached a certain height or higher, then returns the current height and hash. waitforblockheight is used to avoid polling in the rpc tests.
2016-09-06Fix SIGHASH_SINGLE bug in test_framework SignatureHashJohnson Lau
The value for "other" inputs should be -1 (0xffffffffffffffff) instead of 0
2016-09-05remove root test directory for RPC testswhythat
2016-08-18Revert "[qa] Adjust timeouts for micro-optimization of run time"Wladimir J. van der Laan
This reverts commit fa2d68f79c459b505652728c3d8da60679f98ae3. Temporary revert - see discussion in #8532.
2016-08-17Merge #8482: [qa] Use single cache dir for chainsWladimir J. van der Laan
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-07[qa] Use single cache dir for chainsMarcoFalke
2016-08-07[qa] Adjust timeouts for micro-optimization of run timeMarcoFalke
2016-08-02Merge #8418: Add tests for compact blocksWladimir J. van der Laan
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-07-29Add support for compactblocks to mininodeSuhas Daftuar
2016-07-29Tests: refactor compact size serialization in mininodeSuhas Daftuar
2016-07-29Implement SipHash in PythonPieter Wuille
2016-07-25[qa]: add parsing for '<host>:<port>' argument form to rpc_url()whythat
2016-07-14Merge #8311: Rename CTxinWitness -> CTxInWitnessWladimir J. van der Laan
36ae37a Rename CTxinWitness -> CTxInWitness (Bob McElrath)
2016-07-08Merge #7540: Rename OP_NOP3 to OP_CHECKSEQUENCEVERIFYWladimir J. van der Laan
18c975c Rename NOP3 to CHECSEQUENCEVERIFY in rpc tests (BtcDrak) 14d0130 Rename OP_NOP3 to OP_CHECKSEQUENCEVERIFY (BtcDrak)
2016-07-07[qa] test_framework: Add wrapper for stop_nodeMarcoFalke
2016-07-06Rename CTxinWitness -> CTxInWitnessBob McElrath
2016-06-28Rename OP_NOP3 to OP_CHECKSEQUENCEVERIFYBtcDrak
2016-06-22[qa] p2p segwit testsSuhas Daftuar
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-20Merge #8066: [qa] test_framework: Use different rpc_auth_pair for each nodeWladimir J. van der Laan
fad1845 [qa] test_framework: Use different rpc_auth_pair for each node (MarcoFalke)
2016-06-17[qa] mininode: fail on send_message instead of silent returnMarcoFalke
2016-06-16Merge #7892: Add full UTF-8 support to RPCWladimir J. van der Laan
7982fce doc: Mention full UTF-8 support in release notes (Wladimir J. van der Laan) 6bbb4ef test: test utf-8 for labels in wallet (Wladimir J. van der Laan) a406fcb test: add ensure_ascii setting to AuthServiceProxy (Wladimir J. van der Laan) 60ab9b2 Squashed 'src/univalue/' changes from 2740c4f..f32df99 (Wladimir J. van der Laan)
2016-06-13[qa] util: Move check_fee_amount out of wallet.pyMarcoFalke
2016-06-13Merge #8141: Continuing port of java comparison toolWladimir J. van der Laan
ff2dcf2 Tests: Edit bloated varint test and add option for 'barely expensive' tests (mrbandrews) 12c5a16 Catch exceptions from non-canonical encoding and print only to log (mrbandrews) 291f8aa Continuing port of java comptool (mrbandrews) 8c9e681 Tests: Rework blockstore to avoid re-serialization. (mrbandrews)
2016-06-10test: add ensure_ascii setting to AuthServiceProxyWladimir J. van der Laan
Add a setting ensure_ascii to AuthServiceProxy. This setting, defaulting to True (backwards compatible), is passed through to json.dumps. If set to False, non-ASCII characters >0x80 are not escaped. This is useful for testing server input processing, as well as slightly more bandwidth friendly in case of heavy unicode usage.
2016-06-02Continuing port of java comptoolmrbandrews
2016-06-02Fix interrupted HTTP RPC connection workaround for Python 3.5+Pieter Wuille
2016-05-31Tests: Rework blockstore to avoid re-serialization.mrbandrews
2016-05-29Merge #8104: Tests: add timeout to sync_blocks() and sync_mempools()MarcoFalke
e871f83 Tests: add timeout to sync_blocks() and sync_mempools() (Suhas Daftuar)
2016-05-27Merge #8098: [qa] test_framework: Append portseed to tmpdirMarcoFalke
fa57b0c [qa] test_framework: Append portseed to tmpdir (MarcoFalke)
2016-05-26Tests: add timeout to sync_blocks() and sync_mempools()Suhas Daftuar
Previously these functions would infinitely loop if sync failed; now they have a default timeout of 60 seconds, after which an AssertionError is raised. sync_blocks() has also been improved and now compares the tip hash of each node, rather than just using block count.
2016-05-25Test framework: only cleanup on successful test runsSuhas Daftuar
2016-05-20Merge #8047: [qa] test_framework: Set wait-timeout for bitcoind procsMarcoFalke
fab5233 [qa] test_framework: Set wait-timeout for bitcoind procs (MarcoFalke)
2016-05-20[qa] test_framework: Append portseed to tmpdirMarcoFalke
This makes it possible to specify a tmpdir while running tests in parallel
2016-05-17[qa] test_framework: Use different rpc_auth_pair for each nodeMarcoFalke
2016-05-15[qa] Remove hardcoded "4 nodes" from test_frameworkMarcoFalke
2016-05-12[qa] test_framework: Set wait-timeout for bitcoind procsMarcoFalke
2016-05-09[qa] Add option --portseed to test_frameworkMarcoFalke
2016-05-09Merge #7971: [qa] Refactor test_framework and pull testerMarcoFalke
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-09Autofind rpc tests --srcdirJonas Schnelli
2016-05-06[qa] Stop other nodes, even when one fails to stopMarcoFalke
2016-05-06[qa] Refactor test_framework and pull testerMarcoFalke
* log to stdout * increase range for p2p and rpc ports * UPPERCASE_CONSTANTS * Stop nodes on CTRL+C
2016-05-05[qa] Switch to py3MarcoFalke
2016-04-26[qa] test_framework: Properly print exceptions and assert empty dictMarcoFalke
2016-04-23[qa] mininode: Unfiddle strings into bytesMarcoFalke
2016-04-20Tests: Fix deserialization of reject messagesSuhas Daftuar
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.
2016-04-19Move method to check matches within arrays on util.pyJoao Fonseca
2016-04-18Merge #7833: tests: Check Content-Type header returned from RPC serverWladimir J. van der Laan
5078ca4 tests: Check Content-Type header returned from RPC server (Wladimir J. van der Laan)
2016-04-14Merge #7853: [qa] py2: Unfiddle strings into bytes explicitlyWladimir J. van der Laan
faa41ee [qa] py2: Unfiddle strings into bytes explicitly (MarcoFalke)