Bitcoin Forum
April 20, 2024, 12:39:53 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: get list of accounts  (Read 1832 times)
genjix (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1072


View Profile
December 08, 2010, 07:52:45 AM
 #1

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

Posts: 1713573593

View Profile Personal Message (Offline)

Ignore
1713573593
Reply with quote  #2

1713573593
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713573593
Hero Member
*
Offline Offline

Posts: 1713573593

View Profile Personal Message (Offline)

Ignore
1713573593
Reply with quote  #2

1713573593
Report to moderator
1713573593
Hero Member
*
Offline Offline

Posts: 1713573593

View Profile Personal Message (Offline)

Ignore
1713573593
Reply with quote  #2

1713573593
Report to moderator
1713573593
Hero Member
*
Offline Offline

Posts: 1713573593

View Profile Personal Message (Offline)

Ignore
1713573593
Reply with quote  #2

1713573593
Report to moderator
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
December 08, 2010, 08:31:31 AM
 #2

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.

genjix (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1072


View Profile
December 08, 2010, 09:17:39 AM
 #3

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

Activity: 1372
Merit: 1007


1davout


View Profile WWW
December 08, 2010, 09:23:02 AM
 #4

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.


genjix (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1072


View Profile
December 08, 2010, 10:09:36 AM
 #5

ok I've made a fix for this anyway which I'm submitting.
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
December 08, 2010, 10:31:38 AM
 #6

You should submit a pull request through git to gavins fork

davux
Sr. Member
****
Offline Offline

Activity: 288
Merit: 263


Firstbits.com/1davux


View Profile WWW
December 08, 2010, 04:16:23 PM
 #7

How can I get a list of all the accounts in my wallet?

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

1DavuxH9tLqU4c7zvG387aTG4mA7BcRpp2
México (Oaxaca) – France - Leeds
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
December 08, 2010, 04:23:13 PM
 #8

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

genjix (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1072


View Profile
December 08, 2010, 04:38:29 PM
 #9

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.
genjix (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1072


View Profile
December 08, 2010, 04:42:50 PM
 #10

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

Activity: 726
Merit: 500



View Profile
December 08, 2010, 05:50:26 PM
 #11

A "listaddresses" method would be nice too.  List all addresses and their respective accounts.

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


"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
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!