[bisq-network/bisq] Dao ui improvements (#1751)

Manfred Karrer notifications at github.com
Fri Oct 12 23:30:05 UTC 2018


ManfredKarrer commented on this pull request.



> @@ -173,6 +189,24 @@ public void onFault(String errorMessage, @Nullable Connection connection) {
             } else {
                 log.warn("We have stopped already. We ignore that onMessage call.");
             }
+        } else if (networkEnvelope instanceof RepublishBlindVotesRequest) {
+            ObservableList<BlindVotePayload> appendOnlyStoreList = blindVoteListService.getAppendOnlyStoreList();
+            appendOnlyStoreList
+                    .forEach(blindVotePayload -> {
+                        // We want a random delay between 0.1 and 30 sec. depending on the number of items

We don't want to stress the network with many broadcasts, so if there are many objects it will be delayed, the more objects the longer the dealy, but not more then 30 sec.

-- 
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/pull/1751#discussion_r224937882
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20181012/44adf9fb/attachment.html>


More information about the bisq-github mailing list