diff --git a/pricenode/src/main/java/bisq/price/spot/providers/CexIO.java b/pricenode/src/main/java/bisq/price/spot/providers/CexIO.java deleted file mode 100644 index 254eadb9eed..00000000000 --- a/pricenode/src/main/java/bisq/price/spot/providers/CexIO.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * This file is part of Bisq. - * - * Bisq 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. - * - * Bisq 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 Bisq. If not, see . - */ - -package bisq.price.spot.providers; - -import bisq.price.spot.ExchangeRate; -import bisq.price.spot.ExchangeRateProvider; - -import org.knowm.xchange.cexio.CexIOExchange; - -import org.springframework.stereotype.Component; - -import java.time.Duration; - -import java.util.Set; - -@Component -class CexIO extends ExchangeRateProvider { - - public CexIO() { - super("CexIO", "cexio", Duration.ofMinutes(1)); - } - - @Override - public Set doGet() { - // Supported fiat: EUR, GBP, RUB, USD - // Supported alts: DASH, ETH, LTC - return doGet(CexIOExchange.class); - } - - @Override - protected boolean requiresFilterDuringBulkTickerRetrieval() { - return true; - } -} diff --git a/pricenode/src/main/java/bisq/price/spot/providers/Coinmate.java b/pricenode/src/main/java/bisq/price/spot/providers/Coinmate.java deleted file mode 100644 index 8f059271132..00000000000 --- a/pricenode/src/main/java/bisq/price/spot/providers/Coinmate.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * This file is part of Bisq. - * - * Bisq 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. - * - * Bisq 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 Bisq. If not, see . - */ - -package bisq.price.spot.providers; - -import bisq.price.spot.ExchangeRate; -import bisq.price.spot.ExchangeRateProvider; - -import org.knowm.xchange.coinmate.CoinmateExchange; - -import org.springframework.stereotype.Component; - -import java.time.Duration; - -import java.util.Set; - -@Component -class Coinmate extends ExchangeRateProvider { - - public Coinmate() { - super("Coinmate", "coinmate", Duration.ofMinutes(1)); - } - - @Override - public Set doGet() { - // Supported fiat: CZK, EUR - // Supported alts: DASH, ETH, LTC - return doGet(CoinmateExchange.class); - } - -} diff --git a/pricenode/src/test/java/bisq/price/spot/providers/CexIOTest.java b/pricenode/src/test/java/bisq/price/spot/providers/CexIOTest.java deleted file mode 100644 index cf9dc6dcbe0..00000000000 --- a/pricenode/src/test/java/bisq/price/spot/providers/CexIOTest.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * This file is part of Bisq. - * - * Bisq 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. - * - * Bisq 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 Bisq. If not, see . - */ - -package bisq.price.spot.providers; - -import bisq.price.AbstractExchangeRateProviderTest; - -import lombok.extern.slf4j.Slf4j; - -import org.junit.jupiter.api.Test; - -@Slf4j -public class CexIOTest extends AbstractExchangeRateProviderTest { - - @Test - public void doGet_successfulCall() { - doGet_successfulCall(new CexIO()); - } - -} diff --git a/pricenode/src/test/java/bisq/price/spot/providers/CoinmateTest.java b/pricenode/src/test/java/bisq/price/spot/providers/CoinmateTest.java deleted file mode 100644 index fa8bd1f73f8..00000000000 --- a/pricenode/src/test/java/bisq/price/spot/providers/CoinmateTest.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * This file is part of Bisq. - * - * Bisq 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. - * - * Bisq 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 Bisq. If not, see . - */ - -package bisq.price.spot.providers; - -import bisq.price.AbstractExchangeRateProviderTest; - -import lombok.extern.slf4j.Slf4j; - -import org.junit.jupiter.api.Test; - -@Slf4j -public class CoinmateTest extends AbstractExchangeRateProviderTest { - - @Test - public void doGet_successfulCall() { - doGet_successfulCall(new Coinmate()); - } - -}