Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: genjix on December 08, 2010, 07:52:45 AM



Title: get list of accounts
Post by: genjix on December 08, 2010, 07:52:45 AM
So I'm unable to use the graphical client as I'm using the SVN.

I have 20 btc somewhere belonging to an account I don't know. How can I get a list of all the accounts in my wallet?

Is there a way to send X just from all accounts?


Title: Re: get list of accounts
Post by: davout on December 08, 2010, 08:31:31 AM
So I'm unable to use the graphical client as I'm using the SVN.

I have 20 btc somewhere belonging to an account I don't know. How can I get a list of all the accounts in my wallet?

Is there a way to send X just from all accounts?

The SVN version includes the graphical GUI.
Just use your wallet with any copy of the client and your coins should be available, accounts are irrelevant here.


Title: Re: get list of accounts
Post by: genjix on December 08, 2010, 09:17:39 AM
except it uses wx 2.9 and ubuntu only has 2.8. And I don't want to try to manually compile wx (dependency hell)...

Is there not just a way to get a list of my accounts using bitcoind?

I also need it for hosted services where I login using ssh.


Title: Re: get list of accounts
Post by: davout on December 08, 2010, 09:23:02 AM
except it uses wx 2.9 and ubuntu only has 2.8. And I don't want to try to manually compile wx (dependency hell)...

Is there not just a way to get a list of my accounts using bitcoind?

I also need it for hosted services where I login using ssh.

Yes, that's right.

I don't see any way to get a list of accounts. However getbalance will show the global wallet balance whatever the accounts partial balances are associated to.



Title: Re: get list of accounts
Post by: genjix on December 08, 2010, 10:09:36 AM
ok I've made a fix for this anyway which I'm submitting.


Title: Re: get list of accounts
Post by: davout on December 08, 2010, 10:31:38 AM
You should submit a pull request through git to gavins fork


Title: Re: get list of accounts
Post by: davux on December 08, 2010, 04:16:23 PM
How can I get a list of all the accounts in my wallet?

Doesn't
Code:
bitcoind listreceivedbyaccount 0 true
do that?


Title: Re: get list of accounts
Post by: davout on December 08, 2010, 04:23:13 PM
Is there a way to send X just from all accounts?

didn't read that part, yes you can, just use the sendtoaddress command and it will bypass accounts alltogether


Title: Re: get list of accounts
Post by: genjix on December 08, 2010, 04:38:29 PM
Is there a way to send X just from all accounts?

didn't read that part, yes you can, just use the sendtoaddress command and it will bypass accounts alltogether
ah great.


Title: Re: get list of accounts
Post by: genjix on December 08, 2010, 04:42:50 PM
How can I get a list of all the accounts in my wallet?

Doesn't
Code:
bitcoind listreceivedbyaccount 0 true
do that?

ah this does the trick. Still a listaccounts JSON method is a good patch to have.


Title: Re: get list of accounts
Post by: Cryptoman on December 08, 2010, 05:50:26 PM
A "listaddresses" method would be nice too.  List all addresses and their respective accounts.

Edit: I see that "./bitcoind listreceivedbyaddress 0 true" does this.