Bitcoin Forum
December 07, 2022, 10:16:11 AM *
News: Reminder: do not keep your money in online accounts
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [PATCH] listaccounts for JSON  (Read 1239 times)
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1050


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
1670408171
Hero Member
*
Offline Offline

Posts: 1670408171

View Profile Personal Message (Offline)

Ignore
1670408171
Reply with quote  #2

1670408171
Report to moderator
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1670408171
Hero Member
*
Offline Offline

Posts: 1670408171

View Profile Personal Message (Offline)

Ignore
1670408171
Reply with quote  #2

1670408171
Report to moderator
1670408171
Hero Member
*
Offline Offline

Posts: 1670408171

View Profile Personal Message (Offline)

Ignore
1670408171
Reply with quote  #2

1670408171
Report to moderator
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1596
Merit: 1049


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: 1050


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!