Changeset View
Changeset View
Standalone View
Standalone View
src/test/data/script_tests.json
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 716 Lines • ▼ Show 20 Lines | |||||
["0x02 0x0000 0x02 0x0100", "SPLIT 2DROP 1", "", "OK"], | ["0x02 0x0000 0x02 0x0100", "SPLIT 2DROP 1", "", "OK"], | ||||
["0x16 0x11111111111111111111111111111111111111110000 0x02 0x1400", "NUM2BIN DROP 1", "", "OK"], | ["0x16 0x11111111111111111111111111111111111111110000 0x02 0x1400", "NUM2BIN DROP 1", "", "OK"], | ||||
["0x02 0x0000", "CHECKLOCKTIMEVERIFY DROP 1", "CHECKLOCKTIMEVERIFY", "UNSATISFIED_LOCKTIME", "fails because final sequence, not from nonminimal encoding"], | ["0x02 0x0000", "CHECKLOCKTIMEVERIFY DROP 1", "CHECKLOCKTIMEVERIFY", "UNSATISFIED_LOCKTIME", "fails because final sequence, not from nonminimal encoding"], | ||||
["0x02 0x0000", "CHECKSEQUENCEVERIFY DROP 1", "CHECKSEQUENCEVERIFY", "UNSATISFIED_LOCKTIME", "fails because tx version < 2, not from nonminimal encoding"], | ["0x02 0x0000", "CHECKSEQUENCEVERIFY DROP 1", "CHECKSEQUENCEVERIFY", "UNSATISFIED_LOCKTIME", "fails because tx version < 2, not from nonminimal encoding"], | ||||
["While not really correctly DER encoded, the empty signature is allowed by"], | ["While not really correctly DER encoded, the empty signature is allowed by"], | ||||
["STRICTENC to provide a compact way to provide a delibrately invalid signature."], | ["STRICTENC to provide a compact way to provide a deliberately invalid signature."], | ||||
["0", "0x21 0x02865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac0 CHECKSIG NOT", "STRICTENC", "OK"], | ["0", "0x21 0x02865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac0 CHECKSIG NOT", "STRICTENC", "OK"], | ||||
["0 0", "1 0x21 0x02865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac0 1 CHECKMULTISIG NOT", "STRICTENC", "OK"], | ["0 0", "1 0x21 0x02865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac0 1 CHECKMULTISIG NOT", "STRICTENC", "OK"], | ||||
["0", "0x02 0xBEEF CHECKSIG NOT", "STRICTENC", "PUBKEYTYPE", "Even with a null signature, the public key has to be correctly encoded."], | ["0", "0x02 0xBEEF CHECKSIG NOT", "STRICTENC", "PUBKEYTYPE", "Even with a null signature, the public key has to be correctly encoded."], | ||||
["0 0", "1 0x02 0xBEEF 1 CHECKMULTISIG NOT", "STRICTENC", "PUBKEYTYPE"], | ["0 0", "1 0x02 0xBEEF 1 CHECKMULTISIG NOT", "STRICTENC", "PUBKEYTYPE"], | ||||
["0", "0x21 0x020000000000000000000000000000000000000000000000000000000000000000 CHECKSIG NOT", "STRICTENC", "OK", "Invalid public keys are fine, as long as correctly encoded."], | ["0", "0x21 0x020000000000000000000000000000000000000000000000000000000000000000 CHECKSIG NOT", "STRICTENC", "OK", "Invalid public keys are fine, as long as correctly encoded."], | ||||
["0 0", "1 0x21 0x020000000000000000000000000000000000000000000000000000000000000000 1 CHECKMULTISIG NOT", "STRICTENC", "OK"], | ["0 0", "1 0x21 0x020000000000000000000000000000000000000000000000000000000000000000 1 CHECKMULTISIG NOT", "STRICTENC", "OK"], | ||||
["Introducing NULLFAIL doesn't change any of the above behaviour since signature is null"], | ["Introducing NULLFAIL doesn't change any of the above behaviour since signature is null"], | ||||
▲ Show 20 Lines • Show All 2,792 Lines • Show Last 20 Lines |