[bisq-network/bisq] Inconsistent wallet sizes (#2797)

Oscar Guindzberg notifications at github.com
Wed May 8 16:27:23 UTC 2019


Status report

@yourwpguy sent his original bisq data dir in private and I could reproduce the bug.

bitcoinj wallet is corrupted.

Exception at startup:
org.bitcoinj.wallet.UnreadableWalletException: Wallet contained duplicate transaction 1debca5f5f8778497a538e7959c6b5280b1862c14c3eb1c8597bbc2249f871ea
	at org.bitcoinj.wallet.WalletProtobufSerializer.readTransaction(WalletProtobufSerializer.java:680)
	at org.bitcoinj.wallet.WalletProtobufSerializer.readWallet(WalletProtobufSerializer.java:507)
	at org.bitcoinj.wallet.WalletProtobufSerializer.readWallet(WalletProtobufSerializer.java:444)
	at bisq.core.btc.setup.WalletConfig.loadWallet(WalletConfig.java:548)
	at bisq.core.btc.setup.WalletConfig.createOrLoadWallet(WalletConfig.java:506)
	at bisq.core.btc.setup.WalletConfig.startUp(WalletConfig.java:382)
	at com.google.common.util.concurrent.AbstractIdleService$DelegateService$1.run(AbstractIdleService.java:62)
	at com.google.common.util.concurrent.Callables$4.run(Callables.java:122)
	at java.base/java.lang.Thread.run(Thread.java:844)


This tx https://blockstream.info/tx/1debca5f5f8778497a538e7959c6b5280b1862c14c3eb1c8597bbc2249f871ea is duplicated in the wallet file.

I don't know how the bitcoinj wallet file ended up being corrupted.

After the user has followed the steps I wrote on my previous comment, he does not get an error on bisq startup anymore.

User says:

The corrupted wallet or error appeared after a trade, where the scammer was blocked:
I was selling BTC as taker.
Error message:
An error occurred at task: CheckIfPeerIsBanned
Other trader is banned by his trading account data.
Trade state: TAKER_FEE_PUBLISHED

-- 
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/2797#issuecomment-490556108
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190508/d1cbe7f8/attachment.html>


More information about the bisq-github mailing list