Commit Graph

466 Commits

Author SHA1 Message Date
Con Kolivas
e40128a2da Allow the loglevel to be changed on the fly 2014-06-20 09:58:51 +10:00
Con Kolivas
0944152cf8 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-06-20 09:42:40 +10:00
Con Kolivas
dc807917aa Add elapsed time to user and pool stats 2014-06-20 09:39:25 +10:00
kanoi
214f74de08 ckdb - fix user web stats 2014-06-20 01:56:29 +10:00
kanoi
2c242d08df klist - display function for ktree display 2014-06-20 01:55:21 +10:00
kanoi
091832c4c4 ktree - add an optional ktree display and disabled code in ckdb 2014-06-20 01:53:57 +10:00
kanoi
fc58e6fe1e Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-06-19 23:09:26 +10:00
kanoi
691a74419d ckdb - remove unused label 2014-06-19 23:08:47 +10:00
Con Kolivas
16b108f503 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-06-19 23:02:57 +10:00
Con Kolivas
9a18981725 Remove ckpool.h include from libckpool 2014-06-19 23:02:30 +10:00
kanoi
fd9033073e Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-06-19 22:43:06 +10:00
kanoi
df25b98d7c ckdb - breakdown missing null check for json 2014-06-19 22:42:14 +10:00
kanoi
6cf839db3e ktree - before end case reversed 2014-06-19 22:41:36 +10:00
Con Kolivas
72df09d650 Move the stratifier stratum send and receive queues to generic ckmsg queues 2014-06-19 22:16:55 +10:00
Con Kolivas
93ecc3a5c8 Convert the authoriser and share processor to using the generic ckmsg queues and fix the data passed to the queue function 2014-06-19 21:29:52 +10:00
ckolivas
13c09a2414 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-06-19 20:41:55 +10:00
ckolivas
e8c47e29fa Move generic ckmsgq functions to ckpool.c to allow ckp to be included 2014-06-19 15:17:04 +10:00
kanoi
eb1977213c ckdb - change the longpoll abbreviation lp used, to the actual meaning: block change, but using the abbreviation bc 2014-06-19 15:01:30 +10:00
ckolivas
ea27e86a33 Make ckdb messaging use the generic ckmsg queues 2014-06-19 14:36:38 +10:00
ckolivas
997a88191c Make create_ckmsgq return a pointer to the generated queue and export the ckdbq functions 2014-06-19 14:31:28 +10:00
kanoi
414453357e ckdb - update last_lp comments 2014-06-19 14:25:37 +10:00
kanoi
036e1b8143 php - display full accurate Network, Last Block 2014-06-19 14:20:10 +10:00
ckolivas
50463445c0 Create a set of generic queue receiving thread and processing functions 2014-06-19 14:16:18 +10:00
kanoi
04bcfb6e89 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-06-19 14:09:52 +10:00
kanoi
a59958f4b6 ckdb - message log and fix lp timestamp 2014-06-19 14:09:26 +10:00
ckolivas
1874d6e136 Send a message back from the listener under all circumstances 2014-06-19 13:17:54 +10:00
ckolivas
10baacbeee Use only one fprintf in console logging to minimise risk of overlap 2014-06-19 10:48:59 +10:00
ckolivas
c80af8bc56 Remove file log flushing from within the flock to not delay other code waiting on logging 2014-06-19 10:43:12 +10:00
kanoi
c2e50a2f51 ckdb - organise db cmp functions - web set binary sep to be 'tab' 2014-06-19 01:15:26 +10:00
kanoi
1f74da29cd web - index name changes 2014-06-19 00:30:55 +10:00
kanoi
d67d96abdd php - display some real stats in the header 2014-06-19 00:14:39 +10:00
Con Kolivas
96fbfa56bf Make new logdirs mod 750 2014-06-18 23:12:30 +10:00
Con Kolivas
4e86d66a5b Leave enough room in the allocated ram for logdir for the null byte 2014-06-18 23:10:25 +10:00
kanoi
3943cba15e ckdb - correct logfile 'name' 2014-06-18 22:46:04 +10:00
Con Kolivas
82e7306da4 Diff is a double in shares 2014-06-18 22:44:10 +10:00
Con Kolivas
31195128f6 Fix one uninitialised variable 2014-06-18 22:37:58 +10:00
Con Kolivas
3ec8aeeaad Simplify inclusion of local jansson headers 2014-06-18 22:01:12 +10:00
Con Kolivas
82310f57f7 Include local jansson headers removing need for installed jansson dev headers and keeping build consistent 2014-06-18 21:57:29 +10:00
kanoi
54e48c1ed9 php - show mostly real stats at the top 2014-06-18 19:19:36 +10:00
kanoi
77ae0e9b15 ckdb - return homepage time in seconds 2014-06-18 19:03:30 +10:00
kanoi
027668b84f ckdb - homepage stats 2014-06-18 17:55:19 +10:00
ckolivas
933462a56f Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-06-18 10:06:45 +10:00
ckolivas
c3ce5321b0 Only close the rotating log once 2014-06-18 10:06:03 +10:00
kanoi
84a3f1d8a2 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-06-18 09:59:44 +10:00
kanoi
2da5cd5dc3 initid - change to match new ckdb msg format 2014-06-18 09:59:19 +10:00
ckolivas
2b9062b44e Only show errno if it's not zero 2014-06-18 09:53:29 +10:00
kanoi
2921570e0c ckdb.sql - store a version in the db 2014-06-18 09:28:42 +10:00
kanoi
d895674df9 php - match new consistent message format 2014-06-18 01:43:31 +10:00
kanoi
cffeb9db79 ckdb - log all incoming to the rotating log 2014-06-18 01:35:16 +10:00
Con Kolivas
d83a6cdcde Realloc the correct variable 2014-06-18 01:13:57 +10:00