Bitcoin Forum
August 17, 2018, 03:24:00 AM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [PATCH] listaccounts for JSON  (Read 1109 times)
genjix
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1000


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
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1534476240
Hero Member
*
Offline Offline

Posts: 1534476240

View Profile Personal Message (Offline)

Ignore
1534476240
Reply with quote  #2

1534476240
Report to moderator
1534476240
Hero Member
*
Offline Offline

Posts: 1534476240

View Profile Personal Message (Offline)

Ignore
1534476240
Reply with quote  #2

1534476240
Report to moderator
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1554
Merit: 1001


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
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1000


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:  

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!