<p>When generating 3 or more blocks at a time in regtest mode (e.g. <code>generate 3</code>) - 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 <strong>BSQ Wallet > Transactions</strong> for example:</p>
<blockquote>
<p>Awaiting blocks... Verified 159 out of 160</p>
</blockquote>
<p>Initially I noticed this repeatedly in the log:</p>
<pre><code>Apr-01 15:38:09.586 [NetworkNode:SendMessage-to-localhost:3002] INFO  b.n.p2p.network.NetworkNode: onFailure at sendMessage: peersNodeAddress=localhost:3002
        message=GetPeersRequest
        throwable=java.net.ConnectException: Connection refused: connect 
</code></pre>
<p>Which is to be expected since I only have a single seed node at localhost:2002. So I commented out the <code>localhost:3002</code> within <a href="https://github.com/bisq-network/bisq/blob/d9f9baf87abea31a5ea27f95b8441b730f53d8cc/core/src/main/resources/btc_regtest.seednodes#L17">btc_regtest.seednodes</a> to see if that would help, but I still encounter the issue. So that doesn't appear to be the issue.</p>
<p>Then I noticed the following in the log (not sure if relevant to this issue):</p>
<pre><code>Apr-01 15:58:05.266 [JavaFX Application Thread] WARN  b.c.d.g.b.BlindVoteValidator: blindVoteTx is not confirmed. blindVoteTxId=5d13ec6eb0feaf289c8d509a1d3c94ab7717544f4135e58b210b368b01bb2ed7 
Apr-01 15:58:05.300 [JavaFX Application Thread] WARN  b.c.d.g.b.BlindVoteValidator: blindVoteTx is not confirmed. blindVoteTxId=da62bf8ee02fc91db05a02e0466fa0aa4fcef9ebabca5a2956a7537f1074bc4a 
Apr-01 15:58:05.300 [JavaFX Application Thread] WARN  b.c.d.g.b.BlindVoteValidator: blindVoteTx is not confirmed. blindVoteTxId=38409627577c8a283c3723b316b05611870aab08f2f7738b254928d5361ae04e 
Apr-01 15:58:05.301 [JavaFX Application Thread] WARN  b.c.d.g.b.BlindVoteValidator: blindVoteTx is not confirmed. blindVoteTxId=4a5b011a731108b29ce94afb9ae178f8349621254162514c34542a2cc363d561 
</code></pre>
<pre><code>Apr-01 16:28:29.242 [NioClientManager] WARN  o.b.core.AbstractBlockChain: Block does not connect: 74959c3094b48f0bbad6e702ac1f86498d83d63ed677276da2f3c3840f6898b2 prev 2f867d9cd982d6bcdb63e29f4eba20137a4ac35ec3f3e96bb40d035d1e32bf22 
</code></pre>
<p>Even after waiting a bit and generating a single block, it was still stuck and unable to recover.</p>
<p>Once I restarted the client, it synced successfully.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/2612">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AkpZtjpVZi76eqAgEvlvcuKM3k5lGk_Oks5vcpeYgaJpZM4cW1wg">mute the thread</a>.<img src="https://github.com/notifications/beacon/AkpZtk4k0nsGKFBXkTiQN_wyBuEXEa8Nks5vcpeYgaJpZM4cW1wg.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bisq-network/bisq","title":"bisq-network/bisq","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/bisq-network/bisq"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Client becomes stuck synchronizing DAO when generating multiple blocks simultaneously in regtest (#2612)"}],"action":{"name":"View Issue","url":"https://github.com/bisq-network/bisq/issues/2612"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/2612",
"url": "https://github.com/bisq-network/bisq/issues/2612",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>