Bitcoin Forum
September 27, 2018, 11:17:22 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: signrawtransaction won't sign  (Read 630 times)
dansmith
Full Member
***
Offline Offline

Activity: 202
Merit: 100


View Profile
June 01, 2013, 10:34:22 AM
 #1

Problem:
signrawtransaction refuses to sign a transaction.

I have created a 2-of-3 address and sent some BTC into it
https://blockchain.info/address/3JNaZ9A1yMpRTGyoG9Vq9MvvjKcECYbSoo

Now I'm trying to create a transaction to spend the BTC out of the 2-of-3 address.

Quote
1. createrawtransaction '[{"txid":"a3b2c1db9424a0623aa92e2ec512f6ff26401c51726151cab842dbaffc2fe81e","vout":0}]' '{"1KSuZeo4TuD9DjbQrrTUao5YSfUQ3fNNVn":0.03}'

01000000011ee82ffcafdb42b8ca516172511c4026fff612c52e2ea93a62a02494dbc1b2a300000 00000ffffffff01c0c62d00000000001976a914ca588a5e4a878c889ec86fc77c7907edd4b67987 88ac00000000
let's call this ^^^ <hex string>

Quote
2. signrawtransaction <hex string> null '["5J...one of the 3 priv keys used to create the 2-of-3 address..SoV"]'

{
"hex" : "01000000011ee82ffcafdb42b8ca516172511c4026fff612c52e2ea93a62a02494dbc1b2a300000 00000ffffffff01c0c62d00000000001976a914ca588a5e4a878c889ec86fc77c7907edd4b67987 88ac00000000",
"complete" : false
}

As you see, nothing gets signed.

I'm using stock bitcoin-qt 0.8.1 fully synced
The private key is definitely there, I can see its corresponding address.
I'm stuck and need advice.

https://tlsnotary.org
Transferable webpage content notarization.
Make a difference with your Ether.
Donate Ether for the greater good.
SPRING.WETRUST.IO
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1538090242
Hero Member
*
Offline Offline

Posts: 1538090242

View Profile Personal Message (Offline)

Ignore
1538090242
Reply with quote  #2

1538090242
Report to moderator
pc
Sr. Member
****
Offline Offline

Activity: 253
Merit: 250


View Profile
June 02, 2013, 01:35:33 AM
 #2

For a multisig address, you need to pass along to signrawtransaction the information about how to construct the multisig address. Otherwise, it doesn't know how to sign it. I think it goes where you put the "null" parameter… It can't be null to do what you're trying to do.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!