<p>I went through and audited all the users to figure out the best way to solve this in the short and long term. Here are the current users of the FileManager and the data structures they use when iterating for persistence.</p>
<p><strong>Likely Unsafe</strong><br>
BallotList - PersistableList & ArrayList<br>
PeerList - PersistableList & ArrayList<br>
NavigationPath - ArrayList<br>
PreferencesPayload - ArrayList/HashMap<br>
UserPayload - ArrayList/HashSet</p>
<p><strong>Likely Safe</strong><br>
AccountAgeWitnessStore - MapStoreService & ConcurrentHashMap<br>
BlindVoteStore - MapStoreService & ConcurrentHashMap<br>
ProposalStore - MapStoreService & ConcurrentHashMap<br>
SignedWitnessStore - MapStoreService & ConcurrentHashMap<br>
TempProposalStore - MapStoreService & ConcurrentHashMap<br>
TradeStatistics2Store - MapStoreService & ConcurrentHashMap<br>
SequenceNumberMap - ConcurrentHashMap<br>
AddressEntryList - Clones into new ArrayList</p>
<p><strong>Unknown</strong><br>
*DaoStateStore - LinkedList (only used for clone at startup?)</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/3752?email_source=notifications&email_token=AJFFTNX2V6TIP6673BHGD2TQXGFX3A5CNFSM4JWCNEH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGCQMPQ#issuecomment-562366014">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNWI7U5IZNL7FRJQDZTQXGFX3ANCNFSM4JWCNEHQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNWI4723YYG5TEEOKCDQXGFX3A5CNFSM4JWCNEH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGCQMPQ.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/issues/3752?email_source=notifications\u0026email_token=AJFFTNX2V6TIP6673BHGD2TQXGFX3A5CNFSM4JWCNEH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGCQMPQ#issuecomment-562366014",
"url": "https://github.com/bisq-network/bisq/issues/3752?email_source=notifications\u0026email_token=AJFFTNX2V6TIP6673BHGD2TQXGFX3A5CNFSM4JWCNEH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGCQMPQ#issuecomment-562366014",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>