Commit Graph

72 Commits

Author SHA1 Message Date
Sebastian Grewe
6ffaece837 allow caching to be more transparent and configurable 2013-05-17 16:25:45 +02:00
Sebastian Grewe
cf9e392867 fix ordering for share contributors 2013-05-17 13:56:11 +02:00
Sebastian Grewe
ccf322bde1 re-adding seperate tables for shares and hashes due to SQL load when combining them 2013-05-17 13:47:56 +02:00
Sebastian Grewe
f46655501a removed unused smarty globals for now 2013-05-16 21:13:37 +02:00
Sebastian Grewe
ed313c403d re-defined some defaults 2013-05-16 21:13:21 +02:00
Sebastian Grewe
16f9cc4390 adding proper shares per second 2013-05-16 21:12:59 +02:00
Sebastian Grewe
a45140d3e0 moved more stats to stats class 2013-05-16 14:56:08 +02:00
Sebastian Grewe
e791d27671 added getTableName method 2013-05-16 14:47:51 +02:00
Sebastian Grewe
aadeac9f86 properly search using getSingle, missed search field type 2013-05-15 18:11:06 +02:00
Sebastian Grewe
ec3d6d7cbd merger contributer and hashrate tables into a sortable table, added personal hashrate graphs, added JS files, updated statistics class and page controllers 2013-05-15 16:55:29 +02:00
Sebastian Grewe
884a202842 replaced fixed targetdiff with setting from configuration in user hash rate calculation 2013-05-15 13:26:53 +02:00
Sebastian Grewe
649b527a8f further moved stats from user into statistics class, added more caching 2013-05-15 01:07:59 +02:00
Sebastian Grewe
d06b9b8db7 added more caching for smarty globals 2013-05-14 23:58:42 +02:00
Sebastian Grewe
9762081d9d added word print for times < 1 2013-05-14 23:58:24 +02:00
Sebastian Grewe
1390c12a5d updated user class, removed hashrate and added getTableName 2013-05-14 23:57:52 +02:00
Sebastian Grewe
9b961e04cf cleaned up statistics, added some user specifc stats from user class to statistics class 2013-05-14 23:57:22 +02:00
Sebastian Grewe
da6bcb1c48 properly display average time to find next block 2013-05-14 20:54:01 +02:00
Sebastian Grewe
0e7f7d75f2 adding special getRoundShares for statistics into stats class 2013-05-14 18:08:47 +02:00
Sebastian Grewe
9536e7c193 fixing pps payout, getRoundShares system MUST be search by ID or round shares are NOT calculated properly 2013-05-14 17:58:10 +02:00
Sebastian Grewe
7ebba88f04 adding new shares/minute to mini stats 2013-05-14 16:31:41 +02:00
Sebastian Grewe
ef2c9b2c97 adding archive table for hashrate calculations and added getCurrentShareRate for shares/minute 2013-05-14 16:31:18 +02:00
Sebastian Grewe
5c72a859eb added secondary table related to shares to share class 2013-05-14 16:30:11 +02:00
Sebastian Grewe
12f60a4567 adding DATETIME column for archive 2013-05-14 16:10:52 +02:00
Sebastian Grewe
9f81141517 assign new round shares to smary global, added reward as smarty global 2013-05-14 12:45:43 +02:00
Sebastian Grewe
dfc1af4965 get both valid and invalid user shares 2013-05-14 12:45:00 +02:00
Sebastian Grewe
9bf99e3c8e get both valid and invalid round shares 2013-05-14 12:44:42 +02:00
Sebastian Grewe
f16de4f81f properly calcluate estimated time with 50/50 chance to find blocks, also properly calculate LTC per day matching litecoinpool.org/calc 2013-05-14 11:00:39 +02:00
Sebastian Grewe
36cda9b629 removed debug output, added time to find next block 2013-05-14 00:08:12 +02:00
Sebastian Grewe
e316622327 quickly added user hashrate and shares, dirty but working, better to cache those 2013-05-14 00:07:28 +02:00
Sebastian Grewe
b20a2eb657 adding pool hashrate, active workers and round shares to smarty globals 2013-05-13 23:33:30 +02:00
Sebastian Grewe
170a653f61 moved to globally available memcache object 2013-05-13 23:32:51 +02:00
Sebastian Grewe
ef84f5b1fd added hashrate and activity to getWorkers, properly return all active workers with getCountAllActiveWorkers 2013-05-13 23:31:53 +02:00
Sebastian Grewe
38d2d5abd7 bringing class loader in order 2013-05-13 23:29:19 +02:00
Sebastian Grewe
fd6d0c0948 adding classes to statistics class, added getCurrentHashrate 2013-05-13 23:28:54 +02:00
Sebastian Grewe
c4d5e31bac add method to return shares table name, added getRoundShares 2013-05-13 23:28:11 +02:00
Sebastian Grewe
d90b496dfd adding some first statistics including memcache storage, adjusted template. LTC/day not working yet 2013-05-13 17:56:30 +02:00
Sebastian Grewe
e4edd63c41 removing empty file 2013-05-13 17:55:36 +02:00
Sebastian Grewe
df8b1bb974 adding all available block inforation to block stats table 2013-05-13 14:58:04 +02:00
Sebastian Grewe
e990989340 adding active worker cound to smarty global 2013-05-13 14:57:23 +02:00
Sebastian Grewe
d352adf6f6 adding method to fetch all active worker count 2013-05-13 14:56:58 +02:00
Sebastian Grewe
ece3d8fd25 adding block statistics, added finder and round shares for blocks, updates transactions for new columns, updated template and pool statistics code 2013-05-13 09:21:41 +02:00
Sebastian Grewe
e8dcba2dcc removed some warning output on shares class 2013-05-13 09:20:37 +02:00
Sebastian Grewe
dfe0704f9e removed debug output 2013-05-12 16:59:38 +02:00
Sebastian Grewe
fbfc8d60da adding new transaction class to manual payout through website 2013-05-12 16:58:48 +02:00
Sebastian Grewe
91144afa4e search shares by IDs not timestamps, cleaned up transaction class in the process 2013-05-12 16:58:33 +02:00
Sebastian Grewe
b5def95435 adding (required) confirmations to smarty globals 2013-05-12 16:56:35 +02:00
Sebastian Grewe
3844bbe1ab cleaned up getSingle calls, added getCoinAddress method 2013-05-12 16:56:11 +02:00
Sebastian Grewe
47ac213779 adding search method for unconfirmed blocks, add updateConfirmations method for blocks 2013-05-12 16:55:18 +02:00
Sebastian Grewe
1194c7fb33 fixed user class, missing method 2013-05-12 12:18:56 +02:00
Sebastian Grewe
187fb92272 further cleaned up user class, created worker class, removed ledger and paid calls from user 2013-05-12 11:39:22 +02:00