aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/test_framework
AgeCommit message (Collapse)Author
2016-01-05Merge pull request #7205Wladimir J. van der Laan
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)
2016-01-04Merge pull request #7250Wladimir J. van der Laan
fa0a974 [qa] Move gen_return_txouts() to util.py (MarcoFalke)
2015-12-24[qa] Move gen_return_txouts() to util.pyMarcoFalke
2015-12-22Merge pull request #7153Wladimir J. van der Laan
7632cf6 [Tests] Refactor some shared functions (Jonas Schnelli) 110ff11 [Tests] Add mempool_limit.py test (Jonas Schnelli)
2015-12-22Merge pull request #7213Wladimir J. van der Laan
37d271d Rename OP_NOP2 to OP_CHECKLOCKTIMEVERIFY. (mb300sd)
2015-12-18Add more tests to p2p-fullblocktestSuhas Daftuar
2015-12-15Rename OP_NOP2 to OP_CHECKLOCKTIMEVERIFY.mb300sd
2015-12-14[RPC-Tests] add option to run rpc test over QT clientsJonas Schnelli
2015-12-13Bump copyright headers to 2015MarcoFalke
2015-12-09test: Add basic test for `reject` codeWladimir J. van der Laan
Extend P2P test framework to make it possible to expect reject codes for transactions and blocks.
2015-12-07Merge pull request #7171Wladimir J. van der Laan
2f601d2 test: remove necessity to call create_callback_map (Wladimir J. van der Laan)
2015-12-04tests: 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.
2015-12-04test: 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
2015-12-03[Tests] Refactor some shared functionsJonas Schnelli
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`