Back to project page MinerStatus.
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.
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"); } }