tests: add non-canonical pubkey fixtures

This commit is contained in:
Daniel Cousens 2015-08-22 12:27:23 +10:00
parent abac254d0d
commit 4be502a1bd

View file

@ -178,10 +178,20 @@
], ],
"isPubKeyInput": [ "isPubKeyInput": [
{ {
"description": "non-canonical signature", "description": "non-canonical signature (too long)",
"scriptSig": "304402207515cf147d201f411092e6be5a64a6006f9308fad7b2a8fdaab22cd86ce764c202200974b8aca7bf51dbf54150d3884e1ae04f675637b926ec33bf7593ffffffffffffffff" "scriptSig": "304402207515cf147d201f411092e6be5a64a6006f9308fad7b2a8fdaab22cd86ce764c202200974b8aca7bf51dbf54150d3884e1ae04f675637b926ec33bf7593ffffffffffffffff"
} }
], ],
"isPubKeyOutput": [
{
"description": "non-canonical pubkey (too short)",
"scriptPubKey": "02359c6e3f04cefbf089cf1d6670dc47c3fb4df68e2bad1fa5a369f9ce OP_CHECKSIG"
},
{
"description": "non-canonical pubkey (too long)",
"scriptPubKey": "02359c6e3f04cefbf089cf1d6670dc47c3fb4df68e2bad1fa5a369f9ce4b42bbd1ffffff OP_CHECKSIG"
}
],
"isMultisigOutput": [ "isMultisigOutput": [
{ {
"description": "OP_CHECKMULTISIG not found", "description": "OP_CHECKMULTISIG not found",