mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-03 03:30:05 +01:00
4dfb6eef70test: Add DERSIG tests to script_tests (billymcbip)884978f389test: Fix a STRICTENC test in script_tests (billymcbip)527e8ca7b5test: Remove outdated comment in script_tests (billymcbip) Pull request description: 1. Remove a comment referencing a file that no longer exists in the codebase: `script_invalid.json`. 2. Fix a test that isn't implemented as intended. The idea is to test execution order by providing a signature that would cause script failure when parsed. An empty signature does not cause script failure in `CHECKMULTISIG`. Use `OP_1` for the second signature instead of `OP_0`. 3. Copy existing `STRICTENC` tests and change the flag to `DERSIG`. `DERSIG` is a consensus flag (unlike `STRICTENC`), so it'd be good to have dedicated test cases. `script_tests` pass on my end. ACKs for top commit: darosior: reACK4dfb6eef70sipa: ACK4dfb6eef70Tree-SHA512: aea4aa5199530804561e9f597f69d6cffd7a40d4830919f9371fe97e4d04d8f10e8ed29b91e65e007a3f6e3a38e2881f88dff25831e741ad7592a12ed02b801a
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 https://www.opensource.org/licenses/mit-license.php.