<p><b>@ManfredKarrer</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/bisq-network/bisq-p2p/pull/15#discussion_r201178182">src/main/java/bisq/network/p2p/storage/persistence/AppendOnlyDataStoreService.java</a>:</p>
<pre style='color:#555'>> +    @Inject
+    public AppendOnlyDataStoreService(PersistableNetworkPayloadListService persistableNetworkPayloadListService) {
+        this.persistableNetworkPayloadListService = persistableNetworkPayloadListService;
+    }
+
+    public void addService(StoreService<? extends PersistableEnvelope, PersistableNetworkPayload> service) {
+        services.add(service);
+    }
+
+    public void readFromResources(String postFix) {
+        services.forEach(service -> service.readFromResources(postFix));
+
+        transferDeprecatedDataStructure();
+    }
+
+    private void transferDeprecatedDataStructure() {
</pre>
<p>That users request all persisted data (account witness and trade statsistics) from seed node once after update. If it works at intended (and tested) the old map is used to be converted to the new data objects and then the old gets deleted.</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-p2p/pull/15#discussion_r201178182">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AkpZth8hUj7aFtmb5A25miWQPiKdgvb4ks5uE-bhgaJpZM4VGsn3">mute the thread</a>.<img src="https://github.com/notifications/beacon/AkpZtmePGFTu9QmvVhLgY1Zx1hLdB5dUks5uE-bhgaJpZM4VGsn3.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bisq-network/bisq-p2p","title":"bisq-network/bisq-p2p","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/bisq-network/bisq-p2p"}},"updates":{"snippets":[{"icon":"PERSON","message":"@ManfredKarrer commented on #15"}],"action":{"name":"View Pull Request","url":"https://github.com/bisq-network/bisq-p2p/pull/15#discussion_r201178182"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq-p2p/pull/15#discussion_r201178182",
"url": "https://github.com/bisq-network/bisq-p2p/pull/15#discussion_r201178182",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "@ManfredKarrer commented on 15",
"sections": [
{
"text": "",
"activityTitle": "**Manfred Karrer**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@ManfredKarrer",
"facts": [

]
}
],
"potentialAction": [
{
"targets": [
{
"os": "default",
"uri": "https://github.com/bisq-network/bisq-p2p/pull/15#discussion_r201178182"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 354077175\n}"
}
],
"themeColor": "26292E"
}
]</script>