aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/test_framework
AgeCommit message (Collapse)Author
2016-01-13Rename OP_NOP2 to OP_CHECKLOCKTIMEVERIFY.mb300sd
Github-Pull: #7213 Rebased-From: 37d271d7cce44885f835292ffe99b54399b014d6
2016-01-13[RPC-Tests] add option to run rpc test over QT clientsJonas Schnelli
Github-Pull: #7068 Rebased-From: 979698c1715ce86a98934e48acadbc936c95c9a3
2016-01-09[Tests] Eliminate intermittent failures in sendheaders.pySuhas Daftuar
- Add race-condition debugging tool to mininode - Eliminate race condition in sendheaders.py test Clear the last block announcement before mining new blocks. Github-Pull: #7308 Rebased-From: 82a0ce09b45ab9c09ce4f516be5b9b413dcec470 168915e6dec88b31793d4ee4b60b94d4149de36c
2016-01-05Bump copyright headers to 2015MarcoFalke
- Bump copyright headers to 2015 - [devtools] Rewrite fix-copyright-headers.py - [devtools] Use git pretty-format for year parsing Github-Pull: #7205 Rebased-From: fa6ad855e9159b2247da4fa0054f32fa181499ab fa24439ff3d8ab5b9efaf66ef4dae6713b88cb35 fa71669452e57039e4270fd2b33a0e0e1635b813
2016-01-04[qa] Move gen_return_txouts() to util.pyMarcoFalke
Github-Pull: #7250 Rebased-From: fa0a9749eb09f6b537b98075241a7fcb46f758e3
2015-12-22tests: Disable Tor interactionWladimir J. van der Laan
This is unnecessary during the current tests (any test for Tor interaction can explicitly enable it) and interferes with the proxy test. Github-Pull: #7170 Rebased-From: 4c40ec0451a8f279f3e2e40af068c9451afd699e
2015-12-22[Tests] Add mempool_limit.py testJonas Schnelli
- [Tests] Add mempool_limit.py test - [Tests] Refactor some shared functions Github-Pull: #7153 Rebased-From: 110ff1142c5284edba8aab77fcac0bea0e551969 7632cf689a9b959dd7a059b8b4a04761a4bc6e6a
2015-12-22Add more tests to p2p-fullblocktestSuhas Daftuar
Github-Pull: #7226 Rebased-From: 9b41a5fba278e9ab56a9b86e7a5fe195dcad0b7a
2015-12-10net: Fix sent reject messages for blocks and transactionsWladimir J. van der Laan
Ever since we #5913 have been sending invalid reject messages for transactions and blocks. test: Add basic test for `reject` code Extend P2P test framework to make it possible to expect reject codes for transactions and blocks. Github-Pull: #7179 Rebased-From: 9fc6ed6003da42f035309240c715ce0fd063ec03 20411903d7b356ebb174df2daad1dcd5d6117f79
2015-12-07test: remove necessity to call create_callback_mapWladimir J. van der Laan
Remove necessity to call create_callback_map (as well as the function itself) from the Python P2P test framework. Invoke the appropriate methods directly. - Easy to forget to call it and wonder why it doesn't work - Simplifies the code - This makes it easier to handle new messages in subclasses Github-Pull: #7171 Rebased-From: 2f601d215da1683ae99ab9973219044c32fa2093
2015-12-01Merge pull request #7022Wladimir J. van der Laan
50947ef Change default block priority size to 0 (Alex Morcos)
2015-12-01Add rounding helper function to util.pySuhas Daftuar
2015-11-30Change default block priority size to 0Alex Morcos
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.
2015-11-30Merge pull request #7103Wladimir J. van der Laan
fa506c0 [wallet] Add rpc tests to verify fee calculations (MarcoFalke) 4b89f01 Default fPayAtLeastCustomFee to false (Ryan Havar)
2015-11-29Allow block announcements with headersSuhas Daftuar
This replaces using inv messages to announce new blocks, when a peer requests (via the new "sendheaders" message) that blocks be announced with headers instead of inv's. Since headers-first was introduced, peers send getheaders messages in response to an inv, which requires generating a block locator that is large compared to the size of the header being requested, and requires an extra round-trip before a reorg can be relayed. Save time by tracking headers that a peer is likely to know about, and send a headers chain that would connect to a peer's known headers, unless the chain would be too big, in which case we revert to sending an inv instead. Based off of @sipa's commit to announce all blocks in a reorg via inv, which has been squashed into this commit. Rebased-by: Pieter Wuille
2015-11-28[wallet] Add rpc tests to verify fee calculationsMarcoFalke
2015-11-11Add basic coverage reporting for RPC testsJames O'Beirne
Thanks to @MarcoFalke @dexX7 @laanwj for review.
2015-09-21Make RPC tests cope with server-side timeout between requestsWladimir J. van der Laan
Python's httplib does not graciously handle disconnections from the http server, resulting in BadStatusLine errors. See https://bugs.python.org/issue3566 "httplib persistent connections violate MUST in RFC2616 sec 8.1.4." This was fixed in Python 3.5. Work around it for now.
2015-08-26Enable python tests for Native Windowsptschip
1) Multiplatorm support for devnull 2) Fixed a bug in the handling of cache files 3) Deleted run-bitcoin-cli as no longer needed
2015-08-21Add p2p-fullblocktest.pyCasey Rodarmor
2015-08-19Merge pull request #6539Wladimir J. van der Laan
9f68ed6 typofixes (found by misspell_fixer) (Veres Lajos)
2015-08-12Fix race condition on test node shutdownCasey Rodarmor
2015-08-10typofixes (found by misspell_fixer)Veres Lajos
2015-07-22Don't share objects between TestInstancesCasey Rodarmor
2015-05-21rpc-tests: remove python-bitcoinrpc directoryJonas Schnelli
place authproxy.py at same level as other utility classes
2015-05-18[QA] restructure rpc tests directoryJonas Schnelli
* move non-test classes to subdir `test-framework`