[bisq-network/bisq-core] Slightly simplify some BlockParser logic (#162)

chirhonul notifications at github.com
Mon Aug 20 16:55:16 UTC 2018


Also add TODO about concern in validating block header vs just
block height.
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq-core/pull/162

-- Commit Summary --

  * Use expression lambda in BlockParser.parseBlock()
  * Change to BlockParser.isBlockAlreadyAdded() by inverting logic

-- File Changes --

    M src/main/java/bisq/core/dao/node/parser/BlockParser.java (17)

-- Patch Links --

https://github.com/bisq-network/bisq-core/pull/162.patch
https://github.com/bisq-network/bisq-core/pull/162.diff

-- 
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-core/pull/162
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20180820/ef75edab/attachment-0001.html>


More information about the bisq-github mailing list