Bitcoin Forum
December 07, 2016, 10:19:24 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: How to rename or delete an account via the RPC interface?  (Read 1607 times)
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
June 08, 2011, 12:23:54 AM
 #1

Is there a way to delete an account (reassigning any addresses it has to the default "" account) or to rename an account?

Example sequence of events that I tried but that failed:

1. I created an address and assign it to a new account named "myacount" (with a typo in it).
2. I use the new address in transactions.
3. I use setaccount to reassign the address to a be in "myaccount" (with the typo fixed)

End result: myaccount exists and has the address from #2 in it.  myacount also still exists and has had a new address assigned to it by step #3.

Is there no way to make "myacount" go away or do I have to let it clutter up the account list forever?

I swear I have done something this before and had it work, but now I can't seem to make an account go away.  I know in the past I had created an address and assigned it to an account, but then decided I didn't want the account and reassigned the address to the "" account, and the unwanted account disappeared.  I don't know what I did differently in the past, but that doesn't work anymore.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
1481149164
Hero Member
*
Offline Offline

Posts: 1481149164

View Profile Personal Message (Offline)

Ignore
1481149164
Reply with quote  #2

1481149164
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Gavin Andresen
Legendary
*
qt
Offline Offline

Activity: 1652


Chief Scientist


View Profile WWW
June 08, 2011, 12:29:41 AM
 #2

Is there a way to delete an account (reassigning any addresses it has to the default "" account) or to rename an account?
No, there's no way.


How often do you get the chance to work on a potentially world-changing project?
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
June 08, 2011, 12:52:13 AM
 #3

Is there something conceptually problematic with renaming an account? 

If it is not a bad idea in the first place, I'll look at the code and see if I can figure out how to add it and then submit a pull request.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
elendir
Jr. Member
*
Offline Offline

Activity: 58


View Profile
April 20, 2013, 09:14:39 PM
 #4

Sorry for reviving this almost 2 years old thread, but I've just run into this. Why can't we rename accounts through JSON-RPC if at the same time we can do it in GUI?

Coinee = First cash-to-cash money transfer backed by bitcoin.
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!