aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/invalidblockrequest.py
AgeCommit message (Collapse)Author
2016-05-15[qa] Remove hardcoded "4 nodes" from test_frameworkMarcoFalke
2016-05-05[qa] Switch to py3MarcoFalke
2016-04-10[qa] py2: Unfiddle strings into bytes explicitlyMarcoFalke
2016-03-14[qa] mininode: Add and use CONSTsMarcoFalke
2016-01-27Merge #7300: [trivial] Add missing copyright headersWladimir J. van der Laan
fabcee1 Remove copyright header from autogenerated chainparamsseeds.h (MarcoFalke) fa60d05 Add missing copyright headers (MarcoFalke) fa7e4c0 Bump copyright headers to 2014 (MarcoFalke)
2016-01-13[qa] Fix pyton syntax in rpc testsMarcoFalke
2016-01-05Add missing copyright headersMarcoFalke
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-08-21Add p2p-fullblocktest.pyCasey Rodarmor
2015-05-18[QA] restructure rpc tests directoryJonas Schnelli
* move non-test classes to subdir `test-framework`
2015-04-28Add comparison tool test runner, built on mininodeSuhas Daftuar
comptool.py creates a tool for running a test suite on top of the mininode p2p framework. It supports two types of tests: those for which we expect certain behavior (acceptance or rejection of a block or transaction) and those for which we are just comparing that the behavior of 2 or more nodes is the same. blockstore.py defines BlockStore and TxStore, which provide db-backed maps between block/tx hashes and the corresponding block or tx. blocktools.py defines utility functions for creating and manipulating blocks and transactions. invalidblockrequest.py is an example test in the comptool framework, which tests the behavior of a single node when sent two different types of invalid blocks (a block with a duplicated transaction and a block with a bad coinbase value).