[bisq-network/bisq-p2p] Sync up with changes from voting branch (#15)

sqrrm notifications at github.com
Mon Jul 9 23:13:19 UTC 2018


sqrrm commented on this pull request.



> +    @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() {

I haven't tested this locally since I always run from a fresh setup. What are the possible issues if this fails?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq-p2p/pull/15#pullrequestreview-135625136
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20180709/0b09850b/attachment-0001.html>


More information about the bisq-github mailing list