Bitcoin Forum
July 18, 2018, 05:15:17 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [PATCH] listaccounts for JSON  (Read 1086 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
1531890917
Hero Member
*
Offline Offline

Posts: 1531890917

View Profile Personal Message (Offline)

Ignore
1531890917
Reply with quote  #2

1531890917
Report to moderator
1531890917
Hero Member
*
Offline Offline

Posts: 1531890917

View Profile Personal Message (Offline)

Ignore
1531890917
Reply with quote  #2

1531890917
Report to moderator
The World's Betting Exchange

Bet with play money. Win real Bitcoin. 5BTC Prize Fund for World Cup 2018.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1531890917
Hero Member
*
Offline Offline

Posts: 1531890917

View Profile Personal Message (Offline)

Ignore
1531890917
Reply with quote  #2

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