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

Steven Barclay notifications at github.com
Wed Dec 11 14:25:51 UTC 2019


I've amended the original commit in accordance with some of the suggestions above. A sanity check has been added to `DaoStateService.onNewBlockWithEmptyTxs` that the last block is the same as that passed in. The `DaoState.txMap` initialisation logic has been moved from `toProtoMessage` to the private constructor, simplifying that class slightly.

I've also added another commit to replace all but one use of `DaoStateService.getTxStream` with the unordered `txMap` values, as suggested 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-564566760
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191211/1209e782/attachment.html>


More information about the bisq-github mailing list