[qa] p2p segwit tests
commit330b0f31ee5719d94f9e52dfc83c5d82168241f9
authorSuhas Daftuar <sdaftuar@chaincode.com>
Sat, 9 Apr 2016 01:02:24 +0000 (8 21:02 -0400)
committerPieter Wuille <pieter.wuille@gmail.com>
Wed, 22 Jun 2016 13:43:02 +0000 (22 15:43 +0200)
treedf211a86536bc2692b0559083de6df2d54eaa72e
parent4f7ff00497803fddc5a0fb5340502a73e395134d
[qa] p2p segwit tests

mininode now supports witness transactions/blocks, blocktools
has a helper for adding witness commitments to blocks, and script
has a function to calculate hashes for signature under sigversion
1, used by segwit.

Py3 conversion by Marco Falke

Test to make sure upgraded nodes don't ask for non-wit blocks by
Gregory Sanders.
qa/pull-tester/rpc-tests.py
qa/rpc-tests/p2p-segwit.py [new file with mode: 0755]
qa/rpc-tests/test_framework/blocktools.py
qa/rpc-tests/test_framework/mininode.py
qa/rpc-tests/test_framework/script.py
src/test/data/script_tests.json
src/test/script_tests.cpp