-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] - Wallet Balances Incorrect #15633
Comments
I can confirm that I am also seeing the same thing, with one addition. I am running two full nodes on the same network. Sometimes when I cancel an offer, the coin will appear removed on the one machine, and then re-added on the other machine. It scared me the first time I saw it, because it looked like someone made a withdrawal without my permission. Regardless, the -0 entries are a pain to deal with, please take a look at how canceled offers are handled in the GUI. |
yes, that was litterally my same concern in the beginning. |
issue seems to be existing in 1.8.2 still |
This issue has not been updated in 14 days and is now flagged as stale. If this issue is still affecting you and in need of further review, please comment on it with an update to keep it from auto closing in 7 days. |
Hey, @forReason @KryptomineCH and @acoolprogrammer123 . These additional transactions are expected when cancelling offers on-chain as cancelling on-chain means that the coins associated with the offer are being sent to one of your own addresses (this "spends" the coin making the offer null and void). It seems that we might be able to convert this issue ticket into a feature request for including filtering options within the transactions list, would you all agree that this would help to navigate the transaction list without completely removing the on-chain cancel offer transactions? |
That makes sense. the change would be much appreciated. |
possibly there are issues with creating and canceling large amounts of offers. are you running your own local node? |
I am running a full node on one machine, and a wallet on another machine looking at the full node as a trusted peer. Both machines are looking at the same wallet. The wallet machine is where the offers are created, canceled and accepted. I understand that an on chain canceling of an offer will create a - transaction and a + transaction. What I am seeing is that the - and + transactions are not totaling up so that my wallet shows a much larger balance than I ever had of the token. Stopping the wallet, deleting the db and letting it resync seems to correct the issue, but then it crops up again. |
Setup/EnvironmentThe setup looks very simmilar to mine:
Wallet BalancesI also encounter simmilar Wallet Balance issues which appeared recently, but I do noit really think they are related. Balances are totally off for both, xch and my cats (it only showed too little balance so far) I encountered this (balance) issue on multiple wallets, one of which is my farmer wallet which usually neither creates offers, nor merges/splits coins. for clarification purposes: |
"What I am seeing is that the - and + transactions are not totaling up so that my wallet shows a much larger balance than I ever had of the token" This is the wallet balance as reported by Chia or are you totaling the TX history? We know the TX history can be incomplete but balances should be correct. Sending your funds to yourself would result in coins being merged down which could help alleviate a bug. Are there any exceptions in your log files that would point to issues handling coins? We do filter XCH dust which means the balance may not always be the same on different machines but that would be very minimal amounts of XCH. |
This issue has not been updated in 14 days and is now flagged as stale. If this issue is still affecting you and in need of further review, please comment on it with an update to keep it from auto closing in 7 days. |
What I noticed one time was that I had plenty transactions in my wallet which showed pending. a delete of the db resloved the issue. As of right now I am in the process of reverse engineering the transactions history. |
Another try resyncing my wallet. Completely deleted my wallet db folder and resynced from known good local full node: Roughly 15% total sum is missing. So going again, with disabled data layer and cleaned db + cleared log file: exactly the same result. resynced with doubled derivation index (5500) this had no effect on the displayed balance at all I noticed that the Transaction History varies massively. But the balance in between syncs stayed the same. triggered a resync of my wallet in the settings without deleting the db in hopes the derivation index would trigger then. At this point I do not know how I can bring back the correct amount and how I should trust the wallet... here my other wallet on another host:
I beg to god this wallet doesnt crash... |
So as a summary:
If you want to let me know what else I can test, go ahead, ill test it. This issue is mission critical to me. ps @bramv-chia , can the stale issue please be removed? There are several people affected, I have also seen some in the discord asking for help: |
Okay, another update. As of now, for me, the issue seems to be related to the automatic I had to bump the derivation index to over 9000
The gui help does seem to be accurate on that manner, but that does not help if you have to bump it over 9000 and the wallet will only let you do 500 per minute and only when its in sync. |
I have now also been able to reproducet the invalid wallet balance, where the wallet shows more balance that actually exists. I cannot tell if its reproducible but here is what I did:
please note the transaction history and wallet info below:
there seem to be more inconsistencies as well so I might try to resync resync helped in this case. I do not think the issues are related. Putting that one aside from now |
Can u send us the walletdb for the 4 BTF wallet? or chia wallet coins list It would be interesting to see which coins are listed. |
Is it safe to share the wallet db? Obviously, I do not want to risk anything with a public fund. Notably I have quite some unconfirmed Additions/Removals. They might be related to open offers? Wallet 1 (XCH)
Please note, I did a coin split. Because I cannot create offers of varying sizes with just one single coin Wallet 3 (BTF:)
|
What happened?
My Transaction history is all over the place eventhough I do not send/receive any chia.
I dont know how to better describe it. there are plenty of 0 value transactions as well as additions and removals:
The issue exists on windows, linux, cli and gui.
No money is actually removed/lost/added, so it seems to be a mostly visual bug.
However, the Transaction history is barely usable like that.
As far as I was able to invetigate, this is related to offerings which are beeing cancelled and reissued with an updated price. So It would be nice to see that in a separate list or with a filter which is able to filter out offers which have been cancelled or accepted by oneself and thus net 0. Alternatively, the list could be updated to show more valuable information such as
offer created
,own offer got accepted
,foreign offer accepted
,offer cancelled
transfer
,cat transfer
,transfer received
...Version
1.8.1
What platform are you using?
macOS
What ui mode are you using?
GUI
Relevant log output
No response
The text was updated successfully, but these errors were encountered: