Bitcoin Forum
February 23, 2017, 06:42:25 PM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: List accounts through rpc  (Read 1047 times)
ghostdogg
Newbie
*
Offline Offline

Activity: 1


View Profile
February 22, 2011, 04:23:43 AM
 #1

I installed Bitcoin as a daemon on my linux box and I am working on making a webui in PHP. The novelty of telneting into my wallet wears off. Smiley Anyway as I've been working on it I haven't been able to find a way to query an array of accounts from Bitcoin. You either need to supply the Bitcoin address to get the account or you supply the account to get the Bitcoin address. So I've had to hardcode the account into the script to let me see the address. I also can't take advantage of the ability to make new addresses as I won't be able to see(query) them once I make them. Am I missing something or is this absent from the rpc?

EDIT: Also, this forum needs a "subscribe to thread" button for email notifications of replys.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
theymos
Administrator
Legendary
*
expert
Offline Offline

Activity: 2576


View Profile
February 22, 2011, 05:37:16 AM
 #2

0.3.20 has a listaccounts method.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
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!