aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/comptool.py
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2015-04-28 12:41:54 -0400
committerSuhas Daftuar <sdaftuar@gmail.com>2015-04-28 15:09:29 -0400
commitd76412b068d95454732aa3def95decf35251759a (patch)
treea9b5888f34257cbd8c2a7bd03f9bb213f5fe07c8 /qa/rpc-tests/comptool.py
parentb93974c3f32a5398a94db275cd23b7ff78f269bf (diff)
Add script manipulation tools for use in mininode testing framework
script.py is modified from the code in python-bitcoinlib, and provides tools for manipulating and creating CScript objects. bignum.py is a dependency for script.py script_test.py is an example test that uses the script tools for running a test that compares the behavior of two nodes, in a comptool- style test, for each of the test cases in the bitcoin unit test script files, script_valid.json and script_invalid.json. (This test is very slow to run, but is a proof of concept for how we can write tests to compare consensus-critical behavior between different versions of bitcoind.) bipdersig-p2p.py is another example test in the comptool framework, which tests deployment of BIP DERSIG for a single node. It uses the script.py tools for manipulating signatures to be non-DER compliant.
Diffstat (limited to 'qa/rpc-tests/comptool.py')
0 files changed, 0 insertions, 0 deletions