Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: genjix on December 08, 2010, 10:12:07 AM



Title: [PATCH] listaccounts for JSON
Post by: genjix on December 08, 2010, 10:12:07 AM
See attached.
(add .diff please to attach forum filter ;)

http://pastecoin.com/uploads/rpcdiff


Title: Re: [PATCH] listaccounts for JSON
Post by: jgarzik on December 08, 2010, 06:03:50 PM
+1 good stuff

Further suggestion:  return pairs of Objects, listing balance alongside each account.


Title: Re: [PATCH] listaccounts for JSON
Post by: genjix on December 08, 2010, 08:39:31 PM
gavin suggested and I've confirmed there's a problem with this where if you do:

bitcoind move "OldAccount" "NewAccount" 10

Where NewAccount has never received any BTC before, then it doesn't work.