Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
langerhans committed Jan 29, 2016
2 parents c87222f + 5e6cbab commit eabd6f5
Show file tree
Hide file tree
Showing 15 changed files with 127 additions and 627 deletions.
6 changes: 3 additions & 3 deletions multidoge-0.1.6-bins.md5
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
956C8F38EB9004F17FEE5B42DCC9FA48 multidoge-0.1.5.dmg
E92E3364D34F35876CF14D631D90C32C multidoge-0.1.5-linux.jar
989ACDE5C65B29357C8F3935AD4B896C multidoge-0.1.5-windows-setup.exe
956C8F38EB9004F17FEE5B42DCC9FA48 multidoge-0.1.6.dmg
E92E3364D34F35876CF14D631D90C32C multidoge-0.1.6-linux.jar
989ACDE5C65B29357C8F3935AD4B896C multidoge-0.1.6-windows-setup.exe
3 changes: 3 additions & 0 deletions multidoge-0.1.7-bins.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
6277491E0889942F5C0213A8CA6BA1DA multidoge-0.1.7.dmg
E69A81B1E86C7AA72D3B36D0D5FB4218 multidoge-0.1.7-linux.jar
6AF7401318F4E3858933CD841074C3B6 multidoge-0.1.7-windows-setup.exe
50 changes: 4 additions & 46 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.multibit</groupId>
<artifactId>multidoge</artifactId>
<version>0.1.6</version>
<version>0.1.7</version>
<name>MultiDoge</name>
<description>A Java Swing client for Dogecoin</description>
<url>https://multidoge.org</url>
Expand Down Expand Up @@ -685,52 +685,10 @@
<artifactId>xchange-core</artifactId>
<version>${xchange.version}</version>
</dependency>
<!-- XChange MtGox exchange support -->
<!-- XChange Poloniex exchange support -->
<dependency>
<groupId>com.xeiam.xchange</groupId>
<artifactId>xchange-mtgox</artifactId>
<version>${xchange.version}</version>
</dependency>
<!-- XChange VirtEx exchange support -->
<dependency>
<groupId>com.xeiam.xchange</groupId>
<artifactId>xchange-cavirtex</artifactId>
<version>${xchange.version}</version>
</dependency>
<!-- XChange Open Exchange Rates exchange support -->
<dependency>
<groupId>com.xeiam.xchange</groupId>
<artifactId>xchange-openexchangerates</artifactId>
<version>${xchange.version}</version>
</dependency>
<!-- XChange BTC-E exchange support -->
<dependency>
<groupId>com.xeiam.xchange</groupId>
<artifactId>xchange-btce</artifactId>
<version>${xchange.version}</version>
</dependency>
<!-- XChange Bitstamp exchange support -->
<dependency>
<groupId>com.xeiam.xchange</groupId>
<artifactId>xchange-bitstamp</artifactId>
<version>${xchange.version}</version>
</dependency>
<!-- XChange CampBX exchange support -->
<dependency>
<groupId>com.xeiam.xchange</groupId>
<artifactId>xchange-campbx</artifactId>
<version>${xchange.version}</version>
</dependency>
<!-- XChange BTCChina exchange support -->
<dependency>
<groupId>com.xeiam.xchange</groupId>
<artifactId>xchange-btcchina</artifactId>
<version>${xchange.version}</version>
</dependency>
<!-- XChange Kraken exchange support -->
<dependency>
<groupId>com.xeiam.xchange</groupId>
<artifactId>xchange-kraken</artifactId>
<artifactId>xchange-poloniex</artifactId>
<version>${xchange.version}</version>
</dependency>
<dependency>
Expand Down Expand Up @@ -819,7 +777,7 @@
<bitcoinj.version>0.10.3-MB-ALICE</bitcoinj.version>

<!-- Version of XChange to use (multiple uses) -->
<xchange.version>2.0.0-SNAPSHOT</xchange.version>
<xchange.version>3.1.0</xchange.version>

<!-- Version of spongycastle to use -->
<sc-light-jdk15on.version>1.47.0.2</sc-light-jdk15on.version>
Expand Down
7 changes: 5 additions & 2 deletions release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
MultiDoge release notes:

14 Oct 2015: 0.1.6
+ Fix syncing issue preventing to sync further than Oct 12
29 Jan 2016: 0.1.7
+ Update XChange to 3.1.0
+ Replace Cryptsy with Poloniex as source for the DOGE/BTC exchange rate
+ BTC/Fiat exchange rates are provided by BitcoinAverage
+ Updated checkpoints
5 changes: 5 additions & 0 deletions release_notes_full.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
MultiDoge release notes:
29 Jan 2016: 0.1.7
+ Update XChange to 3.1.0
+ Replace Cryptsy with Poloniex as source for the DOGE/BTC exchange rate
+ BTC/Fiat exchange rates are provided by BitcoinAverage
+ Updated checkpoints

14 Oct 2015: 0.1.6
+ Fix syncing issue preventing to sync further than Oct 12
Expand Down
9 changes: 9 additions & 0 deletions src/main/java/org/multibit/MultiBit.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import org.multibit.model.bitcoin.WalletData;
import org.multibit.model.core.CoreModel;
import org.multibit.model.exchange.ConnectHttps;
import org.multibit.model.exchange.ExchangeData;
import org.multibit.model.exchange.ExchangeModel;
import org.multibit.network.*;
import org.multibit.platform.GenericApplication;
Expand Down Expand Up @@ -611,6 +612,14 @@ public void run() {
// Just sync the blockchain without a replay task being involved.
ReplayManager.INSTANCE.downloadBlockChain();
}

// Upgrade path from cryptsy
if (bitcoinController.getModel().getUserPreference(ExchangeModel.TICKER_FIRST_ROW_EXCHANGE).equals(ExchangeData.CRYPTS_EXCHANGE_NAME)) {
bitcoinController.getModel().setUserPreference(ExchangeModel.TICKER_FIRST_ROW_EXCHANGE, ExchangeData.POLONIEX_EXCHANGE_NAME);
}
if (bitcoinController.getModel().getUserPreference(ExchangeModel.TICKER_SECOND_ROW_EXCHANGE).equals(ExchangeData.CRYPTS_EXCHANGE_NAME)) {
bitcoinController.getModel().setUserPreference(ExchangeModel.TICKER_SECOND_ROW_EXCHANGE, ExchangeData.POLONIEX_EXCHANGE_NAME);
}
} catch (Exception e) {
// An odd unrecoverable error occurred.
e.printStackTrace();
Expand Down
6 changes: 0 additions & 6 deletions src/main/java/org/multibit/exchange/CurrencyConverter.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ public void initialise(Controller controller) {
String currencyCode = controller.getModel().getUserPreference(ExchangeModel.TICKER_FIRST_ROW_CURRENCY);
String exchange = controller.getModel().getUserPreference(ExchangeModel.TICKER_FIRST_ROW_EXCHANGE);
String newCurrencyCode = currencyCode;
if (ExchangeData.BITCOIN_CHARTS_EXCHANGE_NAME.equals(exchange)) {
// Use only the last three characters - the currency code.
if (currencyCode.length() >= 3) {
newCurrencyCode = currencyCode.substring(currencyCode.length() - 3);
}
}
initialise(controller, newCurrencyCode);
}

Expand Down
Loading

0 comments on commit eabd6f5

Please sign in to comment.