<p>Improved seed monitor. Code only affects monitor module and partly seed nodes (to a small extent). The branch was used by most seed nodes already over the past weeks.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/4734'>https://github.com/bisq-network/bisq/pull/4734</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Move deviation calculation to InventoryMonitor and store it in RequestInfo</li>
  <li>Adjust warn/alert tiggers</li>
  <li>Extract method</li>
  <li>Replace the 2 deviation maps with one with DeviationInfo as value</li>
  <li>Add check for repeated warn/alerts in past requests</li>
  <li>Update params</li>
  <li>Reset NumAllConnectionsLostEvents once we sent it to inventory monitor</li>
  <li>Ignore deviation at startup (2 min)</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4734/files#diff-f90116f04ea6d2b230970208b5d0125e8bc3953b703db16a8e4c0d5c23b28ba0">core/src/main/java/bisq/core/network/p2p/inventory/GetInventoryRequestHandler.java</a>
    (33)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4734/files#diff-353a4f577b05fa4b832601dc33fa2d3b5bc69b7b93158f3bf54c6e3c2a237619">core/src/main/java/bisq/core/network/p2p/inventory/model/Average.java</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4734/files#diff-29f74d97a517c2a5c481b08eaeb4ccf4e406007c17708c94e1d0d7a45cf9ab25">core/src/main/java/bisq/core/network/p2p/inventory/model/DeviationByIntegerDiff.java</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4734/files#diff-4f7cae3c300c85feedf24487334c4a56ad1f1dee848742ec6812322cefc34259">core/src/main/java/bisq/core/network/p2p/inventory/model/DeviationByPercentage.java</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4734/files#diff-56a86f56b65a925792a861b9136230e6dc8705adfb810a24d3d96311c8d0e1f1">core/src/main/java/bisq/core/network/p2p/inventory/model/DeviationOfHashes.java</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4734/files#diff-d73d0a95d47291a0878d2916741fefa1af78760357e4fa32e35d20d208aeceab">core/src/main/java/bisq/core/network/p2p/inventory/model/DeviationSeverity.java</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4734/files#diff-f71f3e4e59b6aaecafb834d8043ca231e56110713eebe5914d88a68a627bbc36">core/src/main/java/bisq/core/network/p2p/inventory/model/InventoryItem.java</a>
    (72)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4734/files#diff-3890150de89daa3c662ede2dd4228d29318d35a8e036418cc3549a7ba0708ba0">core/src/main/java/bisq/core/network/p2p/inventory/model/RequestInfo.java</a>
    (48)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4734/files#diff-0a63b35a159becb74f8ef8913d79c2f324b5a6b8479a341d44e854395781a6be">inventory/src/main/java/bisq/inventory/InventoryMonitor.java</a>
    (64)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4734/files#diff-116f493562e65bf3727281675f4a1e6a16ef7f657adee2765341650d8a2fb34a">inventory/src/main/java/bisq/inventory/InventoryMonitorMain.java</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4734/files#diff-ceee4a2fb604cef13b9cbc7e76d8c56b9b2580c4afa1b48ab00397c2d991be7d">inventory/src/main/java/bisq/inventory/InventoryWebServer.java</a>
    (210)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4734/files#diff-03745bbed2f321ab7b59ccecac61170505a473cdde54af835f99cce16cd0ad7f">p2p/src/main/java/bisq/network/p2p/peers/PeerManager.java</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/4734.patch'>https://github.com/bisq-network/bisq/pull/4734.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/4734.diff'>https://github.com/bisq-network/bisq/pull/4734.diff</a></li>
</ul>

<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/4734">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNTFGLEEADC3QWLFXDDSNQ3AFANCNFSM4TF7J5UA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNTXZPSLUHOT7JLBHX3SNQ3AFA5CNFSM4TF7J5UKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4K54HP5Q.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/4734",
"url": "https://github.com/bisq-network/bisq/pull/4734",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>