diff --git a/README.md b/README.md index 84907d5d..0289c60d 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,11 @@ Donations I was hoping to keep this out of the README but apparently people remove or change the LTC address at the bottom of the page. For those of you finding my project and are willing to appreciate the work -with some hard earned LTC feel free to donate to my LTC address: `Lge95QR2frp9y1wJufjUPCycVsg5gLJPW8` +with some hard earned coins feel free to donate: + +* LTC address: `Lge95QR2frp9y1wJufjUPCycVsg5gLJPW8` +* FTC address: `6jDgGaUzMVyac5uqBhJCMiFMKCtH1LagTA` +* NVC address: `4Guct6z7NVPVALHRAVn517TTmvqQve4WYr` # Website Footer @@ -78,31 +82,39 @@ The following feature have been implemented so far: * Reward Systems * Propotional * PPS - * PPLNS **NEW** + * PPLNS * Statistics are cached in Memcache by Cronjob for quick data access + * **NEW** Now supporting incremental round share updates! +* **SOON** New Theme + * **SOON** Live Dashboard + * **SOON** AJAX Support + * **SOON** Overhauled API * Web User accounts * Re-Captcha protected registration form * Worker accounts - * Worker activity (live, past 10 minutes) - * Worker hashrates (live, past 10 minutes) + * Worker activity + * Worker hashrates * Pool statistics * Minimal Block statistics * Pool donations * Pool fees +* Block Bonus Payouts **NEW** * Manual payout * Auto payout -* Transaction list (confirmed and unconfirmed) +* Transaction list * Admin Panel - * Cron Monitoring Overview **NEW** + * Cron Monitoring Overview * User Listing including statistics * Wallet information - * User Transactions **NEW** + * User Transactions * News Posts + * Pool Settings **NEW** * Notification system * IDLE Workers * New blocks found in pool * Auto Payout * Manual Payout +* User-to-user Invitation System **NEW** * Support for various Scrypt based coins via config * MNC * LTC diff --git a/public/include/classes/worker.class.php b/public/include/classes/worker.class.php index 88999e1c..551e47f7 100644 --- a/public/include/classes/worker.class.php +++ b/public/include/classes/worker.class.php @@ -78,7 +78,7 @@ class Worker { FROM " . $this->table . " AS w WHERE monitor = 1 AND ( - SELECT IFNULL(SIGN(IF(our_result = 'Y', COUNT(id), 0)), 0) FROM " . $this->share->getTableName() . " WHERE username = w.username AND time > DATE_SUB(now(), INTERVAL 10 MINUTE) + SELECT IFNULL(SUM(IF(our_result = 'Y', 1, 0)), 0) FROM " . $this->share->getTableName() . " WHERE username = w.username AND time > DATE_SUB(now(), INTERVAL 10 MINUTE) ) = 0"); if ($this->checkStmt($stmt) && $stmt->execute() && $result = $stmt->get_result()) return $result->fetch_all(MYSQLI_ASSOC);