Bitcoin Forum
December 15, 2017, 01:28:35 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin Wallet for Android Balance is off  (Read 3272 times)
tspacepilot
Legendary
*
Offline Offline

Activity: 1400


I may write code in exchange for bitcoins.


View Profile
October 04, 2014, 05: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.

1513344515
Hero Member
*
Offline Offline

Posts: 1513344515

View Profile Personal Message (Offline)

Ignore
1513344515
Reply with quote  #2

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

Posts: 1513344515

View Profile Personal Message (Offline)

Ignore
1513344515
Reply with quote  #2

1513344515
Report to moderator
1513344515
Hero Member
*
Offline Offline

Posts: 1513344515

View Profile Personal Message (Offline)

Ignore
1513344515
Reply with quote  #2

1513344515
Report to moderator
Andreas Schildbach
Moderator
Hero Member
*
Offline Offline

Activity: 563



View Profile WWW
October 05, 2014, 07: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".

Bitcoin Wallet for Android: Your own Bitcoins, in your own pocket!
https://play.google.com/store/apps/details?id=de.schildbach.wallet
tspacepilot
Legendary
*
Offline Offline

Activity: 1400


I may write code in exchange for bitcoins.


View Profile
October 05, 2014, 12:05:25 PM
 #3

Sent.

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

BurtW
Legendary
*
Offline Offline

Activity: 2114

All paid signature campaigns should be banned.


View Profile WWW
October 05, 2014, 12:25:10 PM
 #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.

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
tspacepilot
Legendary
*
Offline Offline

Activity: 1400


I may write code in exchange for bitcoins.


View Profile
October 05, 2014, 05: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

Andreas Schildbach
Moderator
Hero Member
*
Offline Offline

Activity: 563



View Profile WWW
October 07, 2014, 11: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.

Bitcoin Wallet for Android: Your own Bitcoins, in your own pocket!
https://play.google.com/store/apps/details?id=de.schildbach.wallet
tspacepilot
Legendary
*
Offline Offline

Activity: 1400


I may write code in exchange for bitcoins.


View Profile
October 07, 2014, 02:16:30 PM
 #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!

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!