Author

Topic: Stuck trying to import my key (Read 584 times)

sr. member
Activity: 531
Merit: 260
Vires in Numeris
February 19, 2014, 03:58:29 PM
#4
I think you have to use
bitcoin-qt -server

before the daemon can import. You might also need the rpcport in the bitcoin.conf too, not sure.

See https://en.bitcoin.it/wiki/How_to_import_private_keys
legendary
Activity: 1001
Merit: 1005
February 19, 2014, 03:45:24 PM
#3
import the key into blockchain.info

If that fails the key is corrupted.
full member
Activity: 146
Merit: 103
February 18, 2014, 11:57:13 AM
#2
I don't know why you would have a space before bitcoind but that is irrelevant because you are getting the error.

My bet is that the privkey is bad, otherwise it would work.
sr. member
Activity: 264
Merit: 250
derp
February 17, 2014, 09:47:58 PM
#1
root@coined:/home# bitcoind -daemon
Bitcoin server starting
root@coined:/home#  bitcoind importprivkey "5zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzCia9dt7" "dude"
error: {"code":-4,"message":"Error adding key to wallet"}




It doesn't seem like rocket science.
Yes, I included the space in front of bitcoind
Jump to: