<p>The map access to HistoricalDataStoreServices from the p2pDataStorage was incorrect. I has accessed the live map instead of all data. That has led that at addPersistableNetworkPayload the data got rebroadcast as it was assumed the data has not been already received.</p>
<p>How to test it?</p>
<ul>
<li>Add some logs in P2PDataStorage.addPersistableNetworkPayload to see if data gets added and broadcast</li>
<li>Change the  delay at republishAllFiatAccounts in AccountAgeWitnessService otherwise it takes 20-60 sec. for republishing</li>
<li>Create a new fresh regtest seed and new fresh app node.</li>
<li>Start the app. Create one fiat payment account. Shut down and copy the AccountAgeWitnessStore which must have 1 entry now and copy it to the resources and rename it to AccountAgeWitnessStore_1.5.0_BTC_REGTEST</li>
<li>Restart seed node and app</li>
<li>Now you should see repeated logs that the data gets added and broadcast</li>
</ul>
<p>It is still not clear to me why we did not see much more AccountAgeWitness data but only one in massive numbers...</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/5030'>https://github.com/bisq-network/bisq/pull/5030</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>We need to use the getMapOfAllData method for HistoricalDataStoreServices</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5030/files#diff-2de457dc711428ac850d58efa397058a668c8935eac740a5ca596d70c3bd105a">p2p/src/main/java/bisq/network/p2p/storage/persistence/AppendOnlyDataStoreService.java</a>
    (7)
  </li>
</ul>

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