Bitcoin Forum
July 19, 2018, 12:22:52 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Command to remove unwanted accounts  (Read 5054 times)
c_anderson
Newbie
*
Offline Offline

Activity: 3
Merit: 0


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?
1532002972
Hero Member
*
Offline Offline

Posts: 1532002972

View Profile Personal Message (Offline)

Ignore
1532002972
Reply with quote  #2

1532002972
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
Merit: 500


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
Merit: 1014


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
Merit: 0


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
Merit: 100


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: 250
Merit: 250


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

Any updates on this issue ?
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1050
Merit: 1005


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: 420
Merit: 250


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

*bump* any update on this?
2112
Legendary
*
Offline Offline

Activity: 2114
Merit: 1027



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: 420
Merit: 250


View Profile
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: 58
Merit: 0


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!