Bitcoin Forum
May 24, 2024, 03:37:31 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: List accounts through rpc  (Read 1193 times)
ghostdogg (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


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.
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5208
Merit: 13013


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

0.3.20 has a listaccounts method.

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