Bitcoin Forum
May 17, 2024, 04:20:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Delete private key from wallet  (Read 1201 times)
Hyena (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1013



View Profile WWW
October 11, 2014, 01:02:15 PM
 #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.

★★★ CryptoGraffiti.info ★★★ Hidden Messages Found from the Block Chain (Thread)
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
October 11, 2014, 01:09:00 PM
 #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).

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
Hyena (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1013



View Profile WWW
October 11, 2014, 02:09:57 PM
 #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.

★★★ CryptoGraffiti.info ★★★ Hidden Messages Found from the Block Chain (Thread)
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4172
Merit: 8421



View Profile WWW
October 11, 2014, 06: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)
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!