// Path: app/src/main/java/com/bytetobyte/xwallet/service/coin/CurrencyCoin.java
// public interface CurrencyCoin<W> {
// 
//     public int getIconId();
//     
//     public int getCoinId();
// 
//     public String getCoinSymbol();
// 
//     /**
//      *  Where to store data files, such as the blockchain files
//      * @return
//      */
//     public File getDataDir();
// 
//     /**
//      *
//      * @param wallet
//      */
//     public void setWalletManager(W wallet);
//     public W getWalletManager();
// }


import com.bytetobyte.xwallet.service.coin.CurrencyCoin;
import java.util.Date;
package com.bytetobyte.xwallet.service.ipcmodel;



/**
 * Created by bruno on 10.04.17.
 */
public class BlockDownloaded {

    private final int _coin;
    private final double _pct;
    private final int _blocksLeft;
    private final Date _lastBlockDate;

    /**
     *
     * @param coin
     * @param pct
     * @param blocksSoFar
     * @param date
     */
// Path: app/src/main/java/com/bytetobyte/xwallet/service/coin/CurrencyCoin.java
// public interface CurrencyCoin<W> {
// 
//     public int getIconId();
//     
//     public int getCoinId();
// 
//     public String getCoinSymbol();
// 
//     /**
//      *  Where to store data files, such as the blockchain files
//      * @return
//      */
//     public File getDataDir();
// 
//     /**
//      *
//      * @param wallet
//      */
//     public void setWalletManager(W wallet);
//     public W getWalletManager();
// }


// Path: app/src/main/java/com/bytetobyte/xwallet/service/ipcmodel/BlockDownloaded.java
import com.bytetobyte.xwallet.service.coin.CurrencyCoin;
import java.util.Date;

package com.bytetobyte.xwallet.service.ipcmodel;



/**
 * Created by bruno on 10.04.17.
 */
public class BlockDownloaded {

    private final int _coin;
    private final double _pct;
    private final int _blocksLeft;
    private final Date _lastBlockDate;

    /**
     *
     * @param coin
     * @param pct
     * @param blocksSoFar
     * @param date
     */
    public BlockDownloaded(CurrencyCoin coin, double pct, int blocksSoFar, Date date) {