Bitcoin Forum
June 19, 2024, 01:45:09 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mystery transaction in block 299506 -- Can it be spent?  (Read 724 times)
keatonatron (OP)
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


Jack of oh so many trades.


View Profile
May 07, 2014, 03:52:33 PM
 #1

Hey all,

I noticed this transaction: https://blockchain.info/tx/136becd0892fa38c5aca8104db8b90b3a0e6b40912b7d1462aed583c067054cd

It kind of looks like the output script is saying, as long as you provide a valid multisig for any address you can spend it (the wiki says OP_MULTISIG drops one item from the stack, so I'm guessing the OP_NOT just gets ignored. If not, does it mean anything that isn't a multisig is usable??)

Is this transaction spendable? Does OP_MULTISIG even work when it isn't a multisig address?

1KEATSvAhbB7yj2baLB5xkyJSnkfqPGAqk
telepatheic
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile
May 07, 2014, 04:13:13 PM
 #2

Yes it is spendable by placing an invalid signature followed by some pub keys.

Code:
0 <invalid-sig> 1 <pub1> <pub2> 2

will spend the transaction.
keatonatron (OP)
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


Jack of oh so many trades.


View Profile
May 08, 2014, 05:35:02 AM
 #3

Nice. Why are the public keys required? Shouldn't anything that fails the multisig check work, or does OP_MULTISIG error out if it doesn't have them? (e.g. NULL != FALSE)

1KEATSvAhbB7yj2baLB5xkyJSnkfqPGAqk
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!