Bitcoin Forum
December 08, 2016, 11:57:58 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Command to remove unwanted accounts  (Read 4759 times)
c_anderson
Newbie
*
Offline Offline

Activity: 3


View Profile
February 24, 2011, 11:52:08 PM
 #1

bitcoind listaccounts currently shows five accounts, only one of which is being used. What's the command to delete empty accounts, or at least remove them from my wallet?
1481198278
Hero Member
*
Offline Offline

Posts: 1481198278

View Profile Personal Message (Offline)

Ignore
1481198278
Reply with quote  #2

1481198278
Report to moderator
1481198278
Hero Member
*
Offline Offline

Posts: 1481198278

View Profile Personal Message (Offline)

Ignore
1481198278
Reply with quote  #2

1481198278
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504


PGP OTC WOT: EB7FCE3D


View Profile
February 25, 2011, 12:13:32 AM
 #2

bitcoind listaccounts currently shows five accounts, only one of which is being used. What's the command to delete empty accounts, or at least remove them from my wallet?

not implemented yet.

there are some unofficial tools that let you make surgery to your wallet but the official app does not remove or hide them from the gui.

You can't build a reputation on what you are going to do.
Gavin Andresen
Legendary
*
Offline Offline

Activity: 1652


Chief Scientist


View Profile WWW
February 25, 2011, 07:59:29 PM
 #3

Yes, not implemented yet.  Do you want to remove them just so the listaccounts output isn't messy, or is the lack of a deleteaccount API call preventing you from doing something you need to do?

How often do you get the chance to work on a potentially world-changing project?
c_anderson
Newbie
*
Offline Offline

Activity: 3


View Profile
February 25, 2011, 11:37:08 PM
 #4

Yes. I'm just OCD, and would like to be able to remove "temp" and "test" and "" so I don't see them.
Alex Beckenham
Full Member
***
Offline Offline

Activity: 154


View Profile
April 01, 2011, 07:55:23 AM
 #5

Also, if they still can't be removed yet, can they be renamed?

tytus
Sr. Member
****
Offline Offline

Activity: 276



View Profile WWW
July 25, 2012, 06:11:31 PM
 #6

Any updates on this issue ?

PicoStocks.com, High-tech startup fundraising, evaluation and profit sharing
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1036


View Profile WWW
August 05, 2012, 10:44:01 AM
 #7

I believe a relatively easy solution would be allowing to delete an address, but not deleting its key (so that it becomes identical to a change address).

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
leckey
Sr. Member
****
Offline Offline

Activity: 378

VisitBit.com


View Profile WWW
March 28, 2014, 02:03:50 PM
 #8

*bump* any update on this?

2112
Legendary
*
Offline Offline

Activity: 1708



View Profile
March 28, 2014, 06:39:24 PM
 #9

*bump* any update on this?
For the truly OCD people there are two choices that are much simpler than modifying the bitcoin client:

1) write a C/C++ wallet cleaner utility using the matching Berkeley_DB libraries
2) do db_backup/clean/db_restore using Berkeley_DB utilities. The backup format is textual and the wallet database structure is very simple, so the "clean" step can be written in any of the widely known text processing languages like awk or Perl.

Remember that when using Berkeley_DB utilities you may need to create an appropriate DB_CONFIG file to be really on the safe side. This was discussed before on this forum.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
leckey
Sr. Member
****
Offline Offline

Activity: 378

VisitBit.com


View Profile WWW
March 28, 2014, 06:55:58 PM
 #10

*bump* any update on this?
For the truly OCD people there are two choices that are much simpler than modifying the bitcoin client:

1) write a C/C++ wallet cleaner utility using the matching Berkeley_DB libraries
2) do db_backup/clean/db_restore using Berkeley_DB utilities. The backup format is textual and the wallet database structure is very simple, so the "clean" step can be written in any of the widely known text processing languages like awk or Perl.

Remember that when using Berkeley_DB utilities you may need to create an appropriate DB_CONFIG file to be really on the safe side. This was discussed before on this forum.

I think I'll opt to just stay mildly irritated by the rogue account, rather than risk breaking everything! Thanks though

Suzuki
Jr. Member
*
Offline Offline

Activity: 59


View Profile
March 30, 2014, 04:32:50 PM
 #11

In my opinion there is no need to delete empty accounts.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!