Bitcoin Forum
June 22, 2024, 03:33:09 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Balance for individual addresses  (Read 1026 times)
RoadStress (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1007


View Profile
October 21, 2013, 06:25:29 PM
 #1

I have no idea if this was proposed before. Let's say you have 10 addresses in a wallet.dat file. Is there a way to see the balance for each address? How hard is it to implement this?

Rluner
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
October 21, 2013, 06:38:44 PM
 #2

Do you mean ten other addresses that have sent or received money from you?

Other than just manually searching the block chain, do you mean?

dserrano5
Legendary
*
Offline Offline

Activity: 1974
Merit: 1029



View Profile
October 21, 2013, 06:58:04 PM
 #3

Which wallet are you talking about? Each one is different.
Rluner
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
October 21, 2013, 07:26:33 PM
 #4

I was guessing bitcoin_qt as its the most common.
RoadStress (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1007


View Profile
October 21, 2013, 07:58:27 PM
 #5

Well i am talking about bitcoin-qt. I thought this sub forum is only for that client.

@Rluner I am talking about ten other addresses that are mine. If i receive money on 3 addresses i would like to keep track of them individually from the client.

DannyHamilton
Legendary
*
Offline Offline

Activity: 3430
Merit: 4669



View Profile
October 21, 2013, 10:52:27 PM
 #6

The version of Bitcoin-Qt maintained by the Bitcoin Foundation does not have coin control built in.

Search the forum for "Yet Another Coin Control" for a version of Bitcoin-Qt that allows you this sort of control.
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
October 21, 2013, 10:57:57 PM
Last edit: October 30, 2013, 11:18:21 AM by Raoul Duke
 #7

You can always use the listaccounts command. Ofcourse you'll need to add each address to one account.
And you'll need to use the command line or the console.
The following may also work.
Code:
listreceivedbyaddress 0 true 
DannyHamilton
Legendary
*
Offline Offline

Activity: 3430
Merit: 4669



View Profile
October 21, 2013, 11:00:31 PM
 #8

You can always use the listaccounts command. Ofcourse you'll need to add each address to one account.
And you'll need to use the command line or the console.
The following may also work.
Code:
listreceivedbyaddress 0 true 

I assume that:

Code:
listunspent

Would work as well, but that just seems messy.
RoadStress (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1007


View Profile
October 22, 2013, 08:26:43 PM
Last edit: October 22, 2013, 10:10:28 PM by psy
 #9

You can always use the listaccounts command. Ofcourse you'll need to add each address to one account.
And you'll need to use the command line or the console.
The following may also work.
Code:
listreceivedbyaddress 0 true

Thank you, but i find this feature useful in the main client or any other client. Why is it so hard to implement it? What is the actual process for this?

Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
October 22, 2013, 10:13:27 PM
 #10

You can always use the listaccounts command. Ofcourse you'll need to add each address to one account.
And you'll need to use the command line or the console.
The following may also work.
Code:
listreceivedbyaddress 0 true

Thank you, but i find this feature useful in the main client or any other client. Why is it so hard to implement it? What is the actual process for this?

Because you can easily script something yourself using the rpc commands and get all the info you want presented the way you want.
If you don't know how to do it, pay someone. Maybe not the best idea, but it's the most practical one, I think.
RoadStress (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1007


View Profile
October 30, 2013, 11:10:43 AM
 #11

You can always use the listaccounts command. Ofcourse you'll need to add each address to one account.
And you'll need to use the command line or the console.
The following may also work.
Code:
listreceivedbyaddress 0 true

Thank you, but i find this feature useful in the main client or any other client. Why is it so hard to implement it? What is the actual process for this?

Because you can easily script something yourself using the rpc commands and get all the info you want presented the way you want.
If you don't know how to do it, pay someone. Maybe not the best idea, but it's the most practical one, I think.

From a casual user point of veiw scripting using rpc commands is almost out of discussion. Also that command is good only to see how much i received on my addresses, but if i spend money from them i still can't see how much i have left in different addresses.

It seems weird that only i have this usability problem.

Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
October 30, 2013, 11:22:59 AM
 #12

Like I said at first, you need to use the accounts feature. But the only way is using RPC commands.
Quote
listaccounts    [minconf=1]    Returns Object that has account names as keys, account balances as values.
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
October 30, 2013, 11:31:23 AM
 #13

Like I said at first, you need to use the accounts feature. But the only way is using RPC commands.

Accounts != addresses.

You will end up very confused if you don't know this and thus understand that you can't use accounts to do coin control.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
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!