Author

Topic: Delete private key from wallet (Read 1217 times)

staff
Activity: 4284
Merit: 8808
October 11, 2014, 01:19:11 PM
#4
We have intentionally not provided one because it is such a huge footgun and is almost never useful.  Use an external tool to edit the wallet. (which also helpfully makes clear the level of danger in such an operation)
legendary
Activity: 2114
Merit: 1015
October 11, 2014, 09:09:57 AM
#3
Huh? Bitcoin-qt has had *coin-control* for a long time now.

Ok it has, just had to enable it. Anyway, I did not immediately see a possibility to permanently lock some address so that its funds would never be consumed by any transaction.

Anyway - you can use pywallet to delete keys from your wallet (take a backup of your wallet first of course).

That's what I feared. At least an RPC call should be available for deleting a private keys.
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
October 11, 2014, 08:09:00 AM
#2
Huh? Bitcoin-qt has had *coin-control* for a long time now.

Anyway - you can use pywallet to delete keys from your wallet (take a backup of your wallet first of course).
legendary
Activity: 2114
Merit: 1015
October 11, 2014, 08:02:15 AM
#1
So here's my problem. I imported a private key that receives donations to my personal hot wallet. I am not allowed to spend money on that donations address but it is now stuck in my hot wallet! How can I remove the imported private key from my hot wallet? It renders my whole wallet useless because Bitcoin-core lacks coin control and whenever I try to spend money from my hot wallet the donations might also be used up in transactions.
Jump to: