Author

Topic: Bitcoin Wallet for Android Balance is off (Read 3367 times)

legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
October 07, 2014, 09:16:30 AM
#7
Yes, Andreas let me know that he had found one transaction which hadn't loaded and suggested to reload the blockchain.  In fact, this did the trick (I don't know why I didn't think to look for that before writing here, I've had to reset the blockchain on other wallets in the past).  Now the balance in the wallet is the same as what shows up on the blockchain.

Note: Andreas also gave me a tip about how to get that plain-text version of the wallet history, it's in the dump-files that are created when you press the button to send the wallet dump via email.  You can just send this email to yourself and there's your plain-text files.  Wonderful!

Thanks Andreas!
hero member
Activity: 483
Merit: 551
October 07, 2014, 06:02:58 AM
#6
Sent.

Thanks for looking at this.  I'll be curious to hear what you find out.

I replied to you privately.
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
October 05, 2014, 12:53:45 PM
#5
It wouldn't take that long to just check off all the transactions from the wallet against all the transactions in one of the block explorers to see which transaction is different or missing, there are only 118 to check, right?  Once you find the different/missing transaction we can see if there is anything special about it.

It definitely wouldn't take long if I could get the data as a text file.  Smiley

I used wget and sed to add up the total inputs and outputs from a popular block explorer.  But basically, on my small screen (400x800 px on my device) and the transaction list only showing 3 or 4 at a time, and the vagaries of finger scrolling, etc, I'd probably rather spend my time trying to decode the dump data than trying to line up these transactions "by hand".

I agree, there must be some transaction(s) that are in the block chain but not in the wallet...

EDIT: maybe you're right, if I get a little more inspiration, perhaps a pen-and-paper will have to come out and I try this.  Smiley
legendary
Activity: 2646
Merit: 1137
All paid signature campaigns should be banned.
October 05, 2014, 07:25:10 AM
#4
It wouldn't take that long to just check off all the transactions from the wallet against all the transactions in one of the block explorers to see which transaction is different or missing, there are only 118 to check, right?  Once you find the different/missing transaction we can see if there is anything special about it.
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
October 05, 2014, 07:05:25 AM
#3
Sent.

Thanks for looking at this.  I'll be curious to hear what you find out.
hero member
Activity: 483
Merit: 551
October 05, 2014, 02:24:13 AM
#2
Which version of the app do you have installed?

Can you send me a dump of your wallet through the app? It's Options > Settings > Report issue and make sure you tick "wallet dump".
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
October 04, 2014, 12:46:18 PM
#1
Hi,

First thanks Andreas for the great software which I've been using for approximately 2 years now!

This is the first time I've ever had anything strange happen with this software so I'm sure there's some good explanation.  Anyway, if you look at the address in my profile on a blockchain explorer (I used three of them, they all agree), you'll see the final balance as 0.01313066 at the moment of this posting.  But when I look in BitcoinWallet for Android it shows the balance of that address as 0.01113066.  This is very strange.  It seems that 0.002 BTC which are assigned to my address by the blockchain are not showing up in the wallet.  

The wallet is currently synced.

Perhaps it is a bug in the display which is causing an extra 1 to be printed instead of a 3 (?!).  I have denomination and precision set to show "BTC, 8 digits".  But I've never noticed such a problem in the past and such a bug seems really weird.

This address has 118 transactions so it's really too many for me to try to manually add up from the wallet on the screen (I checked the last 20 or so and they align with what I see on blockchain).  If there's some way to export the transaction list from the wallet as a text file then I could align them with the transactions listed on the block and explorer to try to see what transaction might be missing.

I don't really know what more to say, this phenomenon seems quite weird to me.  I'm just posting in case someone here has an intuition, test, or other idea to try out.

Best,

tsp

EDIT:

I should also say that the wallet only has one other address, which currently has a 0 balance.  As far as I know, bitcoin addresses could never have a negative BTC value assigned to them so having other addresses in the wallet should only monotonically increase the balance with respect to what's shown in a blockchain explorer for a given address, never decrease it.
Jump to: