Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: gweedo on May 22, 2014, 01:16:23 AM



Title: Can someone tell me why this multi-sig transaction isn't valid?
Post by: gweedo on May 22, 2014, 01:16:23 AM
It is a 2 of 3 but it always gets rejected from the network.

Code:
signrawtransaction '0100000001f58c7ef26bff144fdb4eca28ec744b89324493cb6510ec6b4b415ab15100868900000000b500483045022100e00cd54dd114b28bb4c57959d1250b14b9ce848d77bad9b6790ff6b31a431feb0220033fb04a6d20ac5d8b2e363747cb388c6d4f238227faa267261f96b49a736e32014c6952210367927a81f07cd53725f4f10037343a8214c62c508375d5d9aa41e4a2b4df037b21032899a6a1c27c5e89d88463a400f54d03d0a24351c11c2db5d4b60b3bd5844b3a21039b6feaaf9b160f27e33335613c4cac2322f329b46a1582a25a71c0954c95e2c053aeffffffff01905f0100000000001976a914e1b6cc92a443f63cd4af2ea0876db8cf5d238c1f88ac00000000' '[{"txid":"89860051b15a414b6bec1065cb934432894b74ec28ca4edb4f14ff6bf27e8cf5","vout":0,"scriptPubKey":"a914dd30a0d039a6ead5475c3b0b10cc05f603d1faf387","redeemScript":"52210367927a81f07cd53725f4f10037343a8214c62c508375d5d9aa41e4a2b4df037b21032899a6a1c27c5e89d88463a400f54d03d0a24351c11c2db5d4b60b3bd5844b3a21039b6feaaf9b160f27e33335613c4cac2322f329b46a1582a25a71c0954c95e2c053ae"}]' '["<private key>"]'

Code:
{
"hex" : "0100000001f58c7ef26bff144fdb4eca28ec744b89324493cb6510ec6b4b415ab15100868900000000fdfe0000483045022100e00cd54dd114b28bb4c57959d1250b14b9ce848d77bad9b6790ff6b31a431feb0220033fb04a6d20ac5d8b2e363747cb388c6d4f238227faa267261f96b49a736e3201483045022100c6f2d0925df982a5e9a9ba98cc82cbc734d28ab2de3fe5c189a3857ed454b856022011f6e1c9cc5f904341c176849b26cb207cc1911e7ef78ad96e950f1e462db351014c6952210367927a81f07cd53725f4f10037343a8214c62c508375d5d9aa41e4a2b4df037b21032899a6a1c27c5e89d88463a400f54d03d0a24351c11c2db5d4b60b3bd5844b3a21039b6feaaf9b160f27e33335613c4cac2322f329b46a1582a25a71c0954c95e2c053aeffffffff01905f0100000000001976a914e1b6cc92a443f63cd4af2ea0876db8cf5d238c1f88ac00000000",
"complete" : true
}

Any help would be much appreciated I think it is a bug in bitcoin core 0.9.1.


Title: Re: Can someone tell me why this multi-sig transaction isn't valid?
Post by: grue on May 22, 2014, 02:06:24 AM
I think it is a bug in bitcoin core 0.9.1.
Have you tried preparing the transaction using sx?


Title: Re: Can someone tell me why this multi-sig transaction isn't valid?
Post by: grue on May 22, 2014, 02:14:47 AM
don't bother. I decoded the redeem script, and it turns out the input has already been spent (https://blockchain.info/address/3MrZWgam71cKx6Dye2qgq6NZkahtU5vvDF).

Code:
user@ubuntu:~$ sx validtx
Status: Matching previous object found



Title: Re: Can someone tell me why this multi-sig transaction isn't valid?
Post by: gweedo on May 22, 2014, 02:24:50 AM
don't bother. I decoded the redeem script, and it turns out the input has already been spent (https://blockchain.info/address/3MrZWgam71cKx6Dye2qgq6NZkahtU5vvDF).

Code:
user@ubuntu:~$ sx validtx
Status: Matching previous object found

Ok that is strange.