[bisq-network/bisq] Connection to the Bitcoin network failed (#4995)

Oscar Guindzberg notifications at github.com
Wed Dec 23 19:49:03 CET 2020


The wallet being read is in fact corrupt.
Maybe not corrupt in the sense of i/o error while writing it. Corrupt in the sense it is not consistent.
There is a tx output that is marked as spent by some txId and the tx for that txId is not present in the wallet.
maybe useful:
- https://github.com/bitcoinj/bitcoinj/issues/1582
- https://groups.google.com/g/bitcoinj/c/CW7mTHhe_nQ/m/2bpsZP9XCQAJ

Both links mention 2 wallets. That makes me think of BSQ and BTC wallets in bisq. Maybe the same tx instance is being saved by both wallets. Maybe related https://github.com/bisq-network/bitcoinj/pull/18 and https://github.com/bisq-network/bitcoinj/pull/21

I found a bug in bisq a month ago. Transaction inputs and outputs have a concept of parent transaction. Parent transaction is the tx containing the input or output. The bisq code used it as if the parent tx was the tx the input was spending from. It would be good to investigate whether this bug is present somewhere else in bisq.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/4995#issuecomment-750427455
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201223/9e6d8399/attachment.htm>


More information about the bisq-github mailing list