[bisq-network/bisq] Add transient tx map to DaoState to speed up getTx queries (#3773)

Steven Barclay notifications at github.com
Thu Dec 12 03:24:01 UTC 2019


I've applied the suggested patch as a third commit, minus a few of the non-mutating accessors added to `Block` and `DaoState` (as I think that makes it slightly simpler and should have negligible impact on performance). I also swapped the merge function arguments and used `putIfAbsent` in place of `txCache.put(..)` for greater consistency with the original behaviour, as commented above.

-- 
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/3773#issuecomment-564832890
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191211/9cf32860/attachment.html>


More information about the bisq-github mailing list