<p>At init trades we iterate all trades (closed and pending) and check if the trade statistics contain a trade stat from that trade. First we check for the new TradeStatistics3, if not found we lookup for the hash of TradeStatistics2 created from that trade. If also not found and if it is valid data we republish the TradeStatistics3.</p>
<p>Remove republishing at SellerProtocol as we don't know the capability of the peer at that moment and as we also want to republish for completed trades.</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/4662'>https://github.com/bisq-network/bisq/pull/4662</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Handle Capabilities for encrypted messages (offer availibility request/response)</li>
  <li>Add file name to temp file at write to disk</li>
  <li>Fix min height for trade statistics table</li>
  <li>Republish trade statistics if not found in existing trade stats.</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4662/files#diff-027bee98275ab3b1c9ab87efcce29f5628eec45a99552c169631a85d8c7d7e13">common/src/main/java/bisq/common/persistence/PersistenceManager.java</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4662/files#diff-4c53004633c87a847cb5cb8296acfcff56882b3c4c502b9ee8d16ca3d81881cb">core/src/main/java/bisq/core/trade/TradeManager.java</a>
    (13)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4662/files#diff-0efcd58eb6a313e4d37128d8ae56ad1db3d18cfb1732cb0448154aef24dec6fb">core/src/main/java/bisq/core/trade/protocol/SellerProtocol.java</a>
    (26)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4662/files#diff-6015ce0915c29cf414d3011127ad772a7ec6eb453ab1b4ccd7ef82fca671c091">core/src/main/java/bisq/core/trade/protocol/tasks/seller/SellerPublishesTradeStatistics.java</a>
    (38)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4662/files#diff-f099e762eb187f7f8b74b0d0c584dc0f4f7173e745782f8ac11466dd03926a5b">core/src/main/java/bisq/core/trade/statistics/TradeStatistics2.java</a>
    (34)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4662/files#diff-ee3e6ab6efe02715d897f3f01ac2ea73097880835637201e3e8c7ac80d34fde7">core/src/main/java/bisq/core/trade/statistics/TradeStatistics3.java</a>
    (42)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4662/files#diff-87f19f4592a583b017e7da5ae07b224e6c3a350d4c13cf212608da3755a3e0b1">core/src/main/java/bisq/core/trade/statistics/TradeStatisticsManager.java</a>
    (49)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4662/files#diff-c07a4a25261a735296715e03648489d434fb39f93d11500ed770a58f21a8623e">desktop/src/main/java/bisq/desktop/main/market/trades/TradesChartsView.java</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4662/files#diff-c159620533c6a13a99158d534b441d96836d1535ce5bd6baf816b5a2fe126b25">p2p/src/main/java/bisq/network/p2p/P2PService.java</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4662/files#diff-d507e32ebebe0f99bb16dd3204e351824396948609c119369095ef98f622e955">p2p/src/main/java/bisq/network/p2p/network/Connection.java</a>
    (14)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/4662.patch'>https://github.com/bisq-network/bisq/pull/4662.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/4662.diff'>https://github.com/bisq-network/bisq/pull/4662.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/4662">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNTIKGV6PC3C233YZ2DSLCLYBANCNFSM4STXCWXQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNUJVAADPYFBDTHMZFLSLCLYBA5CNFSM4STXCWX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4KY7HSGA.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/4662",
"url": "https://github.com/bisq-network/bisq/pull/4662",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>