From 14878a7cf06e6300fbc0583c8d537c4051045223 Mon Sep 17 00:00:00 2001 From: Manfred Karrer Date: Thu, 28 Apr 2016 17:18:00 +0200 Subject: [PATCH] Change Anti.cash to Anti, add comment --- .../io/bitsquare/locale/CurrencyUtil.java | 38 ++++++++++--------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/core/src/main/java/io/bitsquare/locale/CurrencyUtil.java b/core/src/main/java/io/bitsquare/locale/CurrencyUtil.java index f064861624..896a68b2d1 100644 --- a/core/src/main/java/io/bitsquare/locale/CurrencyUtil.java +++ b/core/src/main/java/io/bitsquare/locale/CurrencyUtil.java @@ -68,22 +68,8 @@ public class CurrencyUtil { return allSortedCryptoCurrencies; } - public static List getMainCryptoCurrencies() { - final List result = new ArrayList<>(); - result.add(new CryptoCurrency("ETH", "Ethereum")); - result.add(new CryptoCurrency("LTC", "Litecoin")); - result.add(new CryptoCurrency("DASH", "Dash")); - result.add(new CryptoCurrency("SDC", "ShadowCash")); - result.add(new CryptoCurrency("NMC", "Namecoin")); - result.add(new CryptoCurrency("NBT", "NuBits")); - result.add(new CryptoCurrency("SC", "Siacoin")); - result.add(new CryptoCurrency("FAIR", "FairCoin")); - result.add(new CryptoCurrency("DOGE", "Dogecoin")); - result.add(new CryptoCurrency("NXT", "Nxt")); - result.add(new CryptoCurrency("BTS", "BitShares")); - return result; - } - + // Don't make a PR for adding a coin but follow the steps described here: + // https://forum.bitsquare.io/t/how-to-add-your-favorite-altcoin/ public static List createAllSortedCryptoCurrenciesList() { final List result = new ArrayList<>(); result.add(new CryptoCurrency("ETH", "Ethereum")); @@ -107,7 +93,7 @@ public class CurrencyUtil { result.add(new CryptoCurrency("XCP", "Counterparty")); result.add(new CryptoCurrency("XRP", "Ripple")); result.add(new CryptoCurrency("XEM", "NEM")); - result.add(new CryptoCurrency("ANTI", "Anti.cash")); + result.add(new CryptoCurrency("ANTI", "Anti")); result.add(new CryptoCurrency("VPN", "VPNCoin")); result.add(new CryptoCurrency("MAID", "MaidSafeCoin")); result.add(new CryptoCurrency("YBC", "YbCoin")); @@ -117,12 +103,28 @@ public class CurrencyUtil { result.add(new CryptoCurrency("ESP", "Espers")); result.add(new CryptoCurrency("XVG", "Verge")); result.add(new CryptoCurrency("MYR", "Myriadcoin")); - + // result.add(new CryptoCurrency("XMR", "Monero")); // result.add(new CryptoCurrency("BCN", "Bytecoin")); return result; } + public static List getMainCryptoCurrencies() { + final List result = new ArrayList<>(); + result.add(new CryptoCurrency("ETH", "Ethereum")); + result.add(new CryptoCurrency("LTC", "Litecoin")); + result.add(new CryptoCurrency("DASH", "Dash")); + result.add(new CryptoCurrency("SDC", "ShadowCash")); + result.add(new CryptoCurrency("NMC", "Namecoin")); + result.add(new CryptoCurrency("NBT", "NuBits")); + result.add(new CryptoCurrency("SC", "Siacoin")); + result.add(new CryptoCurrency("FAIR", "FairCoin")); + result.add(new CryptoCurrency("DOGE", "Dogecoin")); + result.add(new CryptoCurrency("NXT", "Nxt")); + result.add(new CryptoCurrency("BTS", "BitShares")); + return result; + } + /** * @return Sorted list of SEPA currencies with EUR as first item