Author

Topic: Odd and weirds scripts. Are the following spendable? (Read 747 times)

legendary
Activity: 1260
Merit: 1019
https://blockchain.info/tx/b96af3b69b48a82c5eae3e44ebb6ef93f30d7764b1d5b40243e11b0d374ac1b7
is some data (ASCII-art?) stored in the blockchain
and, yes, all these outputs are unspendable. because these pushes are not public-keys
legendary
Activity: 1120
Merit: 1149
Heck, a 0 of m CHECKMULTISIG is valid...

Your P2SH transaction is from prior the P2SH turn-on date, which is why it was allowed into the blockchain at that time.
donator
Activity: 1218
Merit: 1079
Gerald Davis
1 of 1 MULTISIG
Is a 1 of 1 "multisig" valid?
OP_1 OP_1 OP_CHECK_MULTISIG

Example hasn't been spent but w/ a 1 satoshi output I don't think it will be.  Is output 20 otherwise valid?
http://webbtc.com/tx/b96af3b69b48a82c5eae3e44ebb6ef93f30d7764b1d5b40243e11b0d374ac1b7

P2SH "Spend" without a signature?

http://webbtc.com/tx/6a26d2ecb67f27d1fa5524763b49029d7106e91e3cc05743073461a719776192

Code:
getrawtransaction 6a26d2ecb67f27d1fa5524763b49029d7106e91e3cc05743073461a719776192 1

{
"hex" : "0100000001f6ea284ec7521f8a7d094a6cf4e6873098b90f90725ffd372b343189d7a4089c0100000026255121029b6d2c97b8b7c718c325d7be3ac30f7c9d67651bce0c929f55ee77ce58efcf8451aeffffffff0130570500000000001976a9145a3acbc7bbcc97c5ff16f5909c9d7d3fadb293a888ac00000000",
"txid" : "6a26d2ecb67f27d1fa5524763b49029d7106e91e3cc05743073461a719776192",
"version" : 1,
"locktime" : 0,
"vin" : [
{
"txid" : "9c08a4d78931342b37fd5f72900fb9983087e6f46c4a097d8a1f52c74e28eaf6",
"vout" : 1,
"scriptSig" : {
"asm" : "5121029b6d2c97b8b7c718c325d7be3ac30f7c9d67651bce0c929f55ee77ce58efcf8451ae",
"hex" : "255121029b6d2c97b8b7c718c325d7be3ac30f7c9d67651bce0c929f55ee77ce58efcf8451ae"
},
"sequence" : 4294967295
}
],
"vout" : [
{
"value" : 0.00350000,
"n" : 0,
"scriptPubKey" : {
"asm" : "OP_DUP OP_HASH160 5a3acbc7bbcc97c5ff16f5909c9d7d3fadb293a8 OP_EQUALVERIFY OP_CHECKSIG",
"hex" : "76a9145a3acbc7bbcc97c5ff16f5909c9d7d3fadb293a888ac",
"reqSigs" : 1,
"type" : "pubkeyhash",
"addresses" : [
"19E6FV3m3kEPoJD5Jz6dGKdKwTVvjsWUvu"
]
}
}
],
"blockhash" : "00000000000002dc756eebf4f49723ed8d30cc28a5f108eb94b1ba88ac4f9c22",
"confirmations" : 134376,
"time" : 1331137983,
"blocktime" : 1331137983
}

Ok Input references unspent previous output 9c08a4d78931342b37fd5f72900fb9983087e6f46c4a097d8a1f52c74e28eaf6:0 (txid:index) which is
"scriptPubKey": "OP_HASH160 19a7d869032368fd1f1e26e5e73a4ad0e474960e OP_EQUAL"

"Pay to the Script which hashes to 19a7d869032368fd1f1e26e5e73a4ad0e474960e".  Ok good so far.

The input ScriptSig is 5121029b6d2c97b8b7c718c325d7be3ac30f7c9d67651bce0c929f55ee77ce58efcf8451ae

The HASH-160(5121029b6d2c97b8b7c718c325d7be3ac30f7c9d67651bce0c929f55ee77ce58efcf8451ae) = 19a7d869032368fd1f1e26e5e73a4ad0e474960e
So redeemScript is correct (hashes to ScriptHash).  Looks good so far.

The bolded 0x21 means push the next 33 bytes (the compressed PubKey).  Right?

So decoded we have:
OP_1 0x029b6d2c97b8b7c718c325d7be3ac30f7c9d67651bce0c929f55ee77ce58efcf84 OP_1 OP_CHECK_MULTISIG

Ok another 1 of 1 multisig except a P2SH version this time.  We need the tx signed by 1 signatures from the set of 1 PubKey(s) {029b6d2c97b8b7c718c325d7be3ac30f7c9d67651bce0c929f55ee77ce58efcf84}.  Right?

Except there is no signature.

Here is the Raw Transaction:

0100000001f6ea284ec7521f8a7d094a6cf4e6873098b90f90725ffd372b343189d7a4089c0100000026255121029b6d2c97b8b7c718c325d7be3ac30f7c9d67651bce0c929f55ee77ce58efcf8451aeffffffff0130570500000000001976a9145a3acbc7bbcc97c5ff16f5909c9d7d3fadb293a888ac00000000

The redeemScript is bolded.  The blue is the TxOutHash, the green the TxOutIndex, and the red is the Sequence (end of input).  No signature for the 1 of 1 multisig.

Tx was included in a block so what am I missing?

Jump to: