Multibit-Legacy / multibit-hd

Deprecated Bitcoin Wallet
https://multibit.org/blog/2017/07/26/multibit-shutdown.html
Other
169 stars 124 forks source link

On wallet opening all transactions are sending/ receiving #779

Closed jim618 closed 8 years ago

jim618 commented 8 years ago

Opening a wallet using the '0.1.5' code I saw every transaction as sending and receiving and had to do a repair wallet.

This is most likely something to do with the mempool as that is where the transaction confidences are stored.

jim618 commented 8 years ago

This turned out to be a new option in Context called 'EventHorizon'. Transaction confidences over a certain depth have some details elided and this caused the tx to be seen as Sending/ receiving.

There is a Context constructor where you can set the event horizon. I've set it to Integer.MAX to effectively switch off this behaviour.

Awaiting review and closing (Try doing a repair on a wallet with tx older than a couple of months).

gary-rowe commented 8 years ago

Verified working. Closing.