-
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
Client becomes stuck synchronizing DAO when generating multiple blocks simultaneously in regtest #2612
Comments
I have seen this some times as well. I did not put too much attention on it as it is very unlikely that on mainnet multiple blocks arrive that fast and as a restart resolves the issue. |
Agreed. Just annoying when testing. |
Did it happen often? I could not reproduce it the last days. I created 1000s of blocks and it did not break. But I am aware that there are siuations where it broke... |
Yes it seems to occur every time for me. |
For what it's worth, my client is stuck now with this message indefinitely. As I don't intend to use the DAO it's especially annoying to be locked out and see my listings offline due to some alt-coin syncing. |
Related #2800 |
I am no longer encountering this anymore on regtest, even when generating 50 blocks at once. Takes several seconds, but it does not become stuck. |
When generating 3 or more blocks at a time in regtest mode (e.g.
generate 3
) - which is done to quickly advance through the voting phases - the client will become stuck synchronizing the DAO state (as indicated in the bottom status bar). With the following shown in the BSQ Wallet > Transactions for example:Initially I noticed this repeatedly in the log:
Which is to be expected since I only have a single seed node at localhost:2002. So I commented out the
localhost:3002
within btc_regtest.seednodes to see if that would help, but I still encounter the issue. So that doesn't appear to be the issue.Then I noticed the following in the log (not sure if relevant to this issue):
Even after waiting a bit and generating a single block, it was still stuck and unable to recover.
Once I restarted the client, it synced successfully.
The text was updated successfully, but these errors were encountered: