diff --git a/POOLS.md b/POOLS.md index 1bf0c5ab..7220099b 100644 --- a/POOLS.md +++ b/POOLS.md @@ -9,16 +9,6 @@ tested it on various coins. These tables represent their users pools. Be aware that all values are as of this writing and may have changed since then. -### ahmedbodi - -A helpful tester for features and bug fixes in `mmcfe-ng`, he is running -an active pool for Redcoin. - -| Pool URL | Coin | Avg. Hashrate | Avg. Active Workers | Notes | -| :------- | :--- | ------------: | ------------------: | ----- | -| http://crypto-expert.com/REDpool/public | Redcoin | 10 MHash | 12 | No modifications required | -| http://crypto-expert.com/ANONpool/public | Anoncoin | 0 MHash | 0 | Template Changes | - ### vias79 @@ -112,14 +102,15 @@ Small Time Miners are running various stratum only pools for different coins. | http://wdc.nut2pools.com | Worldcoin | 3.5 Mhs | 3 workers | New style, PPLNS | | http://pxc.nut2pools.com | Phenixcoin | 0 | 0 | New style | PPLNS | -### Dids +### ahmedbodi + | Pool URL | Coin | Avg. Hashrate | Avg. Active Workers | Notes | | -------- | ---- | ------------: | ------------------: | ----- | -| http://poolmine.it | Litecoin | 0.23 MHash | 5 | PPLNS, Custom Template | +| http://gme.crypto-expert.com | Gamecoin | 1.5Mhs | 3 workers | Custom Template, Prop | +| http://orb.crypto-expert.com | Orbitcoin | 0.2 Mhs | 1 workers | Custom Template, PPLNS | +| http://src.crypto-expert.com | Securecoin | 25 | 20 | Custom Template, Prop | +| http://dgc.crypto-expert.com | Digitalcoin | 0 | 0 | Custom Template, Prop | +| http://arg.crypto-expert.com | Argentum | 0 | 0 | Custom Template, Prop| +| http://crypto-expert.com/TIX | Tix | 0.5 | 1 | Custom Template, Prop| -### 4782 - -| Pool URL | Coin | Avg. Hashrate | Avg. Active Workers | Notes | -| -------- | ---- | ------------: | ------------------: | ----- | -| http://pirate-pool.com | LTC | 0.5 MHash | 2 | | diff --git a/README.md b/README.md index 0289c60d..b242e6fa 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ with some hard earned coins feel free to donate: * LTC address: `Lge95QR2frp9y1wJufjUPCycVsg5gLJPW8` * FTC address: `6jDgGaUzMVyac5uqBhJCMiFMKCtH1LagTA` * NVC address: `4Guct6z7NVPVALHRAVn517TTmvqQve4WYr` +* FST address: `g17CfFHqNqR5JnUjtG8RNBYh2WrhEirV67` # Website Footer diff --git a/public/include/classes/bitcoinwrapper.class.php b/public/include/classes/bitcoinwrapper.class.php index 7b4372b4..0c343c8a 100644 --- a/public/include/classes/bitcoinwrapper.class.php +++ b/public/include/classes/bitcoinwrapper.class.php @@ -46,9 +46,18 @@ class BitcoinWrapper extends BitcoinClient { public function getnetworkhashps() { $this->oDebug->append("STA " . __METHOD__, 4); if ($data = $this->memcache->get(__FUNCTION__)) return $data; - try { $dNetworkHashrate = $this->query('getnetworkhashps') / 1000; } catch (Exception $e) { - // Maybe we are SHA - try { $dNetworkHashrate = $this->query('gethashespersec') / 1000; } catch (Exception $e) { return false; } + try { + $dNetworkHashrate = $this->query('getmininginfo'); + if (is_array($dNetworkHashrate) && array_key_exists('networkhashps', $dNetworkHashrate)) { + $dNetworkHashrate = $dNetworkHashrate['networkhashps']; + } else if (is_array($dNetworkHashrate) && array_key_exists('hashespersec', $dNetworkHashrate)) { + $dNetworkHashrate = $dNetworkHashrate['hashespersec']; + } + } catch (Exception $e) { + try { $dNetworkHashrate = $this->query('getnetworkhashps') / 1000; } catch (Exception $e) { + // Maybe we are SHA + try { $dNetworkHashrate = $this->query('gethashespersec') / 1000; } catch (Exception $e) { return false; } + } } return $this->memcache->setCache(__FUNCTION__, $dNetworkHashrate, 30); }