dcrdex icon indicating copy to clipboard operation
dcrdex copied to clipboard

dcr: SPV wallet transaction history incorrectly displays Mined tx as Mempool tx

Open norwnd opened this issue 11 months ago • 6 comments

I've noticed that DCR SPV wallet transaction history doesn't convert Mempool transaction into Mined one, or at least doesn't always do that

not sure if it affects Send transactions only, but this one has been mined days ago and still shows like this:

image

even though I have a bunch of trade-related transactions (Swaps/Redeems) after this one ^ plus I also have another Send transaction that was also issued & mined after this one but not affected by this bug (it shows as Mined, like it should)

norwnd avatar Jan 07 '25 12:01 norwnd

Do you have mixing on? I think I have noticed this too. Does the wallet also say you have unmixed coins?

Has bisonw been on the whole time? Does it show as confirmed after restarting?

JoeGruffins avatar Jan 14 '25 01:01 JoeGruffins

Was able to catch this on master on simnet. The swap is already refunded and has 10+ confs. mixing is not on. It continues to be in mempool after a restart.

image

JoeGruffins avatar Jan 14 '25 06:01 JoeGruffins

I looked into my mempool tx and this appears to be a bug in dcrwallet. In the spv GetTransaction with both w.dcrWallet.TxDetails and w.ListTransactionDetails the internal wallet is returning zero hash and no confs.

JoeGruffins avatar Jan 14 '25 08:01 JoeGruffins

Do you have mixing on? I think I have noticed this too. Does the wallet also say you have unmixed coins?

I have not, and never enabled it in Bison wallet.

Has bisonw been on the whole time? Does it show as confirmed after restarting?

Yes, it's been online for a while after transaction was mined and restarts didn't help (still see it as "Mempool" transaction).

norwnd avatar Jan 14 '25 08:01 norwnd

We should try updating the wallet modules first and then see if it resolves. May be a fixed bug.

JoeGruffins avatar Jan 14 '25 08:01 JoeGruffins

I have a ticket purchase on mainnet now doing this.

JoeGruffins avatar Jan 20 '25 07:01 JoeGruffins