@bsv/sdk
Version:
BSV Blockchain Software Development Kit
2,296 lines (2,295 loc) • 29.9 kB
text/typescript
export default [
[
'Format is: [scriptSig, scriptPubKey, comment]'
],
[
'',
'740087',
'Test the test: we should have an empty stack after scriptSig evaluation'
],
[
'',
'740087',
'and multiple spaces should not change that.'
],
[
'',
'740087',
'test'
],
[
'',
'740087',
'test'
],
[
'5152',
'52885187',
'Similarly whitespace around and between symbols'
],
[
'5152',
'52885187',
'test'
],
[
'5152',
'52885187',
'test'
],
[
'5152',
'52885187',
'test'
],
[
'5152',
'52885187',
'test'
],
[
'00',
'63506851',
'0x50 is reserved (ok if not executed)'
],
[
'51',
'5f936087',
'0x51 through 0x60 push 1 through 16 onto stack'
],
[
'51',
'61',
'test'
],
[
'00',
'6362675168',
'VER non-functional (ok if not executed)'
],
[
'00',
'6350898a675168',
'RESERVED ok in un-executed IF'
],
[
'51',
'766368',
'test'
],
[
'51',
'635168',
'test'
],
[
'51',
'76636768',
'test'
],
[
'51',
'63516768',
'test'
],
[
'00',
'63675168',
'test'
],
[
'5151',
'63635167006868',
'test'
],
[
'5100',
'63635167006868',
'test'
],
[
'5151',
'63635167006867630067516868',
'test'
],
[
'0000',
'63635167006867630067516868',
'test'
],
[
'5100',
'64635167006868',
'test'
],
[
'5151',
'64635167006868',
'test'
],
[
'5100',
'64635167006867630067516868',
'test'
],
[
'0051',
'64635167006867630067516868',
'test'
],
[
'00',
'63006751670068',
"Multiple ELSE's are valid and executed inverts on each ELSE encountered"
],
[
'51',
'635167006768',
'test'
],
[
'51',
'636700675168',
'test'
],
[
'51',
'63516700675168935287',
'test'
],
[
'51',
'64006751670068',
"Multiple ELSE's are valid and execution inverts on each ELSE encountered"
],
[
'00',
'645167006768',
'test'
],
[
'00',
'646700675168',
'test'
],
[
'00',
'64516700675168935287',
'test'
],
[
'00',
'6351636a676a676a6867516351676a675168676a68935287',
'Nested ELSE ELSE'
],
[
'51',
'6400646a676a676a6867006451676a675168676a68935287',
'test'
],
[
'00',
'636a6851',
'RETURN only works if executed'
],
[
'5151',
'69',
'test'
],
[
'51050100000000',
'69',
'values >4 bytes can be cast to boolean'
],
[
'510180',
'630068',
'negative 0 is false'
],
[
'00',
'76519351880087',
'test'
],
[
'0051',
'77',
'test'
],
[
'011601150114',
'7b7575011587',
'test'
],
[
'011901180117011601150114',
'716d6d75011787',
'test'
],
[
'5100',
'7c51880087',
'test'
],
[
'0051',
'7d7453887c6d',
'test'
],
[
'5d5e',
'6e7b8887',
'test'
],
[
'4f005152',
'6f745788939353886d0088',
'test'
],
[
'51525355',
'709393588893935687',
'test'
],
[
'51535557',
'72935488935c87',
'test'
],
[
'012a',
'825188012a87',
'SIZE does not consume argument'
],
[
'0000',
'87',
'test'
],
[
'5b5a',
'9f91',
'test'
],
[
'5454',
'9f91',
'test'
],
[
'5a5b',
'9f',
'test'
],
[
'018b5b',
'9f',
'test'
],
[
'018b018a',
'9f',
'test'
],
[
'5b5a',
'a0',
'test'
],
[
'5454',
'a091',
'test'
],
[
'5a5b',
'a091',
'test'
],
[
'018b5b',
'a091',
'test'
],
[
'018b018a',
'a091',
'test'
],
[
'5b5a',
'a191',
'test'
],
[
'5454',
'a1',
'test'
],
[
'5a5b',
'a1',
'test'
],
[
'018b5b',
'a1',
'test'
],
[
'018b018a',
'a1',
'test'
],
[
'5b5a',
'a2',
'test'
],
[
'5454',
'a2',
'test'
],
[
'5a5b',
'a291',
'test'
],
[
'018b5b',
'a291',
'test'
],
[
'018b018a',
'a291',
'test'
],
[
'000051',
'a5',
'test'
],
[
'510051',
'a591',
'test'
],
[
'0004ffffffff04ffffff7f',
'a5',
'test'
],
[
'4f01e40164',
'a5',
'test'
],
[
'5b01e40164',
'a5',
'test'
],
[
'04ffffffff01e40164',
'a591',
'test'
],
[
'04ffffff7f01e40164',
'a591',
'test'
],
[
'51',
'b0b1b2b3b4b5b6b7b8b95187',
'test'
],
[
'51',
'61',
'Discourage NOPx flag allows OP_NOP'
],
[
'00',
'63b96851',
'Discouraged NOPs are allowed if not executed'
],
[
'00',
'63ba675168',
'opcodes above NOP10 invalid if executed'
],
[
'00',
'63bb675168',
'test'
],
[
'00',
'63bc675168',
'test'
],
[
'00',
'63bd675168',
'test'
],
[
'00',
'63be675168',
'test'
],
[
'00',
'63bf675168',
'test'
],
[
'00',
'63c0675168',
'test'
],
[
'00',
'63c1675168',
'test'
],
[
'00',
'63c2675168',
'test'
],
[
'00',
'63c3675168',
'test'
],
[
'00',
'63c4675168',
'test'
],
[
'00',
'63c5675168',
'test'
],
[
'00',
'63c6675168',
'test'
],
[
'00',
'63c7675168',
'test'
],
[
'00',
'63c8675168',
'test'
],
[
'00',
'63c9675168',
'test'
],
[
'00',
'63ca675168',
'test'
],
[
'00',
'63cb675168',
'test'
],
[
'00',
'63cc675168',
'test'
],
[
'00',
'63cd675168',
'test'
],
[
'00',
'63ce675168',
'test'
],
[
'00',
'63cf675168',
'test'
],
[
'00',
'63d0675168',
'test'
],
[
'00',
'63d1675168',
'test'
],
[
'00',
'63d2675168',
'test'
],
[
'00',
'63d3675168',
'test'
],
[
'00',
'63d4675168',
'test'
],
[
'00',
'63d5675168',
'test'
],
[
'00',
'63d6675168',
'test'
],
[
'00',
'63d7675168',
'test'
],
[
'00',
'63d8675168',
'test'
],
[
'00',
'63d9675168',
'test'
],
[
'00',
'63da675168',
'test'
],
[
'00',
'63db675168',
'test'
],
[
'00',
'63dc675168',
'test'
],
[
'00',
'63dd675168',
'test'
],
[
'00',
'63de675168',
'test'
],
[
'00',
'63df675168',
'test'
],
[
'00',
'63e0675168',
'test'
],
[
'00',
'63e1675168',
'test'
],
[
'00',
'63e2675168',
'test'
],
[
'00',
'63e3675168',
'test'
],
[
'00',
'63e4675168',
'test'
],
[
'00',
'63e5675168',
'test'
],
[
'00',
'63e6675168',
'test'
],
[
'00',
'63e7675168',
'test'
],
[
'00',
'63e8675168',
'test'
],
[
'00',
'63e9675168',
'test'
],
[
'00',
'63ea675168',
'test'
],
[
'00',
'63eb675168',
'test'
],
[
'00',
'63ec675168',
'test'
],
[
'00',
'63ed675168',
'test'
],
[
'00',
'63ee675168',
'test'
],
[
'00',
'63ef675168',
'test'
],
[
'00',
'63f0675168',
'test'
],
[
'00',
'63f1675168',
'test'
],
[
'00',
'63f2675168',
'test'
],
[
'00',
'63f3675168',
'test'
],
[
'00',
'63f4675168',
'test'
],
[
'00',
'63f5675168',
'test'
],
[
'00',
'63f6675168',
'test'
],
[
'00',
'63f7675168',
'test'
],
[
'00',
'63f8675168',
'test'
],
[
'00',
'63f9675168',
'test'
],
[
'00',
'63fa675168',
'test'
],
[
'00',
'63fb675168',
'test'
],
[
'00',
'63fc675168',
'test'
],
[
'00',
'63fd675168',
'test'
],
[
'00',
'63fe675168',
'test'
],
[
'00',
'63ff675168',
'test'
],
[
'51',
'616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161',
'201 opcodes executed. 0x61 is NOP'
],
[
'00',
'6350505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050506851',
">201 opcodes, but RESERVED (0x50) doesn't count towards opcode limit."
],
[
'017f',
'017f87',
'test'
],
[
'028000',
'02800087',
'Leave room for the sign bit'
],
[
'02ff7f',
'02ff7f87',
'test'
],
[
'03008000',
'0300800087',
'test'
],
[
'03ffff7f',
'03ffff7f87',
'test'
],
[
'0400008000',
'040000800087',
'test'
],
[
'04ffffff7f',
'04ffffff7f87',
'test'
],
[
'050000008000',
'05000000800087',
'test'
],
[
'05ffffffff7f',
'05ffffffff7f87',
'test'
],
[
'08ffffffffffffff7f',
'08ffffffffffffff7f87',
'test'
],
[
'01ff',
'01ff87',
'test'
],
[
'028080',
'02808087',
'test'
],
[
'02ffff',
'02ffff87',
'test'
],
[
'03008080',
'0300808087',
'test'
],
[
'03ffffff',
'03ffffff87',
'test'
],
[
'0400008080',
'040000808087',
'test'
],
[
'04ffffffff',
'04ffffffff87',
'test'
],
[
'050000008080',
'05000000808087',
'test'
],
[
'05ffffffff80',
'05ffffffff8087',
'test'
],
[
'05ffffffffff',
'05ffffffffff87',
'test'
],
[
'06000000008080',
'0600000000808087',
'test'
],
[
'08ffffffffffffffff',
'08ffffffffffffffff87',
'test'
],
[
'04ffffff7f',
'8b05000000800087',
'We can do math on 4-byte integers, and compare 5-byte ones'
],
[
'51',
'0201008791',
'Not the same byte array...'
],
[
'00',
'01808791',
'test'
],
[
'51',
'635168',
'They are here to catch copy-and-paste errors'
],
[
'00',
'645168',
'Most of them are duplicated elsewhere,'
],
[
'51',
'6951',
'but, hey, more is always better, right?'
],
[
'00',
'6b51',
'test'
],
[
'51',
'6b6c',
'test'
],
[
'0000',
'6d51',
'test'
],
[
'00',
'7551',
'test'
],
[
'0051',
'77',
'test'
],
[
'5100',
'7a',
'test'
],
[
'0000',
'87',
'test'
],
[
'0000',
'8851',
'test'
],
[
'000051',
'8787',
'OP_0 and bools must have identical byte representations'
],
[
'00',
'8b',
'test'
],
[
'52',
'8c',
'test'
],
[
'4f',
'8f',
'test'
],
[
'4f',
'90',
'test'
],
[
'00',
'91',
'test'
],
[
'4f',
'92',
'test'
],
[
'5100',
'93',
'test'
],
[
'5100',
'94',
'test'
],
[
'4f4f',
'9a',
'test'
],
[
'4f00',
'9b',
'test'
],
[
'0000',
'9c',
'test'
],
[
'0000',
'9d51',
'test'
],
[
'4f00',
'9e',
'test'
],
[
'4f00',
'9f',
'test'
],
[
'5100',
'a0',
'test'
],
[
'0000',
'a1',
'test'
],
[
'0000',
'a2',
'test'
],
[
'4f00',
'a3',
'test'
],
[
'5100',
'a4',
'test'
],
[
'4f4f00',
'a5',
'test'
],
[
'00',
'a6',
'test'
],
[
'00',
'a7',
'test'
],
[
'00',
'a8',
'test'
],
[
'00',
'a9',
'test'
],
[
'00',
'aa',
'test'
],
[
'',
'000000ae69740087',
'CHECKMULTISIG is allowed to have zero keys and/or sigs'
],
[
'',
'000000af740087',
'test'
],
[
'',
'00000051ae69740087',
'Zero sigs means no sigs are checked'
],
[
'',
'00000051af740087',
'test'
],
[
'',
'000000ae69740087',
'CHECKMULTISIG is allowed to have zero keys and/or sigs'
],
[
'',
'000000af740087',
'test'
],
[
'',
'00000051ae69740087',
'Zero sigs means no sigs are checked'
],
[
'',
'00000051af740087',
'test'
],
[
'51',
'000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af',
'test'
],
[
'028000',
'0280009c',
'0x8000 equals 128'
],
[
'00',
'2102865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac0ac91',
'test'
],
[
'0000',
'512102865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac051ae91',
'test'
],
[
'00',
'21038282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508ac91',
'BIP66 example 4, without DERSIG'
],
[
'00',
'21038282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508ac91',
'BIP66 example 4, with DERSIG'
],
[
'',
'740087',
'Test the test: we should have an empty stack after scriptSig evaluation'
],
[
'',
'740087',
'and multiple spaces should not change that.'
],
[
'',
'740087',
'test'
],
[
'',
'740087',
'test'
],
[
'5152',
'52885187',
'Similarly whitespace around and between symbols'
],
[
'5152',
'52885187',
'test'
],
[
'5152',
'52885187',
'test'
],
[
'5152',
'52885187',
'test'
],
[
'5152',
'52885187',
'test'
],
[
'00',
'63506851',
'0x50 is reserved (ok if not executed)'
],
[
'51',
'5f936087',
'0x51 through 0x60 push 1 through 16 onto stack'
],
[
'51',
'61',
'test'
],
[
'00',
'6362675168',
'VER non-functional (ok if not executed)'
],
[
'00',
'6350898a675168',
'RESERVED ok in un-executed IF'
],
[
'51',
'766368',
'test'
],
[
'51',
'635168',
'test'
],
[
'51',
'76636768',
'test'
],
[
'51',
'63516768',
'test'
],
[
'00',
'63675168',
'test'
],
[
'5151',
'63635167006868',
'test'
],
[
'5100',
'63635167006868',
'test'
],
[
'5151',
'63635167006867630067516868',
'test'
],
[
'0000',
'63635167006867630067516868',
'test'
],
[
'5100',
'64635167006868',
'test'
],
[
'5151',
'64635167006868',
'test'
],
[
'5100',
'64635167006867630067516868',
'test'
],
[
'0051',
'64635167006867630067516868',
'test'
],
[
'00',
'63006751670068',
"Multiple ELSE's are valid and executed inverts on each ELSE encountered"
],
[
'51',
'635167006768',
'test'
],
[
'51',
'636700675168',
'test'
],
[
'51',
'63516700675168935287',
'test'
],
[
'51',
'64006751670068',
"Multiple ELSE's are valid and execution inverts on each ELSE encountered"
],
[
'00',
'645167006768',
'test'
],
[
'00',
'646700675168',
'test'
],
[
'00',
'64516700675168935287',
'test'
],
[
'00',
'6351636a676a676a6867516351676a675168676a68935287',
'Nested ELSE ELSE'
],
[
'51',
'6400646a676a676a6867006451676a675168676a68935287',
'test'
],
[
'00',
'636a6851',
'RETURN only works if executed'
],
[
'5151',
'69',
'test'
],
[
'51050100000000',
'69',
'values >4 bytes can be cast to boolean'
],
[
'510180',
'630068',
'negative 0 is false'
],
[
'00',
'76519351880087',
'test'
],
[
'0051',
'77',
'test'
],
[
'011601150114',
'7b7575011587',
'test'
],
[
'011901180117011601150114',
'716d6d75011787',
'test'
],
[
'5100',
'7c51880087',
'test'
],
[
'0051',
'7d7453887c6d',
'test'
],
[
'5d5e',
'6e7b8887',
'test'
],
[
'4f005152',
'6f745788939353886d0088',
'test'
],
[
'51525355',
'709393588893935687',
'test'
],
[
'51535557',
'72935488935c87',
'test'
],
[
'012a',
'825188012a87',
'SIZE does not consume argument'
],
[
'0000',
'87',
'test'
],
[
'5b5a',
'9f91',
'test'
],
[
'5454',
'9f91',
'test'
],
[
'5a5b',
'9f',
'test'
],
[
'018b5b',
'9f',
'test'
],
[
'018b018a',
'9f',
'test'
],
[
'5b5a',
'a0',
'test'
],
[
'5454',
'a091',
'test'
],
[
'5a5b',
'a091',
'test'
],
[
'018b5b',
'a091',
'test'
],
[
'018b018a',
'a091',
'test'
],
[
'5b5a',
'a191',
'test'
],
[
'5454',
'a1',
'test'
],
[
'5a5b',
'a1',
'test'
],
[
'018b5b',
'a1',
'test'
],
[
'018b018a',
'a1',
'test'
],
[
'5b5a',
'a2',
'test'
],
[
'5454',
'a2',
'test'
],
[
'5a5b',
'a291',
'test'
],
[
'018b5b',
'a291',
'test'
],
[
'018b018a',
'a291',
'test'
],
[
'000051',
'a5',
'test'
],
[
'510051',
'a591',
'test'
],
[
'0004ffffffff04ffffff7f',
'a5',
'test'
],
[
'4f01e40164',
'a5',
'test'
],
[
'5b01e40164',
'a5',
'test'
],
[
'04ffffffff01e40164',
'a591',
'test'
],
[
'04ffffff7f01e40164',
'a591',
'test'
],
[
'51',
'b0b1b2b3b4b5b6b7b8b95187',
'test'
],
[
'51',
'61',
'Discourage NOPx flag allows OP_NOP'
],
[
'00',
'63b96851',
'Discouraged NOPs are allowed if not executed'
],
[
'00',
'63ba675168',
'opcodes above NOP10 invalid if executed'
],
[
'00',
'63bb675168',
'test'
],
[
'00',
'63bc675168',
'test'
],
[
'00',
'63bd675168',
'test'
],
[
'00',
'63be675168',
'test'
],
[
'00',
'63bf675168',
'test'
],
[
'00',
'63c0675168',
'test'
],
[
'00',
'63c1675168',
'test'
],
[
'00',
'63c2675168',
'test'
],
[
'00',
'63c3675168',
'test'
],
[
'00',
'63c4675168',
'test'
],
[
'00',
'63c5675168',
'test'
],
[
'00',
'63c6675168',
'test'
],
[
'00',
'63c7675168',
'test'
],
[
'00',
'63c8675168',
'test'
],
[
'00',
'63c9675168',
'test'
],
[
'00',
'63ca675168',
'test'
],
[
'00',
'63cb675168',
'test'
],
[
'00',
'63cc675168',
'test'
],
[
'00',
'63cd675168',
'test'
],
[
'00',
'63ce675168',
'test'
],
[
'00',
'63cf675168',
'test'
],
[
'00',
'63d0675168',
'test'
],
[
'00',
'63d1675168',
'test'
],
[
'00',
'63d2675168',
'test'
],
[
'00',
'63d3675168',
'test'
],
[
'00',
'63d4675168',
'test'
],
[
'00',
'63d5675168',
'test'
],
[
'00',
'63d6675168',
'test'
],
[
'00',
'63d7675168',
'test'
],
[
'00',
'63d8675168',
'test'
],
[
'00',
'63d9675168',
'test'
],
[
'00',
'63da675168',
'test'
],
[
'00',
'63db675168',
'test'
],
[
'00',
'63dc675168',
'test'
],
[
'00',
'63dd675168',
'test'
],
[
'00',
'63de675168',
'test'
],
[
'00',
'63df675168',
'test'
],
[
'00',
'63e0675168',
'test'
],
[
'00',
'63e1675168',
'test'
],
[
'00',
'63e2675168',
'test'
],
[
'00',
'63e3675168',
'test'
],
[
'00',
'63e4675168',
'test'
],
[
'00',
'63e5675168',
'test'
],
[
'00',
'63e6675168',
'test'
],
[
'00',
'63e7675168',
'test'
],
[
'00',
'63e8675168',
'test'
],
[
'00',
'63e9675168',
'test'
],
[
'00',
'63ea675168',
'test'
],
[
'00',
'63eb675168',
'test'
],
[
'00',
'63ec675168',
'test'
],
[
'00',
'63ed675168',
'test'
],
[
'00',
'63ee675168',
'test'
],
[
'00',
'63ef675168',
'test'
],
[
'00',
'63f0675168',
'test'
],
[
'00',
'63f1675168',
'test'
],
[
'00',
'63f2675168',
'test'
],
[
'00',
'63f3675168',
'test'
],
[
'00',
'63f4675168',
'test'
],
[
'00',
'63f5675168',
'test'
],
[
'00',
'63f6675168',
'test'
],
[
'00',
'63f7675168',
'test'
],
[
'00',
'63f8675168',
'test'
],
[
'00',
'63f9675168',
'test'
],
[
'00',
'63fa675168',
'test'
],
[
'00',
'63fb675168',
'test'
],
[
'00',
'63fc675168',
'test'
],
[
'00',
'63fd675168',
'test'
],
[
'00',
'63fe675168',
'test'
],
[
'00',
'63ff675168',
'test'
],
[
'51',
'616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161',
'201 opcodes executed. 0x61 is NOP'
],
[
'00',
'6350505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050506851',
">201 opcodes, but RESERVED (0x50) doesn't count towards opcode limit."
],
[
'017f',
'017f87',
'test'
],
[
'028000',
'02800087',
'Leave room for the sign bit'
],
[
'02ff7f',
'02ff7f87',
'test'
],
[
'03008000',
'0300800087',
'test'
],
[
'03ffff7f',
'03ffff7f87',
'test'
],
[
'0400008000',
'040000800087',
'test'
],
[
'04ffffff7f',
'04ffffff7f87',
'test'
],
[
'050000008000',
'05000000800087',
'test'
],
[
'05ffffffff7f',
'05ffffffff7f87',
'test'
],
[
'08ffffffffffffff7f',
'08ffffffffffffff7f87',
'test'
],
[
'01ff',
'01ff87',
'test'
],
[
'028080',
'02808087',
'test'
],
[
'02ffff',
'02ffff87',
'test'
],
[
'03008080',
'0300808087',
'test'
],
[
'03ffffff',
'03ffffff87',
'test'
],
[
'0400008080',
'040000808087',
'test'
],
[
'04ffffffff',
'04ffffffff87',
'test'
],
[
'050000008080',
'05000000808087',
'test'
],
[
'05ffffffff80',
'05ffffffff8087',
'test'
],
[
'05ffffffffff',
'05ffffffffff87',
'test'
],
[
'06000000008080',
'0600000000808087',
'test'
],
[
'08ffffffffffffffff',
'08ffffffffffffffff87',
'test'
],
[
'04ffffff7f',
'8b05000000800087',
'We can do math on 4-byte integers, and compare 5-byte ones'
],
[
'51',
'0201008791',
'Not the same byte array...'
],
[
'00',
'01808791',
'test'
],
[
'51',
'635168',
'They are here to catch copy-and-paste errors'
],
[
'00',
'645168',
'Most of them are duplicated elsewhere,'
],
[
'51',
'6951',
'but, hey, more is always better, right?'
],
[
'00',
'6b51',
'test'
],
[
'51',
'6b6c',
'test'
],
[
'0000',
'6d51',
'test'
],
[
'00',
'7551',
'test'
],
[
'0051',
'77',
'test'
],
[
'5100',
'7a',
'test'
],
[
'0000',
'87',
'test'
],
[
'0000',
'8851',
'test'
],
[
'000051',
'8787',
'OP_0 and bools must have identical byte representations'
],
[
'00',
'8b',
'test'
],
[
'52',
'8c',
'test'
],
[
'4f',
'8f',
'test'
],
[
'4f',
'90',
'test'
],
[
'00',
'91',
'test'
],
[
'4f',
'92',
'test'
],
[
'5100',
'93',
'test'
],
[
'5100',
'94',
'test'
],
[
'4f4f',
'9a',
'test'
],
[
'4f00',
'9b',
'test'
],
[
'0000',
'9c',
'test'
],
[
'0000',
'9d51',
'test'
],
[
'4f00',
'9e',
'test'
],
[
'4f00',
'9f',
'test'
],
[
'5100',
'a0',
'test'
],
[
'0000',
'a1',
'test'
],
[
'0000',
'a2',
'test'
],
[
'4f00',
'a3',
'test'
],
[
'5100',
'a4',
'test'
],
[
'4f4f00',
'a5',
'test'
],
[
'00',
'a6',
'test'
],
[
'00',
'a7',
'test'
],
[
'00',
'a8',
'test'
],
[
'00',
'a9',
'test'
],
[
'00',
'aa',
'test'
],
[
'',
'000000ae69740087',
'CHECKMULTISIG is allowed to have zero keys and/or sigs'
],
[
'',
'000000af740087',
'test'
],
[
'',
'00000051ae69740087',
'Zero sigs means no sigs are checked'
],
[
'',
'00000051af740087',
'test'
],
[
'',
'000000ae69740087',
'CHECKMULTISIG is allowed to have zero keys and/or sigs'
],
[
'',
'000000af740087',
'test'
],
[
'',
'00000051ae69740087',
'Zero sigs means no sigs are checked'
],
[
'',
'00000051af740087',
'test'
],
[
'51',
'000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af000000af',
'test'
],
[
'51',
'63516a68',
'Returning within an if statement should succeed'
]
]