aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests
AgeCommit message (Collapse)Author
2017-01-12Merge #9222: Add 'subtractFeeFromAmount' option to 'fundrawtransaction'.Wladimir J. van der Laan
453bda6 Add 'subtractFeeFromOutputs' option to 'fundrawtransaction'. (Chris Moore)
2017-01-11Return height of last block pruned by pruneblockchain RPCRussell Yanofsky
Change suggested by Jonas Schnelli <dev@jonasschnelli.ch> in https://github.com/bitcoin/bitcoin/pull/7871#discussion_r95577623
2017-01-10fixup! Add pruneblockchain RPC to enable manual block file pruning.Russell Yanofsky
Extend pruneblockchain RPC to accept block timestamps as well as block indices.
2017-01-10Add pruneblockchain RPC to enable manual block file pruning.mrbandrews
2017-01-10Update RPC argument namesJohn Newbery
2017-01-05test: Add test for RPC named argumentsWladimir J. van der Laan
Add RPC testcase for RPC named arguments.
2017-01-05authproxy: Add support for RPC named argumentsWladimir J. van der Laan
2017-01-04add test for -walletrejectlongchainsAlex Morcos
2016-12-31Increment MIT Licence copyright header year on files modified in 2016isle2983
Edited via: $ contrib/devtools/copyright_header.py update .
2016-12-20Merge #9262: Prefer coins that have fewer ancestors, sanity check txn before ↵Wladimir J. van der Laan
ATMP cee1612 reduce number of lookups in TransactionWithinChainLimit (Gregory Sanders) af9bedb Test for fix of txn chaining in wallet (Gregory Sanders) 5882c09 CreateTransaction: Don't return success with too-many-ancestor txn (Gregory Sanders) 0b2294a SelectCoinsMinConf: Prefer coins with fewer ancestors (Gregory Sanders)
2016-12-19Merge #9352: Attempt reconstruction from all compact block announcementsWladimir J. van der Laan
813ede9 [qa] Update compactblocks test for multi-peer reconstruction (Suhas Daftuar) 7017298 Allow compactblock reconstruction when block is in flight (Suhas Daftuar)
2016-12-15Merge #9322: [qa] Don't set unknown rpcserialversionWladimir J. van der Laan
fa615d3 [qa] Don't set unknown rpcserialversion (MarcoFalke) 80d073c Complain when unknown rpcserialversion is specified (Pieter Wuille)
2016-12-15[qa] Update compactblocks test for multi-peer reconstructionSuhas Daftuar
2016-12-15Merge #9331: [qa] Add test for rescan feature of wallet key import RPCsWladimir J. van der Laan
d8c0b9f [qa] Add test for rescan feature of wallet key import RPCs (Russell Yanofsky)
2016-12-15Merge #7562: Bump transaction version default to 2Wladimir J. van der Laan
c5c92c4 Update python tests for default tx version=2 (BtcDrak) dab207e Preserve tx version=1 for certain tests (BtcDrak) c5d746a tiny test fix for mempool_tests (Alex Morcos) 1f0ca1a Bump default transaction version to 2 (BtcDrak)
2016-12-13Add 'subtractFeeFromOutputs' option to 'fundrawtransaction'.Chris Moore
2016-12-13Test for fix of txn chaining in walletGregory Sanders
2016-12-12[qa] Add test for rescan feature of wallet key import RPCsRussell Yanofsky
Covers importaddress, importpubkey, importprivkey, and importmulti RPCs.
2016-12-11[qa] Don't set unknown rpcserialversionMarcoFalke
2016-12-10Merge #9309: [qa] Wallet needs to stay unlocked for whole testMarcoFalke
9359f8a Wallet needs to stay unlocked for whole test (Alex Morcos)
2016-12-09Merge #9295: [Wallet] Bugfix: Fundrawtransaction: don't terminate when ↵Pieter Wuille
keypool is empty 1a6eacb [QA] add fundrawtransaction test on a locked wallet with empty keypool (Jonas Schnelli) c24a4f5 [Wallet] Bugfix: FRT: don't terminate when keypool is empty (Jonas Schnelli)
2016-12-09Wallet needs to stay unlocked for whole testAlex Morcos
2016-12-08Update python tests for default tx version=2BtcDrak
2016-12-08Merge #9276: Some minor testing cleanupsWladimir J. van der Laan
30b620c remove obsolete run-bitcoind-for-test.sh (Alex Morcos) 2a99522 remove relaypriority from rpc tests (Alex Morcos) e2184cc Reorder RPC tests for running time (Alex Morcos)
2016-12-07[QA] add fundrawtransaction test on a locked wallet with empty keypoolJonas Schnelli
2016-12-06Merge #9274: [qa] Use cached utxo set to fix performance regressionMarcoFalke
fab1af3 [qa] maxuploadtarget: Use cached utxo set (MarcoFalke) fa2ecc4 [qa] pruning: Use cached utxo set to run faster (MarcoFalke)
2016-12-05Add option to return non-segwit serialization via rpcGregory Sanders
2016-12-05[qa] maxuploadtarget: Use cached utxo setMarcoFalke
2016-12-04[qa] pruning: Use cached utxo set to run fasterMarcoFalke
2016-12-03remove relaypriority from rpc testsAlex Morcos
2016-12-02Merge #9221: [qa] Get rid of duplicate codeMarcoFalke
facbfa5 [qa] Get rid of duplicate code (MarcoFalke)
2016-12-02[qa] Get rid of duplicate codeMarcoFalke
2016-11-30[qa] Dump debug logs on travis failures.Suhas Daftuar
2016-11-28Fix some typosfsb4000
2016-11-25Merge #9189: Always add default_witness_commitment with GBT client supportWladimir J. van der Laan
95f4a03 [qa] Test getblocktemplate default_witness_commitment (Suhas Daftuar) ad04d1c Always add default_witness_commitment with GBT client support (Pieter Wuille)
2016-11-23Merge #9139: Change sync_blocks to pick smarter maxheight (on top of #9196)MarcoFalke
1126c85 [qa] Change sync_blocks to pick smarter maxheight (Russell Yanofsky)
2016-11-23Merge #9206: Make test constant consistent with consensus.hMarcoFalke
09dc406 Make test constant consistent with consensus.h (BtcDrak)
2016-11-23Merge #9025: getrawtransaction should take a bool for verboseWladimir J. van der Laan
240189b add testcases for getrawtransaction (John Newbery) ce2bb23 getrawtransaction should take a bool for verbose (jnewbery)
2016-11-22add testcases for getrawtransactionJohn Newbery
2016-11-21[qa] Test getblocktemplate default_witness_commitmentSuhas Daftuar
2016-11-21Make test constant consistent with consensus.hBtcDrak
2016-11-21Merge #8872: Remove block-request logic from INV message processingWladimir J. van der Laan
037159c Remove block-request logic from INV message processing (Matt Corallo) 3451203 [qa] Respond to getheaders and do not assume a getdata on inv (Matt Corallo) d768f15 [qa] Make comptool push blocks instead of relying on inv-fetch (mrbandrews)
2016-11-19Merge #9159: [qa] Wait for specific block announcement in p2p-compactblocksMarcoFalke
dfa44d1 [qa] Wait for specific block announcement in p2p-compactblocks (Russell Yanofsky)
2016-11-16Merge #9168: [qa] add assert_raises_message to check specific error messageMarcoFalke
307acdd [qa] add assert_raises_message to check specific error message (mrbandrews)
2016-11-16Merge #9151: [qa] proxy_test: Calculate hardcoded port numbersWladimir J. van der Laan
fa80ef8 [qa] proxy_test: Calculate hardcoded port numbers instead (MarcoFalke)
2016-11-15[qa] add assert_raises_message to check specific error messagemrbandrews
2016-11-14[qa] Wait for specific block announcement in p2p-compactblocksRussell Yanofsky
Change check_announcement_of_new_block() to wait specifically for the announcement of the newly created block, instead of waiting for any announcement at all. A difficult to reproduce failure in check_announcement_of_new_block() that happened in a travis build (https://travis-ci.org/bitcoin/bitcoin/jobs/175198367) might have happened because an older announcement was mistaken for the expected one. The error looked like: Assertion failed: Failed File ".../bitcoin/qa/rpc-tests/test_framework/test_framework.py", line 145, in main self.run_test() File ".../bitcoin/build/../qa/rpc-tests/p2p-compactblocks.py", line 787, in run_test self.test_sendcmpct(self.nodes[1], self.segwit_node, 2, old_node=self.old_node) File ".../bitcoin/build/../qa/rpc-tests/p2p-compactblocks.py", line 201, in test_sendcmpct check_announcement_of_new_block(node, test_node, lambda p: p.last_cmpctblock is None and p.last_inv is not None) File ".../bitcoin/build/../qa/rpc-tests/p2p-compactblocks.py", line 194, in check_announcement_of_new_block assert(predicate(peer)) This commit also changes the assertion failed message above to include more detailed information for debug.
2016-11-14[qa] Avoid 2 list comprehensions in sync_blocksRussell Yanofsky
2016-11-14[qa] Fix sync_blocks timeout argumentRussell Yanofsky
Motivation for this change is mainly to make sync_blocks behavior easier to understand. Behavior is unchanged in the normal case when there are only 2 nodes in the rpc_connections set. When there are more than 2 nodes, the previous "timeout -= wait" statement wouldn't take into account time spent waiting for all nodes and as a result could lead to blocking for longer than the requested timeout.
2016-11-14[qa] Improve sync_blocks error messages.Russell Yanofsky