Bitcoin Forum
September 25, 2016, 08:49:20 PM *
News: Latest stable version of Bitcoin Core: 0.13.0 (New!) [Torrent]. Make sure you verify it.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: get list of accounts  (Read 1468 times)
genjix
Legendary
*
Offline Offline

Activity: 1232


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?

Donate to DarkWallet
1474836560
Hero Member
*
Offline Offline

Posts: 1474836560

View Profile Personal Message (Offline)

Ignore
1474836560
Reply with quote  #2

1474836560
Report to moderator
1474836560
Hero Member
*
Offline Offline

Posts: 1474836560

View Profile Personal Message (Offline)

Ignore
1474836560
Reply with quote  #2

1474836560
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
davout
Legendary
*
Offline Offline

Activity: 1358


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

Activity: 1232


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.

Donate to DarkWallet
davout
Legendary
*
Offline Offline

Activity: 1358


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

Activity: 1232


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

ok I've made a fix for this anyway which I'm submitting.

Donate to DarkWallet
davout
Legendary
*
Offline Offline

Activity: 1358


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: 289


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: 1358


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

Activity: 1232


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.

Donate to DarkWallet
genjix
Legendary
*
Offline Offline

Activity: 1232


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.

Donate to DarkWallet
Cryptoman
Hero Member
*****
Offline Offline

Activity: 728



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:  

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!