Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: ghostdogg on February 22, 2011, 04:23:43 AM



Title: List accounts through rpc
Post by: ghostdogg on February 22, 2011, 04:23:43 AM
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. :) 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.


Title: Re: List accounts through rpc
Post by: theymos on February 22, 2011, 05:37:16 AM
0.3.20 has a listaccounts method.