Upgrade XChange 5.0.13, remove BitBay CoinPaprika add CoinbasePro.

Co-Authored-by: jmacxx <47253594+jmacxx@users.noreply.github.com>
This commit is contained in:
jmacxx 2022-05-30 21:38:28 -05:00 committed by woodser
parent 608c19a1d0
commit 14a03f3027
5 changed files with 327 additions and 47 deletions

View file

@ -61,7 +61,7 @@ configure(subprojects) {
junitVersion = '4.12'
jupiterVersion = '5.7.0'
kotlinVersion = '1.3.41'
knowmXchangeVersion = '4.4.2'
knowmXchangeVersion = '5.0.13'
langVersion = '3.11'
logbackVersion = '1.1.11'
loggingVersion = '1.2'
@ -524,6 +524,7 @@ configure(project(':pricenode')) {
implementation("org.knowm.xchange:xchange-bitstamp:$knowmXchangeVersion")
implementation("org.knowm.xchange:xchange-btcmarkets:$knowmXchangeVersion")
implementation("org.knowm.xchange:xchange-cexio:$knowmXchangeVersion")
implementation("org.knowm.xchange:xchange-coinbasepro:$knowmXchangeVersion")
implementation("org.knowm.xchange:xchange-coinmarketcap:$knowmXchangeVersion")
implementation("org.knowm.xchange:xchange-coinmate:$knowmXchangeVersion")
implementation("org.knowm.xchange:xchange-coinone:$knowmXchangeVersion")

View file

@ -46,6 +46,14 @@
<sha256 value="3e1e9d97cb5aaa14813a526bf259bbf4cd6b7eddee1a08dfc802fc4ef67094f1" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.auth0" name="java-jwt" version="3.18.3">
<artifact name="java-jwt-3.18.3.jar">
<sha256 value="e51e9c0237ca4a27b80e603081dab80e43f3847020ea1b57292df3e0d11d17db" origin="Generated by Gradle"/>
</artifact>
<artifact name="java-jwt-3.18.3.pom">
<sha256 value="f4e46a0910c9d2bba77f906fcf7686ed8b10817c4d9acb58251ccdc1a71dfacf" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.eatthepath" name="fast-uuid" version="0.1">
<artifact name="fast-uuid-0.1.jar">
<sha256 value="670976cae3f41609128f647388791f43af361f3e7403ef0e3f0529c23fa1bccc" origin="Generated by Gradle"/>
@ -411,6 +419,14 @@
<sha256 value="3e979bc1d06e5f92fe961e262a9e5ebd013ccfae9c0abdfe1eca11838df64a05" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.github.mmazi" name="rescu" version="2.1.0">
<artifact name="rescu-2.1.0.jar">
<sha256 value="7d4d4498f052019407b200839bff61d1cdb0a34fb78fd31bbb8accae5f650805" origin="Generated by Gradle"/>
</artifact>
<artifact name="rescu-2.1.0.pom">
<sha256 value="6af31b34813f2de4e201e1d33d51e0b497180e4d48f139e17b22302ac5c36b2b" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.github.ravn" name="jsocks" version="567e1cd">
<artifact name="jsocks-567e1cd.jar">
<sha256 value="3c71600af027b2b6d4244e4ad14d98ff2352a379410daebefff5d8cd48d742a4" origin="Generated by Gradle"/>
@ -837,6 +853,70 @@
<sha256 value="ead76a2facdfaa55fcc2bc4aa706e3c6eebd5df4b9dcb153a9ff01f8f0324596" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.github.resilience4j" name="resilience4j-all" version="1.7.0">
<artifact name="resilience4j-all-1.7.0.jar">
<sha256 value="46c17f491886c0152d957cd04b00b871f39df09d2bd01067d650e2bc89451b04" origin="Generated by Gradle"/>
</artifact>
<artifact name="resilience4j-all-1.7.0.pom">
<sha256 value="9576a2030f8c372a53dbecc1c682e72c4bb4e14a08a35ea57f7bd1a002ee479b" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.github.resilience4j" name="resilience4j-bulkhead" version="1.7.0">
<artifact name="resilience4j-bulkhead-1.7.0.jar">
<sha256 value="639ffb64df8b243a8f1b26939ca03574d7cb53a76c9cfded48ee0cbdee36ef5b" origin="Generated by Gradle"/>
</artifact>
<artifact name="resilience4j-bulkhead-1.7.0.pom">
<sha256 value="a7e4f4e142900b830e25b5b0320dba3b5b728d4afbb2ca7c4c6e01b40f7b696b" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.github.resilience4j" name="resilience4j-cache" version="1.7.0">
<artifact name="resilience4j-cache-1.7.0.jar">
<sha256 value="be58ee7affa55db55eb6bd586dda3d427d0339641580aa85f94c1f5706d2415f" origin="Generated by Gradle"/>
</artifact>
<artifact name="resilience4j-cache-1.7.0.pom">
<sha256 value="f9186267c4fd2a1e62c9000674db223b8ff0830db884d6972eaf621708c94d88" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.github.resilience4j" name="resilience4j-circuitbreaker" version="1.7.0">
<artifact name="resilience4j-circuitbreaker-1.7.0.jar">
<sha256 value="4d58d051ecef3a7a6d2aedfe652a152b78b2051f9bf61d12e123efd95eefb4ed" origin="Generated by Gradle"/>
</artifact>
<artifact name="resilience4j-circuitbreaker-1.7.0.pom">
<sha256 value="e36475dbce3f45d41f61a49afba61bfd8f4a9f179c5e5470d2e9c13c3152b3cd" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.github.resilience4j" name="resilience4j-core" version="1.7.0">
<artifact name="resilience4j-core-1.7.0.jar">
<sha256 value="90b3e6a9855fffcfd6fbca5a4ff2ae4cabcc3b7c763aefadf94556a234168be3" origin="Generated by Gradle"/>
</artifact>
<artifact name="resilience4j-core-1.7.0.pom">
<sha256 value="e6aed8dd799954402e189ca16d5ebba04c0c29a6e2d5e050d3e61f4ecd0d80ac" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.github.resilience4j" name="resilience4j-ratelimiter" version="1.7.0">
<artifact name="resilience4j-ratelimiter-1.7.0.jar">
<sha256 value="4829d28fd83a6bdd07131dde551544536e15d1b783cffeceec4b6032c6e78123" origin="Generated by Gradle"/>
</artifact>
<artifact name="resilience4j-ratelimiter-1.7.0.pom">
<sha256 value="99e72a9a620f6b7150d9a922c70b089ef1d150f52794339901279831b954390f" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.github.resilience4j" name="resilience4j-retry" version="1.7.0">
<artifact name="resilience4j-retry-1.7.0.jar">
<sha256 value="bce67fdf8c73b4f436e77918c597fbea7173cbe4ad8b51f02df424992217e2d1" origin="Generated by Gradle"/>
</artifact>
<artifact name="resilience4j-retry-1.7.0.pom">
<sha256 value="d725333796ef9686504f204d69772c654ae8b227c3a51b97dc5690652a9d24b4" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.github.resilience4j" name="resilience4j-timelimiter" version="1.7.0">
<artifact name="resilience4j-timelimiter-1.7.0.jar">
<sha256 value="6a06f4cd637dbc89f557ad1b4746d629ec01c6230ef439417df2403397eb2bd6" origin="Generated by Gradle"/>
</artifact>
<artifact name="resilience4j-timelimiter-1.7.0.pom">
<sha256 value="c92e2ca40a3f2474d61e56831aeb379cf8ae3dddeea61b4a828cee2d99f71f38" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.grpc" name="grpc-api" version="1.25.0">
<artifact name="grpc-api-1.25.0.jar">
<sha256 value="a269094009588213ab5386a6fb92426b8056a130b2653d3b4e59e971f2f1ef08" origin="Generated by Gradle"/>
@ -1038,11 +1118,40 @@
<sha256 value="37e2b4345ee0b0078d39c24424ab952672d37994ba86135d44c2e76279864f5a" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.vavr" name="vavr" version="0.10.2">
<artifact name="vavr-0.10.2.jar">
<sha256 value="1b2ae46cf352627e05b39ac1f1d3bda7b285a8f643cdc7472aea4aa279492e54" origin="Generated by Gradle"/>
</artifact>
<artifact name="vavr-0.10.2.pom">
<sha256 value="f85e2ae607e7b23824c0a08b007a059afd61cfac9f6afc87d7baf7de1a0d4cca" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.vavr" name="vavr-match" version="0.10.2">
<artifact name="vavr-match-0.10.2.jar">
<sha256 value="5d7a9515b05e3291194e04e641acf74a9a544c1caa1e2c24f59a1424c6ec8288" origin="Generated by Gradle"/>
</artifact>
<artifact name="vavr-match-0.10.2.pom">
<sha256 value="4b0f8c0be98698b9187be651b55130967dd7e8dd356cff6c6edfd84f3e63e773" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.vavr" name="vavr-parent" version="0.10.2">
<artifact name="vavr-parent-0.10.2.pom">
<sha256 value="91359b2cba15324405169d1e2d1ef4b2d016e394d6eae58677c4f0f87f33cb87" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="jakarta.activation" name="jakarta.activation-api" version="1.2.1">
<artifact name="jakarta.activation-api-1.2.1.jar">
<sha256 value="8b0a0f52fa8b05c5431921a063ed866efaa41dadf2e3a7ee3e1961f2b0d9645b" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="jakarta.ws.rs" name="jakarta.ws.rs-api" version="2.1.5">
<artifact name="jakarta.ws.rs-api-2.1.5.jar">
<sha256 value="3587738aaf6d5e4f1e3f01cc249cb061badf7490f7e647b2ae26d0a7efa6e173" origin="Generated by Gradle"/>
</artifact>
<artifact name="jakarta.ws.rs-api-2.1.5.pom">
<sha256 value="23987ad51189efe6997c9e293b88385cb5cf0e7ad4e54ce24bb0ceb173dda3d4" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="jakarta.xml.bind" name="jakarta.xml.bind-api" version="2.3.2">
<artifact name="jakarta.xml.bind-api-2.3.2.jar">
<sha256 value="69156304079bdeed9fc0ae3b39389f19b3cc4ba4443bc80508995394ead742ea" origin="Generated by Gradle"/>
@ -1061,6 +1170,14 @@
<sha256 value="46a4a251ca406e78e4853d7a2bae83282844a4992851439ee9a1f23716f06b97" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="javax.cache" name="cache-api" version="1.0.0">
<artifact name="cache-api-1.0.0.jar">
<sha256 value="d2836213144722e2eb1d7461f6e2ea3349d6fbbf9cd5f345c7133bc29bd39ca1" origin="Generated by Gradle"/>
</artifact>
<artifact name="cache-api-1.0.0.pom">
<sha256 value="424dd1d4e7e92bffb4bb9f18acf7f53835d218fb9788336b5fdc69cff5c675ef" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="javax.inject" name="javax.inject" version="1">
<artifact name="javax.inject-1.jar">
<sha256 value="91c77044a50c481636c32d916fd89c9118a72195390452c81065080f957de7ff" origin="Generated by Gradle"/>
@ -1247,6 +1364,14 @@
<sha256 value="980d665d83fed04665134f0578e507442a0e750691073784391b0a7988724a75" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.commons" name="commons-lang3" version="3.12.0">
<artifact name="commons-lang3-3.12.0.jar">
<sha256 value="d919d904486c037f8d193412da0c92e22a9fa24230b9d67a57855c5c31c7e94e" origin="Generated by Gradle"/>
</artifact>
<artifact name="commons-lang3-3.12.0.pom">
<sha256 value="82d31f1dcc4583effd744e979165b16da64bf86bca623fc5d1b03ed94f45c85a" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.commons" name="commons-parent" version="34">
<artifact name="commons-parent-34.pom">
<sha256 value="3a2e69d06d641d1f3b293126dc9e2e4ea6563bf8c36c87e0ab6fa4292d04b79c" origin="Generated by Gradle"/>
@ -1729,6 +1854,11 @@
<sha256 value="35fb15f8d0bee2b5900a22832762366552f9a349c56ced60ba123ce47738ff00" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.junit" name="junit-bom" version="5.7.1">
<artifact name="junit-bom-5.7.1.pom">
<sha256 value="0b9b14a3d62106fafe8c68a717b87b87ad18685899451b753c04fa41b6857784" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.junit.jupiter" name="junit-jupiter-api" version="5.7.0">
<artifact name="junit-jupiter-api-5.7.0.jar">
<sha256 value="b03f78e0daeed2d77a0af9bcd662b4cdb9693f7ee72e01a539b508b84c63d182" origin="Generated by Gradle"/>
@ -1777,6 +1907,14 @@
<sha256 value="90505e8787a734f1b135d92b09d27b022c8920f78debbd0a02e9918f5fec611e" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-binance" version="5.0.13">
<artifact name="xchange-binance-5.0.13.jar">
<sha256 value="be6db4fa53f3009bc5023c62df272e6f4cfbfc6750f4c500b05ed07279dce644" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-binance-5.0.13.pom">
<sha256 value="73b89e77e5d86a5fa0a51a3f6857b4179ea04e670f11218890b48297f6fc35df" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-bitbay" version="4.4.2">
<artifact name="xchange-bitbay-4.4.2.jar">
<sha256 value="723ae277b65cca1c07346cf534de1ab407f62f6990353099a9235eed70e3edcc" origin="Generated by Gradle"/>
@ -1785,6 +1923,14 @@
<sha256 value="bc88e505a37fbbdcabc55c9bfee452839542a9a425cbd23df8e56574bfddb8de" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-bitbay" version="5.0.13">
<artifact name="xchange-bitbay-5.0.13.jar">
<sha256 value="78f5570682ebb4f775f18389189ad25ca43dc04bdc908ce4113873b750dfa4e2" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-bitbay-5.0.13.pom">
<sha256 value="7e5f3a26859291a69e427ac9e901f28497ab08c3928a82074495a51a63289941" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-bitfinex" version="4.4.2">
<artifact name="xchange-bitfinex-4.4.2.jar">
<sha256 value="1f7dcb007e4fe04da5a72681a21ce30f7a5071b1a886ce00f58eb8c0e47ea05c" origin="Generated by Gradle"/>
@ -1793,6 +1939,14 @@
<sha256 value="dcbf7f137c098488d716a90a76e31bc041df33e2a21e1381caba76b5c80d6118" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-bitfinex" version="5.0.13">
<artifact name="xchange-bitfinex-5.0.13.jar">
<sha256 value="cbb09de59b1a99634ce0b633373caee3543c77fac79093bded1a0d15e02f281c" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-bitfinex-5.0.13.pom">
<sha256 value="068abfd585c50f3905dba88192b2f6525404aa8cd88781c2d5bf685bf217521e" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-bitflyer" version="4.4.2">
<artifact name="xchange-bitflyer-4.4.2.jar">
<sha256 value="5a68242ea812d6bdbc0cce087bf03c4977be5b78365dd66ab00bbea4e37e94d0" origin="Generated by Gradle"/>
@ -1801,6 +1955,14 @@
<sha256 value="9037c9ac214006c6103d049e6064f67f0e1a8fa91ca5f102c00fc1193f6b8b88" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-bitflyer" version="5.0.13">
<artifact name="xchange-bitflyer-5.0.13.jar">
<sha256 value="bb0a7693c3df777706d6c385decaa75a5864cc1ff29cb21f047387ece7a0bf73" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-bitflyer-5.0.13.pom">
<sha256 value="0794017671cb65cf7ec8ba25837f0bdca1030bc3c725803ed5b24a926e6c4008" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-bitstamp" version="4.4.2">
<artifact name="xchange-bitstamp-4.4.2.jar">
<sha256 value="8532a85d1a5a81f641e2598b7035944abb9167960ea885737daa29af2c019228" origin="Generated by Gradle"/>
@ -1809,6 +1971,14 @@
<sha256 value="ba4b4b32aa1bfe3c9f1021f6ea7757720769d40d2ad67733711bd52fd797e9c7" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-bitstamp" version="5.0.13">
<artifact name="xchange-bitstamp-5.0.13.jar">
<sha256 value="fa31554de4feee3859d472b2b4595c4525e7ab0cc808e8c46e203a654448fe63" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-bitstamp-5.0.13.pom">
<sha256 value="6e5d56a9c3d63c9fe877582ebc6735dbc1e90cee477eb512ac1d2acf21096158" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-btcmarkets" version="4.4.2">
<artifact name="xchange-btcmarkets-4.4.2.jar">
<sha256 value="43d48016368be58b847fd90c3022b7941b173da03251e3a82de275110c2e5829" origin="Generated by Gradle"/>
@ -1817,6 +1987,14 @@
<sha256 value="529f836e8f30deb6fdadf3a492f2bfbd282f9cad27c9b05781cc1ab6cf084524" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-btcmarkets" version="5.0.13">
<artifact name="xchange-btcmarkets-5.0.13.jar">
<sha256 value="719c4257806a15416abaa1658e555a96305fec03fea01a10a2afc7d1fffcc87d" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-btcmarkets-5.0.13.pom">
<sha256 value="0cb79e637434bd7c16cf6e0128626e499248530c73c307aeba000230e98eab1b" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-cexio" version="4.4.2">
<artifact name="xchange-cexio-4.4.2.jar">
<sha256 value="c773726a025ecdd763ede8bde419deeef346a10cfb5da680af53ea55e33930b6" origin="Generated by Gradle"/>
@ -1825,6 +2003,22 @@
<sha256 value="eb743be06eb14584c1d89133eea79c6d65c25ef7241a524ccea62c33816c1f92" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-cexio" version="5.0.13">
<artifact name="xchange-cexio-5.0.13.jar">
<sha256 value="3aee69b41fb6b59fa8f56fff21b3913834eb6185ca440b60aa1a0711d46dd9d6" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-cexio-5.0.13.pom">
<sha256 value="a00fcbc26815dcfa126cb16c3491e22cd9fc88bf72643f721f36eed1cb5e0541" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-coinbasepro" version="5.0.13">
<artifact name="xchange-coinbasepro-5.0.13.jar">
<sha256 value="3972245632dad4f451921fd3b09fa87aacead3391720e3c82b14f1f850fdc108" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-coinbasepro-5.0.13.pom">
<sha256 value="cc3bd46e5363eff76d2cca01142a1a8228580b42af2197f091ad0413a296bd64" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-coinmarketcap" version="4.4.2">
<artifact name="xchange-coinmarketcap-4.4.2.jar">
<sha256 value="6a3d4a0e5493fd0e98f600974f26e393f377c7e9dff982a259e896a24e3191d9" origin="Generated by Gradle"/>
@ -1833,6 +2027,14 @@
<sha256 value="1d2cf8d872da7673118b700d118210c7cb95bb7b328608f751a41e5a18acfd53" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-coinmarketcap" version="5.0.13">
<artifact name="xchange-coinmarketcap-5.0.13.jar">
<sha256 value="fe9e2598e3d73e9922d54cecaed12be079013656e0bafebbd43aaf9e9d0273a5" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-coinmarketcap-5.0.13.pom">
<sha256 value="ebecfbee03311082b8594d33bd3735c49ba9514dfa41c6f891f196f17e06f9bf" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-coinmate" version="4.4.2">
<artifact name="xchange-coinmate-4.4.2.jar">
<sha256 value="a3616769a800f3137f00405e79ddd0f3ee2b107e140162598aa4262e5f71012f" origin="Generated by Gradle"/>
@ -1841,6 +2043,14 @@
<sha256 value="cb6ba2974ee4701bd5c8b22f0dd7b6c1caa63c06b7e823e8b74ef9282abb6211" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-coinmate" version="5.0.13">
<artifact name="xchange-coinmate-5.0.13.jar">
<sha256 value="d1d6b10c0a58e04aab52b69722a6a15cb2e728ca39f80d5a2962bfc11ec4a333" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-coinmate-5.0.13.pom">
<sha256 value="7187897bed23eba066ecbd7765068ee7d4fee12cbdd6b2bdad3adc9fcffed326" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-coinone" version="4.4.2">
<artifact name="xchange-coinone-4.4.2.jar">
<sha256 value="9c31138d283f99f4be0a2434f8dc39b365dcb9f496e19492f8e279569778e986" origin="Generated by Gradle"/>
@ -1849,6 +2059,14 @@
<sha256 value="4f3c0a0cbe79b74aedc1f681fd16927bba84b65c25a27885d21c2712d00332b1" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-coinone" version="5.0.13">
<artifact name="xchange-coinone-5.0.13.jar">
<sha256 value="457b82bd59699cfb337967d7334357dff2531731d8e8521a67f233ee74768f83" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-coinone-5.0.13.pom">
<sha256 value="bb3beb2a22b3a8f8d4372ebe858d3ea2999a84e4279030ae11f254c4897d2f97" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-core" version="4.4.2">
<artifact name="xchange-core-4.4.2.jar">
<sha256 value="d4acbad92063a2e9f987364e0247e406f04de6f39116660b8166d3f26d38060f" origin="Generated by Gradle"/>
@ -1857,6 +2075,14 @@
<sha256 value="24d85987bb5251b0443bbb11f91a5cf32123ba352a635d92b341013d0be88c0f" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-core" version="5.0.13">
<artifact name="xchange-core-5.0.13.jar">
<sha256 value="e7fcf0c43adb4a156effd444ff8d3cdb6f17c55af4fa6cf1f0591ed35afd8184" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-core-5.0.13.pom">
<sha256 value="cf1971bd88eba00a0445e70f57574bf095045431b9a412184e53b3e8c2a4e9e7" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-exmo" version="4.4.2">
<artifact name="xchange-exmo-4.4.2.jar">
<sha256 value="6fa282673090d3883018b5224e2d14ee60b6afdaf693718aa67ca00d1a2fae55" origin="Generated by Gradle"/>
@ -1865,6 +2091,14 @@
<sha256 value="e1b329dd2402658198fe59814984621cfac7312e849081d71d499f177c6c5256" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-exmo" version="5.0.13">
<artifact name="xchange-exmo-5.0.13.jar">
<sha256 value="4414d2c68a67a7c1947e4940373ddda2ec4601b5d5fe976673895c1bee2485b5" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-exmo-5.0.13.pom">
<sha256 value="be4ff865ff579d0bb48d87904e0d3af6f6dd2cab3771bd343baff4739a1400d1" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-hitbtc" version="4.4.2">
<artifact name="xchange-hitbtc-4.4.2.jar">
<sha256 value="2dfb6912eab2fe50032ca292cc3c6eae89b4fd7d6b489b3095cc986ce5ef28d7" origin="Generated by Gradle"/>
@ -1873,6 +2107,14 @@
<sha256 value="3556a3cce231a4fe8f216e7b5891025d1412694b32c11cb3043550694e7cbefe" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-hitbtc" version="5.0.13">
<artifact name="xchange-hitbtc-5.0.13.jar">
<sha256 value="db86bd9a2bd1887252c7e4cdef97ba4b1d0139a2d0669793c25dbc42ee1eb7f9" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-hitbtc-5.0.13.pom">
<sha256 value="fb0ca258c46c9bca963f5f6bcb64f0f635695a91d285c4a72bd17463a643957a" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-huobi" version="4.4.2">
<artifact name="xchange-huobi-4.4.2.jar">
<sha256 value="3835eceec9e3c6ecdf9de3850289bf731f5b2bb7bfad8beccfa81c86fc9a1505" origin="Generated by Gradle"/>
@ -1881,6 +2123,14 @@
<sha256 value="798221b9fac8913079f68d3fb2ec7b143f13db474ff6b5779b6e5391031cccd0" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-huobi" version="5.0.13">
<artifact name="xchange-huobi-5.0.13.jar">
<sha256 value="44bbe88e16adfaf65cb1df19d0729d28266f3d7e32363f95e4593a493cf21a38" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-huobi-5.0.13.pom">
<sha256 value="0ac71db129f9991d9c9e2eb489f885b8af4011ffcb02e53e1e4ea3307182918b" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-independentreserve" version="4.4.2">
<artifact name="xchange-independentreserve-4.4.2.jar">
<sha256 value="f0bbb3d039e9c04f877bace2b1230507b26e9b725e13412468c8876515666531" origin="Generated by Gradle"/>
@ -1889,6 +2139,14 @@
<sha256 value="f372436b14a529f1d5370c9fa14ca163e2db27fd3c3b81cbd5e0ab0a38e8203a" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-independentreserve" version="5.0.13">
<artifact name="xchange-independentreserve-5.0.13.jar">
<sha256 value="ffd5a054c2f7f238f143ce8ff803ee34b3bed5463776899eb9d9bda631dca165" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-independentreserve-5.0.13.pom">
<sha256 value="b4f874817c88e188ef1d2e9153c4457154840fa5a0c22eeee3699437b71cd02e" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-kraken" version="4.4.2">
<artifact name="xchange-kraken-4.4.2.jar">
<sha256 value="70098878fc66cb56fb00ade434e14bd5bcae6fbf94303465f39dede784e9ecd4" origin="Generated by Gradle"/>
@ -1897,6 +2155,14 @@
<sha256 value="6e80412700e2be7ac0f42d2c7499efe98f9989670c6dad752acd30045e84798d" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-kraken" version="5.0.13">
<artifact name="xchange-kraken-5.0.13.jar">
<sha256 value="3c8b152454f0a988186bce4b46e7fc83275e486fb9c511fdec8a0a5c9b80d910" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-kraken-5.0.13.pom">
<sha256 value="a9b0b79d3bc7ed6295b402cdc34367f1a965191db006eee7d473ad8ac421e8af" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-luno" version="4.4.2">
<artifact name="xchange-luno-4.4.2.jar">
<sha256 value="f8443f3d435beeca8e616dd071e634b5b5877802a6f2f6368eaf1dd2b526257e" origin="Generated by Gradle"/>
@ -1905,6 +2171,14 @@
<sha256 value="6f2c61f889cd86d0a3507c0fb5bd80c1c1a47990b883c34766a99af47a30f5ba" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-luno" version="5.0.13">
<artifact name="xchange-luno-5.0.13.jar">
<sha256 value="b4b4b12a3c62f6991746db48dc6d601916becd8e2dbbb1faf906761c27f87a2a" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-luno-5.0.13.pom">
<sha256 value="60321a0d69e6a5d1e66101b4c270275001f58181d4378442713c2df0f030babc" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-mercadobitcoin" version="4.4.2">
<artifact name="xchange-mercadobitcoin-4.4.2.jar">
<sha256 value="89ba32a350cc294ad717f2d1bb7b5f289c5968cb43cdbf6e562bcc6a88483a98" origin="Generated by Gradle"/>
@ -1913,11 +2187,24 @@
<sha256 value="fdd91c3b49cacdc07bef06d2228a372501c49f01558d9c9f4e8e5dde76343c07" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-mercadobitcoin" version="5.0.13">
<artifact name="xchange-mercadobitcoin-5.0.13.jar">
<sha256 value="c6cec9dce696d838f87a303bf227de8ba311a4614635aa70337b63545558fca3" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-mercadobitcoin-5.0.13.pom">
<sha256 value="ac6ee1ae7cb025168b92cd42a547acc74809f043d9efd509c88f0b8197b4430a" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-parent" version="4.4.2">
<artifact name="xchange-parent-4.4.2.pom">
<sha256 value="d1e4f432d81a3e893d6079718db685e2d0dbe19956c28c8eeac4c3743337d118" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-parent" version="5.0.13">
<artifact name="xchange-parent-5.0.13.pom">
<sha256 value="5ddeb78e27d10ce803b22c305f6abd580a7435fe384eea7e343f966f1e265ff2" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-paribu" version="4.4.2">
<artifact name="xchange-paribu-4.4.2.jar">
<sha256 value="f48bca0dbed291c3109785f273666670a0e834e69b1c6c61a8f9ac684fbb7316" origin="Generated by Gradle"/>
@ -1926,6 +2213,14 @@
<sha256 value="be4150643b51905f2d1d97b5458d24e125323d29ef5f4ab290a049360139e275" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-paribu" version="5.0.13">
<artifact name="xchange-paribu-5.0.13.jar">
<sha256 value="b08a0cd45c4d42a841e665b4d563dbcabf57e680a9a19c3648448c5a02a6fd62" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-paribu-5.0.13.pom">
<sha256 value="7fc754f8385142dd1aacbb9bcb45461f9b5d54dee9abb498c79f90a1a225712a" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-poloniex" version="4.4.2">
<artifact name="xchange-poloniex-4.4.2.jar">
<sha256 value="19fc5d520c25b509f8a3deed54dc5294e33ed8db7026e90552267d567b8c1ecf" origin="Generated by Gradle"/>
@ -1934,6 +2229,14 @@
<sha256 value="b526186d2ea6067d53aeb166f132eafbbd0977506b9381db203d13f35922667d" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-poloniex" version="5.0.13">
<artifact name="xchange-poloniex-5.0.13.jar">
<sha256 value="d2148a2ad3fdca6cc7e0529b7a8217e900dd296e56844485702c58cb13802ebc" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-poloniex-5.0.13.pom">
<sha256 value="2dadc019ac83d23b7d8d452c5ddca3f3463c1a71be645a06d8a6aa771e2b2380" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-quoine" version="4.4.2">
<artifact name="xchange-quoine-4.4.2.jar">
<sha256 value="59afe7ad35d55a4690cdabf0a15e1250455ee52bea4eb7c5889a63752a7e4c90" origin="Generated by Gradle"/>
@ -1942,6 +2245,14 @@
<sha256 value="d3f791725b7f18867b35c0addbca94883d2bbb6a645cc46d2226d1eca5f22034" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.knowm.xchange" name="xchange-quoine" version="5.0.13">
<artifact name="xchange-quoine-5.0.13.jar">
<sha256 value="efebc2c85c31961b213981720053d58770b712201c3297011ad8d7c3562a2480" origin="Generated by Gradle"/>
</artifact>
<artifact name="xchange-quoine-5.0.13.pom">
<sha256 value="86affbb1a52a897c8af6d748ca4e29117bf8f46fef93a1f6ce8b45a64e1e1fe4" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.mockito" name="mockito-core" version="3.5.15">
<artifact name="mockito-core-3.5.15.jar">
<sha256 value="f2c9c7080ada5640d28d01fc29d814438dd143e5331f76ef6908dcdd3ec141f0" origin="Generated by Gradle"/>

View file

@ -14,13 +14,12 @@
* You should have received a copy of the GNU Affero General Public License
* along with Haveno. If not, see <http://www.gnu.org/licenses/>.
*/
package bisq.price.spot.providers;
import bisq.price.spot.ExchangeRate;
import bisq.price.spot.ExchangeRateProvider;
import org.knowm.xchange.bitbay.BitbayExchange;
import org.knowm.xchange.coinbasepro.CoinbaseProExchange;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Component;
@ -30,16 +29,21 @@ import java.time.Duration;
import java.util.Set;
@Component
class Bitbay extends ExchangeRateProvider {
class CoinbasePro extends ExchangeRateProvider {
public Bitbay(Environment env) {
super(env, "BITBAY", "bitbay", Duration.ofMinutes(1));
public CoinbasePro(Environment env) {
super(env, "COINBASEPRO", "coinbasepro", Duration.ofMinutes(1));
}
@Override
public Set<ExchangeRate> doGet() {
// Supported fiat: EUR, GBP, PLN, USD
// Supported alts: DASH, ETH, LTC
return doGet(BitbayExchange.class);
// Supported fiat: EUR, USD, GBP
// Supported alts: DASH, DOGE, ETC, ETH, LTC, ZEC, ZEN
return doGet(CoinbaseProExchange.class);
}
@Override
protected boolean requiresFilterDuringBulkTickerRetrieval() {
return true;
}
}

View file

@ -1,36 +0,0 @@
/*
* This file is part of Haveno.
*
* Haveno is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* Haveno is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
* License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Haveno. If not, see <http://www.gnu.org/licenses/>.
*/
package bisq.price.spot.providers;
import bisq.price.AbstractExchangeRateProviderTest;
import org.springframework.core.env.StandardEnvironment;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
@Slf4j
public class BitbayTest extends AbstractExchangeRateProviderTest {
@Test
public void doGet_successfulCall() {
doGet_successfulCall(new Bitbay(new StandardEnvironment()));
}
}

View file

@ -26,11 +26,11 @@ import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
@Slf4j
public class CoinpaprikaTest extends AbstractExchangeRateProviderTest {
public class CoinbaseProTest extends AbstractExchangeRateProviderTest {
@Test
public void doGet_successfulCall() {
doGet_successfulCall(new Coinpaprika(new StandardEnvironment()));
doGet_successfulCall(new CoinbasePro(new StandardEnvironment()));
}
}