bitcoin/src/test/data
Pieter Wuille 88430cbab4
Merge #12167: Make segwit failure due to CLEANSTACK violation return a SCRIPT_ERR_CLEANSTACK error code
1e747e3c1e Make segwit failure due to CLEANSTACK violation return a SCRIPT_ERR_CLEANSTACK error code. (Mark Friedenbach)

Pull request description:

  If a segwit script terminates with a stack size not equal to one, the current error code is EVAL_FALSE. This is semantically wrong, and prevents explicitly checking CLEANSTACK violations in the unit tests. This PR changes the error code (and affected unit tests) to use SCRIPT_ERROR_CLEANSTACK instead of SCRIPT_ERROR_EVAL_FALSE.

Tree-SHA512: 8f7b1650f7a23a942cde1070e3e56420be456b4a7be42515b237e95557bf2bd5e7ba9aabd213c8092bea28c165dbe73f5a3486300089aeb01e698151b42484b1
2018-04-04 17:30:24 -07:00
..
base58_encode_decode.json use base58 map instead of strchr() 2018-03-21 11:57:57 +08:00
key_io_invalid.json Split off key_io_tests from base58_tests 2018-02-19 18:55:21 -08:00
key_io_valid.json Split off key_io_tests from base58_tests 2018-02-19 18:55:21 -08:00
README.md Remove redundant copyright notices from README files 2015-01-02 10:46:23 +01:00
script_tests.json Merge #12167: Make segwit failure due to CLEANSTACK violation return a SCRIPT_ERR_CLEANSTACK error code 2018-04-04 17:30:24 -07:00
sighash.json Add sighash tests from data file 2014-03-31 11:19:19 -03:00
tx_invalid.json scripted-diff: Convert 11 enums into scoped enums (C++11) 2018-03-09 15:03:40 +01:00
tx_valid.json Add a test for large tx output scripts with segwit input. 2018-03-04 17:24:43 -08:00

Description

This directory contains data-driven tests for various aspects of Bitcoin.

License

The data files in this directory are distributed under the MIT software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php.