Merge remote-tracking branch 'origin/Development' into issue544-api

This commit is contained in:
Mike Rosseel 2017-07-25 13:35:13 +02:00
commit 0c1cf298f6
3 changed files with 7 additions and 5 deletions

View File

@ -25,7 +25,7 @@ Building from source
See [doc/build.md](doc/build.md).
[AUR for Arch Linux](https://aur.archlinux.org/packages/bitsquare-git)
[AUR for Arch Linux](https://aur.archlinux.org/packages/bisq-git/)
Staying in Touch

View File

@ -138,9 +138,12 @@ public class CurrencyUtil {
result.add(new CryptoCurrency("ETC", "Ether Classic"));
result.add(new CryptoCurrency("ERC", "Europecoin"));
result.add(new CryptoCurrency("EGC", "EverGreenCoin"));
result.add(new CryptoCurrency("EOS", "EOS", true));
result.add(new CryptoCurrency("FCT", "Factom"));
result.add(new CryptoCurrency("FAIR", "FairCoin"));
result.add(new CryptoCurrency("FLO", "FlorinCoin"));
//TODO ticker?
//result.add(new CryptoCurrency("FILE", "Filecoin", true));
result.add(new CryptoCurrency("GAME", "GameCredits"));
result.add(new CryptoCurrency("GEMZ", "Gemz"));
result.add(new CryptoCurrency("GRC", "Gridcoin"));
@ -149,6 +152,7 @@ public class CurrencyUtil {
result.add(new CryptoCurrency("HODL", "HOdlcoin"));
result.add(new CryptoCurrency("HNC", "HunCoin"));
result.add(new CryptoCurrency("IOC", "I/O Coin"));
result.add(new CryptoCurrency("IOTA", "IOTA", true));
result.add(new CryptoCurrency("IOP", "Fermat"));
result.add(new CryptoCurrency("JNS", "Janus", true));
result.add(new CryptoCurrency("JPYT", "JPY Tether"));
@ -245,8 +249,6 @@ public class CurrencyUtil {
if (!baseCurrencyCode.equals("DASH"))
result.add(new CryptoCurrency("DASH", "Dash"));
result.add(new CryptoCurrency("DCR", "Decred"));
if (!baseCurrencyCode.equals("DOGE"))
result.add(new CryptoCurrency("DOGE", "Dogecoin"));
result.add(new CryptoCurrency("ETH", "Ether"));
result.add(new CryptoCurrency("ETC", "Ether Classic"));
result.add(new CryptoCurrency("GRC", "Gridcoin"));

View File

@ -91,11 +91,11 @@ public class DownloadTask extends Task<List<FileDescriptor>> {
return fileDescriptor;
})
.map(fileDescriptor -> {
log.info("Downloading {}", fileDescriptor.getFileName());
log.info("Downloading {}", fileDescriptor.getLoadUrl());
try {
updateMessage(fileDescriptor.getFileName());
download(new URL(fileDescriptor.getLoadUrl()), fileDescriptor.getSaveFile());
log.info("Download for {} done", fileDescriptor.getFileName());
log.info("Download for {} done", fileDescriptor.getLoadUrl());
fileDescriptor.setDownloadStatus(BisqInstaller.DownloadStatusEnum.OK);
} catch (Exception e) {
fileDescriptor.setDownloadStatus(BisqInstaller.DownloadStatusEnum.FAIL);