diff options
| author | Suhas Daftuar <[email protected]> | 2015-04-28 12:41:54 -0400 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2015-04-28 15:09:29 -0400 |
| commit | d76412b068d95454732aa3def95decf35251759a (patch) | |
| tree | a9b5888f34257cbd8c2a7bd03f9bb213f5fe07c8 /src/script/script.cpp | |
| parent | Add comparison tool test runner, built on mininode (diff) | |
| download | discoin-d76412b068d95454732aa3def95decf35251759a.tar.xz discoin-d76412b068d95454732aa3def95decf35251759a.zip | |
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 'src/script/script.cpp')
0 files changed, 0 insertions, 0 deletions