Bitcoin Forum
November 05, 2024, 01:52:40 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Stuck trying to import my key  (Read 583 times)
wuzamarine (OP)
Sr. Member
****
Offline Offline

Activity: 264
Merit: 250

derp


View Profile
February 18, 2014, 02:47:58 AM
 #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
BitcoinHoarder
Full Member
***
Offline Offline

Activity: 146
Merit: 103


View Profile
February 18, 2014, 04:57:13 PM
 #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.
Amitabh S
Legendary
*
Offline Offline

Activity: 1001
Merit: 1005


View Profile
February 19, 2014, 08:45:24 PM
 #3

import the key into blockchain.info

If that fails the key is corrupted.

Coinsecure referral ID: https://coinsecure.in/signup/refamit (use this link to signup)
davidpbrown
Sr. Member
****
Offline Offline

Activity: 531
Merit: 260


Vires in Numeris


View Profile WWW
February 19, 2014, 08: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

฿://12vxXHdmurFP3tpPk7bt6YrM3XPiftA82s
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!