Bitcoin Forum
December 11, 2018, 06:05:57 AM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [PATCH] listaccounts for JSON  (Read 1118 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
1544508357
Hero Member
*
Offline Offline

Posts: 1544508357

View Profile Personal Message (Offline)

Ignore
1544508357
Reply with quote  #2

1544508357
Report to moderator
1544508357
Hero Member
*
Offline Offline

Posts: 1544508357

View Profile Personal Message (Offline)

Ignore
1544508357
Reply with quote  #2

1544508357
Report to moderator
Be very wary of relying on JavaScript for security on sites such as blockchain.info and brainwallet.org. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1544508357
Hero Member
*
Offline Offline

Posts: 1544508357

View Profile Personal Message (Offline)

Ignore
1544508357
Reply with quote  #2

1544508357
Report to moderator
1544508357
Hero Member
*
Offline Offline

Posts: 1544508357

View Profile Personal Message (Offline)

Ignore
1544508357
Reply with quote  #2

1544508357
Report to moderator
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1554
Merit: 1002


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!