Author

Topic: error trying to import private key (Read 1112 times)

full member
Activity: 210
Merit: 100
February 28, 2014, 07:02:41 AM
#13
Try
 
importprivkey [label]
legendary
Activity: 2212
Merit: 1199
February 27, 2014, 03:43:31 PM
#12
indeed. Try to import those keys into another client...
seems strange if you did everything like it is explained above..

let us know what happend.

Smiley importing private keys is always a bit stressing Tongue isn't? Smiley
full member
Activity: 210
Merit: 100
February 27, 2014, 01:42:02 PM
#11
Try using another wallet like electrum
newbie
Activity: 34
Merit: 0
February 20, 2014, 03:58:32 AM
#10
to solve this problem you should unlock your wallet first
sr. member
Activity: 531
Merit: 260
Vires in Numeris
February 19, 2014, 04:01:14 PM
#9
https://en.bitcoin.it/wiki/How_to_import_private_keys

> Bitcoin-QT does not enable its RPC interface by default. To enable it:

>   Close Bitcoin-QT and restart it with bitcoin-qt -server.
newbie
Activity: 56
Merit: 0
February 18, 2014, 01:37:26 PM
#8
Can you just import into another client (blockchain.info, or maybe multibit), then send to your address?
sr. member
Activity: 531
Merit: 260
Vires in Numeris
February 18, 2014, 01:35:56 PM
#7
I think there's something about the qt or daemon that requires the .conf file exists with rpc port, otherwise it doesn't import.

Check that in ~/.bitcoin or wherever for your OS, that there is a bitcoin.conf and that it contains detail of the form:

rpcuser=wuzamarine
rpcpassword=randomstringhereaosudhaiosdubaohbnqld
rpcport=8332
daemon=1
sr. member
Activity: 264
Merit: 250
derp
February 18, 2014, 06:24:12 AM
#6
was looking on google quickly.. any chance the key is imported alrdy ?

It did import something, at one point the label 'dude' appeared (the label I was using) but the address was different and so was the private key. It's as though bitcoind said "well, you obviously want an address, no clue what you are doing with this one, we'll just make one up for you".

I have not been able to reproduce the step since with a new label 'dude2'.

Trying a different server now, maybe it's a local issue.
legendary
Activity: 910
Merit: 1000
★YoBit.Net★ 350+ Coins Exchange & Dice
February 17, 2014, 11:41:17 PM
#5
was looking on google quickly.. any chance the key is imported alrdy ?
sr. member
Activity: 264
Merit: 250
derp
February 17, 2014, 11:39:43 PM
#4
Did you unlock wallet first ?

No, there is no password or encryption to unlock. Unless bitcoind throws a lock on by default I don't know about.

nope

root@coined:/home# bitcoind walletpassphrase "" 1000
error: {"code":-15,"message":"Error: running with an unencrypted wallet, but walletpassphrase was called."}
sr. member
Activity: 264
Merit: 250
derp
February 17, 2014, 11:36:21 PM
#3
Did you unlock wallet first ?

No, there is no password or encryption to unlock. Unless bitcoind throws a lock on by default I don't know about.
legendary
Activity: 910
Merit: 1000
★YoBit.Net★ 350+ Coins Exchange & Dice
February 17, 2014, 11:29:37 PM
#2
Did you unlock wallet first ?
sr. member
Activity: 264
Merit: 250
derp
February 17, 2014, 11:16:01 PM
#1
I am in a special situation where I need to import my private key credentials and basically restore a wallet to bitcoind. bitcoind is running and I do have an rpc user/pass and server=1 in the bitcoind.conf, but no matter what I do, when I try and import the key I get the following error.

root@coined:/home#  bitcoind importprivkey "5JxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxHjdCia9dt7" "root"
error: {"code":-4,"message":"Error adding key to wallet"}
Jump to: