Bitcoin Forum
December 15, 2017, 06:42:18 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: Adding Vanity Addresses: Error Adding Key To Wallet  (Read 1930 times)
Sr. Member
Offline Offline

Activity: 350

Per aspera ad astra!

View Profile
July 16, 2012, 09:52:09 PM

Hi guys,

I tried to add a vanity address to my wallet and I'm getting this output (don't worry, this isn't the private key of the address I *want* to add, there's no BTC in it, etc):

2242/7989MB 1.18 0.86 0.80 1/320 20746
[1036:1035 0:565] 10:47:48 Mon Jul 16 [luceo@calumon:/dev/pts/0 +1] ~/Downloads
(1:565)$ ./oclvanitygen -v 1Fen
Prefix difficulty:                77178 1Fen
Difficulty: 77178
Device: GeForce GTX 570
Vendor: NVIDIA Corporation (10de)
Driver: 302.17
Version: OpenCL 1.1 CUDA
Max compute units: 140733193388047
Max workgroup size: 1024
Global memory: 1341325312
Max allocation: 335331328
OpenCL compiler flags: -DPRAGMA_UNROLL -cl-nv-verbose
Loading kernel binary 66ef14cf95dbfc3d0d7a99483914d081.oclbin
Grid size: 1920x2048
Modular inverse: 15360 threads, 256 ops each
Using OpenCL prefix matcher
Pattern: 1Fen                                                                  
Pubkey (hex): 047538d6da6e4817a63a71143a018bf32b02aaa5e9259ad3332e23f8e90bec0c6e99b58a956c07b0bdda0056f82551e83556257b14779ca7fab3032fde643950d0
Privkey (hex): 179A61C0695CBB5BA507339E92D9CA175E77F271B1DD1BCA705725FB0631B45C
Privkey (ASN1): 308201130201010420179a61c0695cbb5ba507339e92d9ca175e77f271b1dd1bca705725fb0631b45ca081a53081a2020101302c06072a8648ce3d0101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f300604010004010704410479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020101a144034200047538d6da6e4817a63a71143a018bf32b02aaa5e9259ad3332e23f8e90bec0c6e99b58a956c07b0bdda0056f82551e83556257b14779ca7fab3032fde643950d0
Address: 1FenBPwFKoDPQBKB9FRYHBcJzZ3jpdAc21
Privkey: 5HzgVN6et4xao3a3VeNt1NtaU24eVsb1qb7AKzvHRcz9hLsEc2L

2007/7989MB 1.27 1.03 0.88 1/327 20793
[1036:1035 0:566] 10:48:20 Mon Jul 16 [luceo@calumon:/dev/pts/0 +1] ~/Downloads
(1:565)$ bitcoind importprivkey 5HzgVN6et4xao3a3VeNt1NtaU24eVsb1qb7AKzvHRcz9hLsEc2L Testlabel
error: {"code":-4,"message":"Error adding key to wallet"}

This private key checks out successfully on, so I'm wondering what's wrong. My bitcoind version is 60300, which I believe to be the latest.

Edit: Just to confirm, this happens with the last 6 addresses I've generated.


Hero Member
Offline Offline

Posts: 1513320138

View Profile Personal Message (Offline)

Reply with quote  #2

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

Activity: 350

Per aspera ad astra!

View Profile
July 16, 2012, 09:58:53 PM

Nevermind, I was being an idiot. Had to decrypt wallet first. Roll Eyes

In case anyone's looking in future:
bitcoind walletpassphrase <yourpassword> 1000
bitcoind importprivkey xxxxxxxxxxxxxxxxxxxx

Will solve this issue.

Pages: [1]
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!