Bitcoin Forum
May 24, 2024, 02:51:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [PATCH] listaccounts for JSON  (Read 1256 times)
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1076


View Profile
December 08, 2010, 10:12:07 AM
 #1

See attached.
(add .diff please to attach forum filter Wink

http://pastecoin.com/uploads/rpcdiff
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1596
Merit: 1091


View Profile
December 08, 2010, 06:03:50 PM
 #2

+1 good stuff

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

Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1076


View Profile
December 08, 2010, 08:39:31 PM
 #3

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.
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!