[bisq-network/bisq] Misc dao improvements (#2556)

Devin Bileck notifications at github.com
Wed Mar 20 07:53:17 UTC 2019


devinbileck commented on this pull request.



>          if (proposalStateBlockChain.isEmpty() && blockHeight > genesisBlockHeight) {
             // Takes about 150 ms for dao testnet data
             long ts = System.currentTimeMillis();
             for (int i = genesisBlockHeight; i < blockHeight; i++) {
-                maybeUpdateHashChain(i);
+                hashChainUpdated = hashChainUpdated || maybeUpdateHashChain(i);
+            }
+            if (hashChainUpdated) {
+                log.info("updateHashChain for {} items took {} ms",

Perhaps could be clarified as blocks rather than items?

-- 
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/2556#pullrequestreview-216565730
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190320/f79cd9bd/attachment-0001.html>


More information about the bisq-github mailing list