@ -761,6 +761,31 @@ nSequences are max.
"STRICTENC" ,
"1-of-2 with the second 1 hybrid pubkey"
] ,
[ "
C H E C K M U L T I S I G e v a l u a t i o n o r d e r t e s t s . C H E C K M U L T I S I G e v a l u a t e s s i g n a t u r e s a n d
p u b k e y s i n a s p e c i f i c o r d e r , a n d w i l l e x i t e a r l y i f t h e n u m b e r o f s i g n a t u r e s
l e f t t o c h e c k i s g r e a t e r t h a n t h e n u m b e r o f k e y s l e f t . A s S T R I C T E N C f a i l s t h e
s c r i p t w h e n i t r e a c h e s a n i n v a l i d l y e n c o d e d s i g n a t u r e o r p u b k e y , w e c a n u s e i t
t o t e s t t h e e x a c t o r d e r i n w h i c h s i g n a t u r e s a n d p u b k e y s a r e e v a l u a t e d b y
d i s t i n g u i s h i n g C H E C K M U L T I S I G r e t u r n i n g false o n t h e s t a c k a n d t h e s c r i p t a s a
w h o l e f a i l i n g .
S e e a l s o t h e c o r r e s p o n d i n g i n v e r t e d v e r s i o n s o f t h e s e t e s t s i n s c r i p t _ i n v a l i d . j s o n
" ] ,
[
"0 0x47 0x3044022044dc17b0887c161bb67ba9635bf758735bdde503e4b0a0987f587f14a4e1143d022009a215772d49a85dae40d8ca03955af26ad3978a0ff965faa12915e9586249a501 0x47 0x3044022044dc17b0887c161bb67ba9635bf758735bdde503e4b0a0987f587f14a4e1143d022009a215772d49a85dae40d8ca03955af26ad3978a0ff965faa12915e9586249a501" ,
"2 0 0x21 0x02865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac0 2 CHECKMULTISIG NOT" ,
"STRICTENC" ,
"2-of-2 CHECKMULTISIG NOT with the second pubkey invalid, and both signatures validly encoded. Valid pubkey fails, and CHECKMULTISIG exits early, prior to evaluation of second invalid pubkey."
] ,
[
"0 0 0x47 0x3044022044dc17b0887c161bb67ba9635bf758735bdde503e4b0a0987f587f14a4e1143d022009a215772d49a85dae40d8ca03955af26ad3978a0ff965faa12915e9586249a501" ,
"2 0x21 0x02865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac0 0x21 0x02865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac0 2 CHECKMULTISIG NOT" ,
"STRICTENC" ,
"2-of-2 CHECKMULTISIG NOT with both pubkeys valid, but second signature invalid. Valid pubkey fails, and CHECKMULTISIG exits early, prior to evaluation of second invalid signature."
] ,
[
"0x47 0x304402204649e9517ef0377a8f8270bd423053fd98ddff62d74ea553e9579558abbb75e4022044a2b2344469c12e35ed898987711272b634733dd0f5e051288eceb04bd4669e05" ,
"0x41 0x048282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f5150811f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf CHECKSIG" ,