Author

Topic: Remove PKey from Bitcoin Core (Read 208 times)

legendary
Activity: 1624
Merit: 2481
July 06, 2020, 12:47:00 PM
#5
By coincidence I stumbled upon satoshi's reasoning why you can't remove a private key from Bitcoin Core:
If you were able to delete a bitcoin address and someone sent to it, the money would be lost.  They're only about 500 bytes.


This quote is from when core didn't use HD wallets.
Today, deleting a private key and the associated address shouldn't be a problem.

It would be kind of blacklisted in the wallet.dat file (i.e. not showing / scanning this address). The seed however would still reproduce the private key of this address.

Technically this could be feasible, but probably unnecessary and problematic.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
July 04, 2020, 04:53:26 AM
#4
By coincidence I stumbled upon satoshi's reasoning why you can't remove a private key from Bitcoin Core:
If you were able to delete a bitcoin address and someone sent to it, the money would be lost.  They're only about 500 bytes.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
July 02, 2020, 02:41:17 AM
#3
Is it possible to remove private key on 1 selected address in Bitcoin Core? for example i added 1 pkey with 100k+ small transactions, and after each block Core has been freezing
As a workaround, you can restore any previous version of your wallet.dat backup if your wallet is HD.
If it's not HD (mostly from old version), make sure that it's the latest backup but your later keys after that backup wont be restored.
staff
Activity: 3458
Merit: 6793
Just writing some code
June 29, 2020, 05:06:37 PM
#2
No, you cannot.
newbie
Activity: 68
Merit: 0
June 29, 2020, 04:47:24 PM
#1
Is it possible to remove private key on 1 selected address in Bitcoin Core? for example i added 1 pkey with 100k+ small transactions, and after each block Core has been freezing
Jump to: