novitski / bitcoinj

Automatically exported from code.google.com/p/bitcoinj
Apache License 2.0
0 stars 0 forks source link

Better handling of mutant transactions #517

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I start getting reports of Bitcoin Wallet users who get their transactions 
mutated somehow. In the UI, it shows as two identical transactions. One being 
marked as an eye-catching "dead" transaction, and the other one confirmed by 
the blockchain. Apart from that glitch, everything works as expected: Balance 
is correct, and people can continue spending. So its not a safety issue I'd say.

However, users are confuzed.

I think in the case two transactions are identical (comparing their normalized 
forms), the losing one should be replaced by the winning one, rather than just 
being marked as dead.

Since bitcoinj 0.12 is a long way off, I'd lobby for finding a solution that 
doesn't need to change the API. I feel we should not wait for the transaction 
API refactoring. (Even for that we will need the same logic.)

Original issue reported on code.google.com by andreas....@gmail.com on 10 Feb 2014 at 10:54

GoogleCodeExporter commented 9 years ago

Original comment by andreas....@gmail.com on 10 Feb 2014 at 10:55