[bisq-network/bisq-pricenode] Handle exception if provider is not available, sort data items (#14)

Manfred Karrer notifications at github.com
Mon Sep 3 09:59:31 UTC 2018


- In case a provider is not available we still want to deliver the data of the other providers, so we catch a possible exception and leave timestamp at 0. The Bisq app will check if the timestamp is in a tolerance window and if it is too old it will show that the price is not available.

-Use a sorted list by currency code to make comparision of json data between different price nodes easier
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq-pricenode/pull/14

-- Commit Summary --

  * Handle exception if a provider is not available
  * Sort data items by currency in json response

-- File Changes --

    M src/main/java/bisq/price/spot/ExchangeRateService.java (23)

-- Patch Links --

https://github.com/bisq-network/bisq-pricenode/pull/14.patch
https://github.com/bisq-network/bisq-pricenode/pull/14.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-pricenode/pull/14
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20180903/57e9353b/attachment.html>


More information about the bisq-github mailing list