-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PriceNode: Add support for multiple ExchangeRateProviders #4315
Merged
sqrrm
merged 26 commits into
bisq-network:master
from
cd2357:xchange-integration-introduce-aggregate-rates
Aug 17, 2020
Merged
Changes from 23 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
f2085b4
Simplify validation in ExchangeRateServiceTest
cd2357 f650115
ExchangeRateService: Support aggregate rates
cd2357 671e809
Integrate initial set of ExchangeRateProviders
cd2357 c6ef40e
Revert XChange version to keep jdk10 compatibility
cd2357 141ead0
Wrap comments at 90 characters
cd2357 3e314a9
Rename exception variables to ex
cd2357 5cffddc
Rewrite else-if clause
cd2357 020547e
Remove Order annotation from ExchangeRateProviders
cd2357 75a0a47
Mark new ExchangeRateProviders as package-private
cd2357 aceb7ee
Renamed ExchangeRateProvider test class
cd2357 329188d
Reduce number of exchange API calls when polling
cd2357 7fc5191
Reuse sets of supported currencies
cd2357 637378b
Integrate more exchanges using knowm xchange
cd2357 9be2a5b
Integrate Bitpay exchange rate API
cd2357 399f65d
Integrate CoinGecko API
cd2357 5a19442
Integrate Coinpaprika API
cd2357 b362b4c
Integrate Huobi exchange API
cd2357 efda45f
Integrate Hitbtc exchange API
cd2357 8d33544
Fix Bitpay and CoinGecko altcoin rates
cd2357 4dc24e5
Disable BitcoinAverage
cd2357 82bbb2d
Upgrade Tor to v3
cd2357 36dbb2e
Upgrade Java to v11
cd2357 11076e7
Set quiet flag for java install command
cd2357 9fb5c0b
Remove unused imports
cd2357 0c27038
Apply Codacy style changes
cd2357 d972a75
Improve exception handling to match Codacy rules
cd2357 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
BITCOIN_AVG_PUBKEY=foo | ||
BITCOIN_AVG_PRIVKEY=bar | ||
JAVA_OPTS="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New import, haven't seen any mention of this in the discussion. Anything new carries a risk, and perhaps more so when upgrading versions as the project in question already knows it's being used by bisq. In this case this is for price nodes so bisq wallets are not affected, lowering the risk.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the library that abstract away the different exchange integrations. Since we want to have the most up-to-date integration possible (e.g. broadest set of exchanges, support for most recent exchange API versions, etc) it makes sense to use the latest version of this lib.