[bisq-network/bisq] Changed component order precedence (#3646)

Bisq2People notifications at github.com
Wed Nov 20 20:32:48 UTC 2019


Implements feature in #3527

Changed the component order of 'local' and 'global' to give 'global' precedence over 'local'. According to the base class comment below.


>From pricenode/src/main/java/bisq/price/spot/ExchangeRateProvider.java

* Abstract base class for providers of bitcoin {@link ExchangeRate} data. Implementations
* are marked with the {@link org.springframework.stereotype.Component} annotation in
 * order to be discovered via classpath scanning. Implementations are also marked with the
 * {@link org.springframework.core.annotation.Order} annotation to determine their
 * precedence over each other in the case of two or more services returning exchange rate
 * data for the same currency pair. In such cases, results from the provider with the
 * higher order value will taking precedence over the provider with a lower value,
 * presuming that such providers are being iterated over in an ordered list.
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/3646

-- Commit Summary --

  * Use global price data instead of local #3527

-- File Changes --

    M pricenode/src/main/java/bisq/price/spot/providers/BitcoinAverage.java (17)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/3646.patch
https://github.com/bisq-network/bisq/pull/3646.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/pull/3646
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191120/3b2063c2/attachment.html>


More information about the bisq-github mailing list