-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bisq does not retain bitcoin addresses & transactions following wallet recovery (OP: 'erases all state data when launched alongside Bitcoin core') #4318
Comments
I attempted to reverse the re-initialisation by replacing the files in Bisq/Btc_mainnet/{db,keys,wallet} with backup files from prior to the erasure, but the balance, transaction and receive funds addresses remain re-initialised. The files which were reverted to backup versions were:
keys:
wallet:
The files which couldn't be reverted because backup versions weren't available, so the re-initialised version was left in place:
wallet:
|
Did you whitelist bloomfilter in core? |
I didn't customise the Bitcoin Core client configuration at all because I wasn't intending to integrate Bisq and Bitcoin Core. I didn't realise this was an option. So I incidentally launched Bisq while Bitcoin Core client was running, because I was unaware there would be a conflict. |
Did you recently update core? The default configuration stopped working at 0.19 and requires whitelisting bloomfilters. Looking at the tail end of your logs, its only trying to connect to your local node and keeps dying. Try adding this to your bitcoin.conf and restarting: |
I have updated core to 0.20. |
Bisq uses bitcoinj to connect to nodes. So previously, your Bisq client was connecting to third party nodes. Now that it detected a local node, it's trying to connect to it but failing because of bloomfilter. I'm also assuming you're running Bitcoin Core as a full node. |
So the 0.19+ issue you were referring to is resolved with the bloomfilters fix? |
Yes. You can change what nodes you use in Bisq’s network settings. Although in the spirit of decentralization, you should use your own node. |
If it's the case that Bitcoin Core can be switched into use with Bisq, why has Bisq therefore completely re-initialised and erased all my previous balance, transactions and receive funds addresses, when Bisq happened to launched while Bitcoin Core was already running? |
Because this issue is alongside #4307 , I attempted to recover the missing transactions by renaming the Bisq datadir and launched a fresh Bisq instance. |
After repeating the steps detailed in the above comment, the transactions and balance is recovered, but Bisq does not correctly retain the transactions and balance between shutdown and relaunch. Prior to shutting down Bisq following a successful wallet recovery, 6 addresses were populated with Bitcoin. After shutting down and relaunching Bisq, it now displays: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. Feel free to reopen it if you think it is still relevant. |
Description
Bitcoin core GUI with default settings was running when Bisq was launched. A notification "Bisq detected a locally running Bitcoin Core node (at localhost)", with 'Close' being the only option.
However, the Bisq interface and state has completely re-initialised, and even when relaunched once Bitcoin Core has been shutdown, Bisq does not reverse to it's previous state with a populated Available balance or long list of Transactions, Receive Funds addresses.
Version
v1.3.4
Steps to reproduce
Expected behaviour
Depending on the desired Bisq behaviour, either an error message prior to bootstrap stage 1 stating that "Bisq deteced a locally running Bitcoin Core note (at localhost)", with atleast 2 options:
Actual behaviour
Screenshots
Bisq detected a locally running Bitcoin Core node:
Bitcoin addresses in Receive Funds have been erased:
Funds > Transactions has also been erased:
Also, note the occasional Bitcoin sync error in the status bar.
Device or machine
Win 10 64-bit
Additional info
bisq.log
The text was updated successfully, but these errors were encountered: