Android Open Source - MinerStatus Miner Status Constants






From Project

Back to project page MinerStatus.

License

The source code is released under:

Apache License

If you think the Android project MinerStatus listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package me.davidgreene.minerstatus.util;
//  w ww . j  av a 2s.  c o m
import java.util.HashMap;
import java.util.Map;

public class MinerStatusConstants {
  
  public static String SEKRET_MTGOX_KEY = "J5ACiar7uDiEsoEt";
  public static String MT_GOX_PUBLIC = "https://mtgox.com/code/data/ticker.php";
  public static int MAX_ERRORS = 15;
  
  public static final Map<String,String> POOL_URLS = new HashMap<String,String>(4);
  static{
    POOL_URLS.put("bitcoinpool", "http://www.bitcoinpool.com/user.php?json=1&u=%MINER%");
    POOL_URLS.put("slush", "http://mining.bitcoin.cz/accounts/profile/json/%MINER%");
    POOL_URLS.put("deepbit", "http://deepbit.net/api/%MINER%");
    POOL_URLS.put("btcmine", "http://btcmine.com/api/getstats/%MINER%/");
    POOL_URLS.put("btcguild", "http://www.btcguild.com/api.php?api_key=%MINER%");
  }
  public static final Map<String,String> POOL_LABELS = new HashMap<String,String>(4);
  static{
    POOL_LABELS.put("bitcoinpool", "Bitcoin Pool");
    POOL_LABELS.put("slush", "Slush's Pool");
    POOL_LABELS.put("deepbit", "Deepbit.net");
    POOL_LABELS.put("btcmine", "BtcMine");
    POOL_LABELS.put("btcguild", "BTC Guild");
  }
  public static final Map<String,String> POOL_DIRECTIONS = new HashMap<String,String>(4);
  static{
    POOL_DIRECTIONS.put("bitcoinpool", "Your miner's name is the username you created when you opened an account with\nhttp://www.bitcoinpool.com");
    POOL_DIRECTIONS.put("slush", "Slush's Pool provides an API key which you can use to access your data semi-privately (security through obscurity.)  You can get your API key (and generate new ones) in your account settings at\nhttp://mining.bitcoin.cz");
    POOL_DIRECTIONS.put("deepbit", "Deepbit.net provides an API key which you can use to access your data semi-privately (security through obscurity.)  You can get your API key (and generate new ones) on the JSON settings page at\nhttp://deepbit.net/settings");
    POOL_DIRECTIONS.put("btcmine", "BtcMine provides an API key which you can use to access your data semi-privately (security through obscurity.)  You can get your API key (and generate new ones) on your profile page at\nhttp://btcmine.com/user/profile/");
    POOL_DIRECTIONS.put("btcguild", "BTC Guild provides an API key which you can use to access your data semi-privately (security through obscurity.)  You can get your API key on your profile page at\nhttp://www.btcguild.com/my_api.php");
  }  
  public static final Map<String,String>THEME_LIST = new HashMap<String,String>(2);
  static{
    THEME_LIST.put("dark", "Dark Theme");
    THEME_LIST.put("light", "Light Theme");
  }
}




Java Source Code List

me.davidgreene.minerstatus.AbstractMinerStatusActivity.java
me.davidgreene.minerstatus.AddMinerActivity.java
me.davidgreene.minerstatus.MainMinerActivity.java
me.davidgreene.minerstatus.MinerStatusApp.java
me.davidgreene.minerstatus.OptionsActivity.java
me.davidgreene.minerstatus.ViewMinerActivity.java
me.davidgreene.minerstatus.beans.BitpoolPool.java
me.davidgreene.minerstatus.beans.BitpoolStatus.java
me.davidgreene.minerstatus.beans.BitpoolUser.java
me.davidgreene.minerstatus.beans.BtcMine.java
me.davidgreene.minerstatus.beans.BtcguildPool.java
me.davidgreene.minerstatus.beans.BtcguildStatus.java
me.davidgreene.minerstatus.beans.BtcguildUser.java
me.davidgreene.minerstatus.beans.BtcguildWorker.java
me.davidgreene.minerstatus.beans.DeepbitStatus.java
me.davidgreene.minerstatus.beans.MtGox.java
me.davidgreene.minerstatus.beans.Result.java
me.davidgreene.minerstatus.beans.SlushStatus.java
me.davidgreene.minerstatus.beans.Status.java
me.davidgreene.minerstatus.beans.Ticker.java
me.davidgreene.minerstatus.beans.WorkerStatus.java
me.davidgreene.minerstatus.beans.Worker.java
me.davidgreene.minerstatus.service.ConfigServiceImpl.java
me.davidgreene.minerstatus.service.ConfigService.java
me.davidgreene.minerstatus.service.MinerServiceImpl.java
me.davidgreene.minerstatus.service.MinerService.java
me.davidgreene.minerstatus.service.ThemeServiceImpl.java
me.davidgreene.minerstatus.service.ThemeService.java
me.davidgreene.minerstatus.theme.DarkTheme.java
me.davidgreene.minerstatus.theme.LightTheme.java
me.davidgreene.minerstatus.theme.ThemeFactory.java
me.davidgreene.minerstatus.theme.Theme.java
me.davidgreene.minerstatus.util.AsynchMinerUpdateThread.java
me.davidgreene.minerstatus.util.DbOpenHelper.java
me.davidgreene.minerstatus.util.MinerStatusConstants.java
me.davidgreene.minerstatus.util.StatusObjectFactory.java