Open xmrdog opened 3 years ago
I even tried adding an extra step between 2 and 3: On cold machine, delete wallet file (leaving only .keys file).
Same result.
CCing @moneromooo-monero since he was involved with potentially related #1406.
Updated above with clarification.
@dEBRUYNE-1 CC
Does the wallet state that any key images are missing?
@dEBRUYNE-1 No, it doesn't. (It did after step 1 + refresh, but after running all the steps above, the "missing key images" message is gone as expected.)
@dEBRUYNE-1 @fluffypony @moneromooo-monero
I found a different way to reproduce exactly the same mismatch: By running export_transfers all output=foo.csv
, I do indeed get a final "running balance" that is greater than shown by balance
.
(So my earlier manual balance calculation was correct.)
Could this be an inflation bug or some other serious bug? The silence worries me.
Do you have transactions where your wallet sent money only to itself? I remember beeing suprised some time ago because the show_transfers command did not show the whole picture in this case.
@glv2 No such thing in my case. Was your case a reported bug that was fixed? What was your solution?
I was able to investigate my case further. Since my wallet is simply transactions to/from an exchange, I know exactly what transactions to expect (since the exchange has a detailed ledger on their end).
Thankfully, the balance shown after refresh
is exactly as expected. However, two out
transactions that should be there are not showing up in show_transfers
/export_transfers
. This results in the mismatch between the final "running balance" and actual balance.
What could be the reasons for missing transactions?
FYI:
Do you see any errors in the log (monero-wallet-cli.log
) related to inability to 'decrypt' the missing transactions?
Can you send the whole incorrect balance or just the outputs that should not be there and will they go through?
Can you send me an compressed then encrypted log level 2 of simplewallet scanning this wallet, as well as the txids of the missing transactions please ? My key's in utils/gpg_keys/moneromooo.asc, since the log will contain private info (though not the wallet keys).
@moneromooo-monero
I was able to recover the missing transactions by copying the entire blockchain data over to the offline laptop, run ./monerod --offline
, run ./monero-wallet-cli
(without --offline
), resync the wallet, and export the transactions.
The problem must be later in the pipeline, presumably somewhere in the hot/cold steps I outlined above.
I don't want to send over any private info like this.
Isn't this a great opportunity for someone to fully 100% reflect on and grasp the code of that entire pipeline again? To do some spring cleaning, check if there is some dust in there, so to speak. There's clearly a bug in there somewhere. Can someone here start a bug bounty on the Monero website? I will contribute.
@xmrdog https://hackerone.com/monero
In case it's related to https://github.com/monero-project/monero/issues/5812, which I'm not able to reproduce now.
I have both hot and cold machines running Linux. Both have the same
v0.17.1.9
Monero version.After performing these steps:
export_outputs all
.import_outputs
.export_key_images all
.import_key_images
.show_transfers all
The final balance shown (after
refresh
completes) does NOT match up with the transactions! First of all:refresh
is correct?Assuming that's the case, the transactions add up to a greater balance than what I'm supposed to have.
Could this be related to https://github.com/monero-project/monero/issues/1406? I'm not sure because that was supposed to be fixed years ago.
[] UPDATE:** Removed irrelevant info.