Author

Topic: 2-of-3 P2SH multisig "working", but not being relayed by many nodes? (Read 904 times)

sr. member
Activity: 412
Merit: 287
Blockchain uses bitcoinj which can't handle p2sh transactions. Your transactions could be fine (I haven't looked) but you need to find somewhere else to broadcast. You can broadcast if you have bitcoinqt?
newbie
Activity: 9
Merit: 0
I have a similar but different problem:
I've been able to sign and send single input transactions from a multisig address using bitcoind like this one:
https://blockchain.info/tx/68b45d27ca8405285b4d5490095bfad50ac94c314b75e82bd976e8b40d435408
But, after signing a spent from multiple inputs, I was unable to send the following transaction from bitcoind, it also failed on blockchain tx:
https://blockchain.info/tx/6bf129bc2ef572fbf61af3ff181dc080a69adf8d0951be55d3f6588534d3645d
I got it to work by transmitting it through the same service you did: coinb.in.
Why did the transaction not send from bitcoind? Do I need to connect to a certain node before I send?
newbie
Activity: 25
Merit: 0
this is the transaction:
https://blockchain.info/tx/19f868c7cc8729ddec2c78a0f00f307824391905fe89456c3c699958f7e4fe9a

it seems blockchain now shows it as it has been accepted on the chain following my submission via coinbin. prior to that, blockchain would not show it (as an unconfirmed transaction).

this is the rawtx:
0100000001227c1d32530734974d09e778d88212f67ff52e572433158f86e8c8c0b189a46a00000 000fdfe0000483045022100e9b171318581a287327cb852b011f0e9a8b2538e4ddd5213d66e388a d0bdf75302207e97c8fd7c692b889c4d38b190d018fcdfc08bb64ea01b32a620b170fe8874ce014 830450221008e5d30379f3cfb02b786ba6c55481dba16e0494679ff5a19a5e2c0e6f7ec8d2a0220 268fbed3845858e342c2eeb4cf9ec711fda9943de2642bcf2e2a5ce3fe158846014c69522102550 6dcef68aceb74afd04cf11d78111f3be0274eb5e7b57f0e9b541a38fe43492102a7bc1d861dd37f 19c74b83dfad3471e78870a9180328074428d9e16cecb71d95210305b1f042793916aecf5ffc406 f17345b7427e66e8c1ab5f7cd7f337b56e8273a53aeffffffff0170742f00000000001976a914e6 a3996ef18c69cb1dd44720332bc9513510d13288ac00000000


legendary
Activity: 2058
Merit: 1452
can you paste the signed transaction here?
newbie
Activity: 25
Merit: 0
I have been doing a little experimenting with setting up a multisg wallet using only the vanilla client (full node).

These are my steps:
1. Create the wallet using bitcoind createmultisig and save the redeem script
2. Send some money in a transaction
3. decode raw transaction from above to get outputs / script pub key
4. create a raw transaction with syntax like:
./bitcoind createrawtransaction '[{"txid":"idfrom2","vout":0,"scriptPubKey":"pubkeyfrom3","redeemScript":"redeemscriptfrom1"}]' '{"destinationaddress":0.01}'
5. sign the raw transaction on 2 machines with the private keys
6. do sendrawtransaction

Unfortunately I got a -22 transaction rejected error!

I then tried submitting it at https://blockchain.info/pushtx but got error "Script not of right size, expecting 2 but got 4"
I searched online and found another site, https://coinb.in/send-raw-transaction.html, and managed to successfully send the raw transaction there.

It seems to be it's been 2 years since P2SH was committed to bitcoind. Am I doing something wrong or are these transactions not yet accepted on all nodes?
Jump to: