Author

Topic: Mine a MultiSig / P2SH transactions on main net - Bounty (Read 1561 times)

hero member
Activity: 910
Merit: 1005
They aren't standard, you should patch your bitcoind to mine them into blocks.

They were made standard recently. The problem was m & n are not actually numbers they are op codes e.g. OP_TURE, OP_2

My test transaction finally got mined by Ozcoin:

https://blockchain.info/tx/60a20bd93aa49ab4b28d514ec10b06e1829ce6818ec06cd3aabd013ebcdc4bb1?show_adv=true
hero member
Activity: 742
Merit: 500
So I've made a bit of progress and have patched bitcoin-js so it can generate multi-sig transactions and also patched my bitcoind with the latest git Script changes.

However for some reason the MultiSig transactions are not passing IsStandard() and are being rejected.
They aren't standard, you should patch your bitcoind to mine them into blocks.
hero member
Activity: 910
Merit: 1005
So I've made a bit of progress and have patched bitcoin-js so it can generate multi-sig transactions and also patched my bitcoind with the latest git Script changes.

However for some reason the MultiSig transactions are not passing IsStandard() and are being rejected.

Quote
ERROR: nonstandard txout: 1 04cc71eb30d653c0c3163990c47b976f3fb3f37cccdcbedb169a1dfef58bbfbfaff7d8a473e7e2e 6d317b87bafe8bde97e3cf8f065dec022b51d11fcdd0d348ac4 04cc71eb30d653c0c3163990c47b976f3fb3f37cccdcbedb169a1dfef58bbfbfaff7d8a473e7e2e 6d317b87bafe8bde97e3cf8f065dec022b51d11fcdd0d348ac4 2 OP_CHECKMULTISIG

Just to confirm should n & m be pushed onto the stack as if they were data?
newbie
Activity: 28
Merit: 0
yep. looks like bip17
there are more here:
http://blockchain.info/strange-transactions
hero member
Activity: 910
Merit: 1005
newbie
Activity: 28
Merit: 0
so do you know in which blocks on the real network the bip17 transacions are?
staff
Activity: 4284
Merit: 8808
gavin said luke had to test bip17 on the real network because he wrote a stealing bot on testnet
so those transactions should already be somewhere out there in the real blockchain
(and you can steal luke's money if you find them Smiley )

No, Luke didn't have to test on the real network.

He tested on the real network before he was aware of the stealing bot, in fact. He tested on the real network because he controls the content of the blocks of 400GH/s.  He tested on the real network because he could.

When the stealing bot was noticed and was causing Luke some trouble with continued testing I mined some 40ish blocks to reorganize testnet to undo the stealing bot so Luke could continue his testing there.  (something that I couldn't do on the real network, which is part of the reason testnet is so much better for testing)
newbie
Activity: 28
Merit: 0
gavin said luke had to test bip17 on the real network because he wrote a stealing bot on testnet
so those transactions should already be somewhere out there in the real blockchain
(and you can steal luke's money if you find them Smiley )
hero member
Activity: 742
Merit: 500
Nice request !
I like strange TXes too :)
hero member
Activity: 910
Merit: 1005
I need someone to create and redeem one M-Of-N transaction and one P2SH transaction on main net.

Offering modest bounty of 2 BTC.


Jump to: