BitShares Forum

Main => Technical Support => Topic started by: Method-X on September 11, 2014, 03:25:00 pm

Title: Inconsistent Balances
Post by: Method-X on September 11, 2014, 03:25:00 pm
The balance that displays when I send or receive a transaction (to the right of fees) is different than the balance that displays in the blue banner at the top (next to estimated yield). There is about a 20% difference.
Title: Re: Inconsistent Balances
Post by: bytemaster on September 11, 2014, 03:32:22 pm
The balance that displays when I send or receive a transaction (to the right of fees) is different than the balance that displays in the blue banner at the top (next to estimated yield). There is about a 20% difference.

An earlier version of the client had a bug that corrupted some of the meta-data associated with some of your transactions.   Look through your transaction history for transactions where the amount transferred was "0" then use "wallet_scan_transaction TRX_ID true"   to correct it.

Title: Re: Inconsistent Balances
Post by: Method-X on September 11, 2014, 03:46:43 pm
The balance that displays when I send or receive a transaction (to the right of fees) is different than the balance that displays in the blue banner at the top (next to estimated yield). There is about a 20% difference.

An earlier version of the client had a bug that corrupted some of the meta-data associated with some of your transactions.   Look through your transaction history for transactions where the amount transferred was "0" then use "wallet_scan_transaction TRX_ID true"   to correct it.

Thanks for the quick response. Is there a way for me to go back in time farther than the "recent history" allows in the GUI?
Title: Re: Inconsistent Balances
Post by: bytemaster on September 11, 2014, 03:49:32 pm
The balance that displays when I send or receive a transaction (to the right of fees) is different than the balance that displays in the blue banner at the top (next to estimated yield). There is about a 20% difference.

An earlier version of the client had a bug that corrupted some of the meta-data associated with some of your transactions.   Look through your transaction history for transactions where the amount transferred was "0" then use "wallet_scan_transaction TRX_ID true"   to correct it.

Thanks for the quick response. Is there a way for me to go back in time farther than the "recent history" allows in the GUI?

It should be paginated...
Title: Re: Inconsistent Balances
Post by: xeroc on September 11, 2014, 03:50:16 pm
console:
wallet_account_transaction_history [account_name] [asset_symbol] [limit] [start_block_num] [end_block_num]   Lists transaction history for the specified account
Title: Re: Inconsistent Balances
Post by: Method-X on September 11, 2014, 03:54:52 pm
The balance that displays when I send or receive a transaction (to the right of fees) is different than the balance that displays in the blue banner at the top (next to estimated yield). There is about a 20% difference.

An earlier version of the client had a bug that corrupted some of the meta-data associated with some of your transactions.   Look through your transaction history for transactions where the amount transferred was "0" then use "wallet_scan_transaction TRX_ID true"   to correct it.

Thanks for the quick response. Is there a way for me to go back in time farther than the "recent history" allows in the GUI?

It should be paginated...

Oh I see the pagination is at the TOP! My bad.  :D
Title: Re: Inconsistent Balances
Post by: Xeldal on September 11, 2014, 04:29:35 pm
The balance that displays when I send or receive a transaction (to the right of fees) is different than the balance that displays in the blue banner at the top (next to estimated yield). There is about a 20% difference.

An earlier version of the client had a bug that corrupted some of the meta-data associated with some of your transactions.   Look through your transaction history for transactions where the amount transferred was "0" then use "wallet_scan_transaction TRX_ID true"   to correct it.

I have the same issue, although this did not fix it for me.

I have many "TO UNKNOWN" transactions that remove from my balance. using "wallet_scan_transaction TRX_ID true" doesn't fix.
I presume these are market orders that were placed, canceled, but never returned?

transaction detail:
Code: [Select]
{"type":"short_op_type","data":{"amount":xxxxxxx,"short_index":{"order_price":{"ratio":"0.00303030303030303","quote_asset_id":22,"base_asset_id":0}
Title: Re: Inconsistent Balances
Post by: Method-X on September 15, 2014, 03:12:29 am
The balance that displays when I send or receive a transaction (to the right of fees) is different than the balance that displays in the blue banner at the top (next to estimated yield). There is about a 20% difference.

An earlier version of the client had a bug that corrupted some of the meta-data associated with some of your transactions.   Look through your transaction history for transactions where the amount transferred was "0" then use "wallet_scan_transaction TRX_ID true"   to correct it.

I have the same issue, although this did not fix it for me.

I have many "TO UNKNOWN" transactions that remove from my balance. using "wallet_scan_transaction TRX_ID true" doesn't fix.
I presume these are market orders that were placed, canceled, but never returned?

transaction detail:
Code: [Select]
{"type":"short_op_type","data":{"amount":xxxxxxx,"short_index":{"order_price":{"ratio":"0.00303030303030303","quote_asset_id":22,"base_asset_id":0}

Yeah it never resolved for me either. Which balance is the correct one for you? The one in transaction history or the main balance in the upper right?
Title: Re: Inconsistent Balances
Post by: kisa on September 15, 2014, 09:24:50 am
The balance that displays when I send or receive a transaction (to the right of fees) is different than the balance that displays in the blue banner at the top (next to estimated yield). There is about a 20% difference.

An earlier version of the client had a bug that corrupted some of the meta-data associated with some of your transactions.   Look through your transaction history for transactions where the amount transferred was "0" then use "wallet_scan_transaction TRX_ID true"   to correct it.

I have the same issue, although this did not fix it for me.

I have many "TO UNKNOWN" transactions that remove from my balance. using "wallet_scan_transaction TRX_ID true" doesn't fix.
I presume these are market orders that were placed, canceled, but never returned?

transaction detail:
Code: [Select]
{"type":"short_op_type","data":{"amount":xxxxxxx,"short_index":{"order_price":{"ratio":"0.00303030303030303","quote_asset_id":22,"base_asset_id":0}

Yeah it never resolved for me either. Which balance is the correct one for you? The one in transaction history or the main balance in the upper right?

for me neither of the balances is correct...
xeroc posted this under github https://github.com/BitShares/bitshares_toolkit/issues/769 (https://github.com/BitShares/bitshares_toolkit/issues/769)  not yet resolved but devs know...
Title: Re: Inconsistent Balances
Post by: Method-X on September 15, 2014, 02:03:49 pm
for me neither of the balances is correct...
xeroc posted this under github https://github.com/BitShares/bitshares_toolkit/issues/769 (https://github.com/BitShares/bitshares_toolkit/issues/769)  not yet resolved but devs know...

Which balance is closer to the true balance? For me, there's about a 20% difference between the two.
Title: Re: Inconsistent Balances
Post by: Xeldal on September 15, 2014, 02:48:18 pm
I have no idea which is right.  Often the transaction balance is zero or negative for me so that one is obviously wrong. Whats the percent difference with a negative number?  Infinity% wouldn't be enough. :)

I just found a 3rd incorrect balance, when I tried to transfer to myself the error log lists an available balance that is different from both the main and transaction balance and also incorrect. 
Title: Re: Inconsistent Balances
Post by: bytemaster on September 16, 2014, 09:05:50 pm
I have no idea which is right.  Often the transaction balance is zero or negative for me so that one is obviously wrong. Whats the percent difference with a negative number?  Infinity% wouldn't be enough. :)

I just found a 3rd incorrect balance, when I tried to transfer to myself the error log lists an available balance that is different from both the main and transaction balance and also incorrect.

The wallet balance cache has some bugs I have identified.  The "accurate" balance is "wallet_account_balance" as returned from the command line.  All other balances calculations are potentially wrong.