Bitcoin Forum
May 24, 2024, 09:29:10 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Wallet address changed after encryption  (Read 540 times)
adamf (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 1


View Profile
July 13, 2017, 03:03:39 PM
Merited by ABCbits (1)
 #1

Hello people this is my first post here, so apologies if it's a bit of a newbie question  Roll Eyes

I've encrypted my wallet using encryptwallet "passphrase" under bitcoind daemon and after I've done that the old address doesn't show up anymore when I type getaccountaddress 0. Instead, a new address shows up. I still can see the private keys of the old address as well as the new address.

In the blockchain seems like the new address doesn't exist, however I can see the balance of the old address in the blockchain and also with getinfo. I am quite concerned about this and I would love to have some advices about the best option to choose in order for me to not loose the fund inside the wallet.

Are there any remote chances that if I send these coins to another wallet those will be lost? What if I send the coins from the old address to the new address?

I am quite freaking out cause there's a little bit of good money on this wallet.  Undecided

What do you think would be the best choice?

Thanks a lot!
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3402
Merit: 6653


Just writing some code


View Profile WWW
July 13, 2017, 05:50:55 PM
 #2

That is expected behavior. Bitcoin Core will generate new private keys (and a new master HD key if HD is enabled) after you turn on encryption since the unencrypted private keys could have been exposed. The new keys will always be encrypted. Your previously used private keys will still be available so you can still spend any coins you had, but any keys generated after enabling encryption will be new to your wallet.

vincentvincent
Sr. Member
****
Offline Offline

Activity: 285
Merit: 251


View Profile
July 14, 2017, 10:56:53 AM
Merited by ABCbits (1)
 #3

Also make sure that you create a new backup of your wallet.dat file!
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!