Update the unittest that is meant to catch a transaction that is invalid because it has a null input. The old test failed not because of that but because it was considered a coinbase with too large script. This is already checked with a different test, though. The new test is *not* a coinbase since it has two inputs, but one of them is null. This really checks the corresponding code path in CheckTransaction. |
||
|---|---|---|
| .. | ||
| alertTests.raw | ||
| base58_encode_decode.json | ||
| base58_keys_invalid.json | ||
| base58_keys_valid.json | ||
| bitcoin-util-test.json | ||
| blanktx.hex | ||
| README.md | ||
| script_invalid.json | ||
| script_valid.json | ||
| sighash.json | ||
| tt-delin1-out.hex | ||
| tt-delout1-out.hex | ||
| tt-locktime317000-out.hex | ||
| tx394b54bb.hex | ||
| tx_invalid.json | ||
| tx_valid.json | ||
| txcreate1.hex | ||
| txcreate2.hex | ||
| txcreatedata1.hex | ||
| txcreatedata2.hex | ||
| txcreatesign.hex | ||
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.