<p></p>
<blockquote>
<p>This may be a simple solution to the 'p2p not ready' problem affecting daemons.</p>
</blockquote>
<p>I doubt that this is a feasible approach. There are several state in the p2p and wallet which need be treated differently depending on use case.<br>
P2p:</p>
<ul>
<li>getInitialDataResponse -> can show offers but is not listening to network as no hidden service published yet.</li>
<li>HS published -> ok not we are part of the network</li>
<li>UpdatedDataResonse -> process the maybe missed data in the duration between initiaal response and HS published</li>
</ul>
<p>Wallet:</p>
<ul>
<li>initialize -> wallet is set up</li>
<li>sufficient peers connected -> it is safe to broadcast txs</li>
<li>block download complete -> all synced, not needed to use the app but some txs might not show confirmed or we might miss balance if we received funds</li>
</ul>
<p>So you see this complexity cannot be simulated with a single method. I would not suggest to use ping for more then simple connectivity tests.</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/pull/4502#issuecomment-689268246">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNXSUYIF6L5QUVSBOV3SE3VGFANCNFSM4RAFSZIQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNW2PHKNOSSKTFEBEITSE3VGFA5CNFSM4RAFSZI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFEKWMFQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/4502#issuecomment-689268246",
"url": "https://github.com/bisq-network/bisq/pull/4502#issuecomment-689268246",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>