Author

Topic: BTC balance mismatch (Read 1630 times)

legendary
Activity: 1708
Merit: 1066
March 18, 2013, 08:44:45 AM
#19
Yeah - I've widened up the logging - see the 'Bug update' post.
legendary
Activity: 1526
Merit: 1129
March 18, 2013, 08:40:50 AM
#18
The default logging level of bitcoinj I find to be good enough. There's usually no such thing as too much logging, as you can always post-process them. That said if logs are flooded with useless data then that's obviously bad, the trick is in the balance.
legendary
Activity: 1358
Merit: 1002
March 17, 2013, 09:18:28 AM
#17
I PM'd the address to Mike.
legendary
Activity: 1708
Merit: 1066
March 17, 2013, 09:07:35 AM
#16
I'll mail you the logs.
If you log everything the logs become virtually incomprehensible as even at debug there is a lot of stuff being logged.

edit: done
legendary
Activity: 1526
Merit: 1129
March 17, 2013, 08:44:47 AM
#15
I could take a look too. I'd need to know the addresses you were using to receive those payments.

Jim, do you have the raw/full bitcoinj logs? I'm not sure why you'd only log a subset, that seems like more work than just logging everything ...
legendary
Activity: 1708
Merit: 1066
March 16, 2013, 12:55:05 PM
#14
Yes it is an annoying bug that is for sure.

Oh well - I am sure we will track it down and eliminate it.
legendary
Activity: 1358
Merit: 1002
March 16, 2013, 12:23:16 PM
#13
Like I said, the only thing those 2 transactions have in common is that they came from the same person(user mc_lovin in the forum) and they're sendmany transactions, being my address only 1 of the several outputs.

I've been avoiding to keep Multibit open all the time because of it. It's not really a problem because Multibit opens and catches up with the blocks very fast. But I miss having the exchange rate right there lol
legendary
Activity: 1708
Merit: 1066
March 16, 2013, 07:43:37 AM
#12
@Psy - I have been through your logs and - as you surmised - there was nothing to indicate what happened.

I am pretty sure you are right that there is a bug in MultiBit/ bitcoinj that some tx are not appearing in the wallet. Andreas is seeing similar behaviour in his Bitcoin Wallet.

Looking at your specific tx in blockchain.info there does not appear to be anything unusual about them - the scripts are all conventional.

I'm putting in more logging for when the transaction come in.
legendary
Activity: 1708
Merit: 1066
March 15, 2013, 05:40:19 PM
#11
Cheers
legendary
Activity: 1358
Merit: 1002
March 15, 2013, 05:35:21 PM
#10
OK, mailing the zip to you right away.
legendary
Activity: 1708
Merit: 1066
March 15, 2013, 05:33:13 PM
#9
They might help - with the recent fix for the zero confirmation tx there is now a check in the code for tx that are nonfinal.
These don't get added to the wallet but there is still some logging in there. It could be that MultBit is seeing some tx that are non-final (or treated as such) as zero confirmation tx and then only adding them when they appear in a block.

The logs should rule that hypothesis out one way or the other as I can hunt around when those tx appeared.
legendary
Activity: 1358
Merit: 1002
March 15, 2013, 05:22:40 PM
#8
@Mike
I log all the incoming and outgoing transactions, and all the logging generated by Wallet in particular.
The log files are multibit_debug.log and multibit_console.log in the /log dir.
There are daily cuts of the logs.

@Psy
If you zip up the logs you have in the /log and mail them to me (see https://multibit.org/team.html) I will have a look.

I only really need the logs for when you sent / received those particular txes but it's probably quicker for you just to zip the whole lot.



The thing is, those are incoming transactions, and they only "arrived" after doing the Reset trick. You sure the logs will help in any way?

There are a couple more, but those 2 are the one's I'm sure about. If it helps I can tell you those are Coinurl.com payments. Maybe you can contact mc_lovin here in the forum and ask him how he sent the payments.

Anyway I'll zip up the logs folder and send it to you.
legendary
Activity: 1708
Merit: 1066
March 15, 2013, 05:14:59 PM
#7
@Mike
I log all the incoming and outgoing transactions, and all the logging generated by Wallet in particular.
The log files are multibit_debug.log and multibit_console.log in the /log dir.
There are daily cuts of the logs.

@Psy
If you zip up the logs you have in the /log and mail them to me (see https://multibit.org/team.html) I will have a look.

I only really need the logs for when you sent / received those particular txes but it's probably quicker for you just to zip the whole lot.

legendary
Activity: 1358
Merit: 1002
March 15, 2013, 05:02:09 PM
#6
Could you tell me the txid please? It's obviously not supposed to miss transactions like that .... that's a pretty serious bug. Unfortunately without logs it would be hard to debug. Jim, does MultiBit do full logging to a file?

Here are 2 TX's that only showed up after I Reset Blockchain and Transaction on my own wallet.
0c4131316fd4f07c42e2ca94b1aab2635598ca111851b5917f9124a34731acca
2b6ee934e5a816d68005a7fdf2b45f858599562050bb3cc2d70703cab008b114

Only thing in common they have is that both are a sendmany transaction.
I haven't noticed that detail until now. It may well be the reason.
legendary
Activity: 1526
Merit: 1129
March 15, 2013, 04:29:35 PM
#5
Could you tell me the txid please? It's obviously not supposed to miss transactions like that .... that's a pretty serious bug. Unfortunately without logs it would be hard to debug. Jim, does MultiBit do full logging to a file?
sr. member
Activity: 630
Merit: 250
March 15, 2013, 02:35:59 PM
#4
Go to Tools -> Reset Blockchain and Transactions and on the calendar choose a date before your first transaction to that wallet and click the button to Reset Blockchain and Transactions.
wait a couple minutes and all will be good.
The above will not touch your wallet file at all and it's safe.

Multibit has that bug, that when you leave it open it sometimes will not see incoming transactions.

Worked perfectly, thanks very much  Grin
legendary
Activity: 1890
Merit: 1000
Landscaping Bitcoin for India!
March 14, 2013, 05:02:29 PM
#3
Sorry!, Removed that!
legendary
Activity: 1358
Merit: 1002
March 14, 2013, 05:01:02 PM
#2
Go to Tools -> Reset Blockchain and Transactions and on the calendar choose a date before your first transaction to that wallet and click the button to Reset Blockchain and Transactions.
wait a couple minutes and all will be good.
The above will not touch your wallet file at all and it's safe.

Multibit has that bug, that when you leave it open it sometimes will not see incoming transactions.
sr. member
Activity: 630
Merit: 250
March 14, 2013, 04:51:25 PM
#1
Hi,

First off, great job with the client, it is very good.

I have one small problem, which is probably due to my lack of knowledge. I noticed that my client is showing my balance is around 0.4BTC less than what is shown on blockchain.info, all transactions are fully confirmed.

Is there are way to fully resync the client with the blockchain without losing my wallet?

Thanks.

Jump to: