Bitcoin Forum
December 04, 2016, 06:26:19 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Error adding key to wallet  (Read 4263 times)
jankrib
Newbie
*
Offline Offline

Activity: 4


View Profile
June 17, 2012, 08:23:34 PM
 #1

Hi

I'm running bitcoin-qt version 0.6.2 on windows 7.  I'm testing the JSON API.  On testnet everything worked as expected, but now - on prodnet - I can't get importprivkey to work.  It returns the error message: "Error adding key to wallet" for the private key: 5KBn7DJRBdzdkGEo78n5M8gULKes9FTiWYjr3Ssf3QdAZP7ACGe (Newly generated, not in bitcoin-qt)

The key should be valid.  I use walletpassphrase first to unlock the wallet.  What am I doing wrong?






1480875979
Hero Member
*
Offline Offline

Posts: 1480875979

View Profile Personal Message (Offline)

Ignore
1480875979
Reply with quote  #2

1480875979
Report to moderator
1480875979
Hero Member
*
Offline Offline

Posts: 1480875979

View Profile Personal Message (Offline)

Ignore
1480875979
Reply with quote  #2

1480875979
Report to moderator
1480875979
Hero Member
*
Offline Offline

Posts: 1480875979

View Profile Personal Message (Offline)

Ignore
1480875979
Reply with quote  #2

1480875979
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480875979
Hero Member
*
Offline Offline

Posts: 1480875979

View Profile Personal Message (Offline)

Ignore
1480875979
Reply with quote  #2

1480875979
Report to moderator
1480875979
Hero Member
*
Offline Offline

Posts: 1480875979

View Profile Personal Message (Offline)

Ignore
1480875979
Reply with quote  #2

1480875979
Report to moderator
1480875979
Hero Member
*
Offline Offline

Posts: 1480875979

View Profile Personal Message (Offline)

Ignore
1480875979
Reply with quote  #2

1480875979
Report to moderator
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
June 17, 2012, 09:29:46 PM
 #2

When I get that it usually means that the key is already present in the wallet.
Try removeprivkey and then reimport.

MrVivaldi
Jr. Member
*
Offline Offline

Activity: 37



View Profile
July 05, 2012, 07:58:14 AM
 #3

Do you perhaps have an encrypted wallet file?
If so then my you need to run: bitcoind walletpassphrase YourWalletPassword 2000

A currency dependent on secrecy fears the truth.
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!