Bitcoin Forum
May 28, 2024, 09:52:45 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Delete Private Keys  (Read 735 times)
Ateq Ejaz (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 06, 2017, 11:24:02 AM
 #1

Hey guys!
Firstly I want to tell you that I am using Bitcoind with RPC commands.
1-  Is bitcoin core generate  private key with wallet address and save it to server or it generate it when we call function which return wallet private keys ?
2- if bitcoin core server save private keys on server then how i can delete them?

Thanks
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3402
Merit: 6659


Just writing some code


View Profile WWW
April 06, 2017, 01:00:31 PM
 #2

Bitcoin Core generates several private keys, their respective public keys, and the associated address, before you request a new address. These are saved to the wallet.dat file and then read from that file when you need to use them.

You cannot delete individual private keys. Deleting private keys would be a very good way to shoot yourself in the foot and lose a lot of money, so Bitcoin Core does not provide such a functionality. If you want to delete all of the private keys, you can just delete the wallet.dat file.

jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
April 06, 2017, 09:34:30 PM
 #3

Hey guys!
Firstly I want to tell you that I am using Bitcoind with RPC commands.
1-  Is bitcoin core generate  private key with wallet address and save it to server or it generate it when we call function which return wallet private keys ?
2- if bitcoin core server save private keys on server then how i can delete them?

Thanks

If the wallet is unencrypted, then you should be able to enter the wallet.dat file and delete the private keys. You'd have to delete other intricate information specific to that without destroying other information which is why it's a bad idea to do it and could end up losing you all of the bitcoins in tat wallet (as achow101 has suggested).
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!