Title: How to get balance of whole wallet confirmed at least 1 (or 2) confirmations? Post by: bitcoinex on January 24, 2011, 09:01:31 PM Code: bitcoin@s7:~$ bitcoin/bitcoin getbalance 1 Title: Re: How to get balance of whole wallet confirmed at least 1 (or 2) confirmations? Post by: bfever on January 24, 2011, 09:24:42 PM If I just use the command
Code: bitcoin getbalance This is with normal bitcoin client 0.3.19 running in server mode. Title: Re: How to get balance of whole wallet confirmed at least 1 (or 2) confirmations? Post by: bitcoinex on January 24, 2011, 09:32:36 PM If I just use the command Code: bitcoin getbalance This is with normal bitcoin client 0.3.19 running in server mode. I am need only balance of confirmed transactions. Title: Re: How to get balance of whole wallet confirmed at least 1 (or 2) confirmations? Post by: Gavin Andresen on January 24, 2011, 09:35:09 PM getbalance '*' 1
... will do what you want in the next version of bitcoin. I need people to help download and build and test it. Title: Re: How to get balance of whole wallet confirmed at least 1 (or 2) confirmations? Post by: bitcoinex on January 25, 2011, 12:01:00 PM getinfo shows amounts confirmed by 1 confirmation?
Title: Re: How to get balance of whole wallet confirmed at least 1 (or 2) confirmations? Post by: Gavin Andresen on January 25, 2011, 02:19:43 PM getinfo and getbalance (with no arguments)... are a little complicated.
They include all 1 confirmation receive transactions, but (this is the complicated part) they also include 0-confirmation receives if they are self-sends (either the "change" from coins you just sent or all the coins if you sent to one of your own addresses). In any case, I think they will do exactly what you want-- show you coins that have at least one confirmation or that you are certain you are able to spend (because they are your own 0-confirmation coins). Title: Re: How to get balance of whole wallet confirmed at least 1 (or 2) confirmations? Post by: bitcoinex on January 25, 2011, 02:56:03 PM Thank you, yes, it's what I am need.
Title: Re: How to get balance of whole wallet confirmed at least 1 (or 2) confirmations? Post by: bitcoinex on January 29, 2011, 04:39:39 AM getbalance '*' 1 ... will do what you want in the next version of bitcoin. I need people to help download and build and test it. Code: $ ./bitcoind getbalance '*' 1 0.3.20 from git |