aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/invalidblockrequest.py
Commit message (Collapse)AuthorAgeFilesLines
* Clean up RPC tests (#1465)Ross Nicoll2018-09-191-2/+2
| | | | | | | | | | * Enable full block tests * Fix invalidblocktest * Move watch only address funding to immediately before it's used, so node 0 doesn't spend the output before it checks it later. * Fix `fundrawtransaction` tests and sanitize fee calculation at the same time * Correct resolution of chain parameters when validating tx inputs, especially from previous coinbase transactions * Set block versions on full block tests so that the generated blocks are AuxPoW compatible
* [qa] Remove hardcoded "4 nodes" from test_frameworkMarcoFalke2016-05-151-0/+1
|
* [qa] Switch to py3MarcoFalke2016-05-051-6/+5
|
* [qa] py2: Unfiddle strings into bytes explicitlyMarcoFalke2016-04-101-5/+5
|
* [qa] mininode: Add and use CONSTsMarcoFalke2016-03-141-3/+3
|
* Merge #7300: [trivial] Add missing copyright headersWladimir J. van der Laan2016-01-271-1/+1
|\ | | | | | | | | | | fabcee1 Remove copyright header from autogenerated chainparamsseeds.h (MarcoFalke) fa60d05 Add missing copyright headers (MarcoFalke) fa7e4c0 Bump copyright headers to 2014 (MarcoFalke)
| * Add missing copyright headersMarcoFalke2016-01-051-1/+1
| |
* | [qa] Fix pyton syntax in rpc testsMarcoFalke2016-01-131-2/+0
|/
* test: Add basic test for `reject` codeWladimir J. van der Laan2015-12-091-3/+3
| | | | | Extend P2P test framework to make it possible to expect reject codes for transactions and blocks.
* Add p2p-fullblocktest.pyCasey Rodarmor2015-08-211-4/+8
|
* [QA] restructure rpc tests directoryJonas Schnelli2015-05-181-5/+5
| | | | * move non-test classes to subdir `test-framework`
* Add comparison tool test runner, built on mininodeSuhas Daftuar2015-04-281-0/+115
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).