Commit Graph

473 Commits

Author SHA1 Message Date
kanoi
202bb75ab8 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-06-28 03:46:49 +10:00
kanoi
86fd90eb54 ktree dump append to output file 2014-06-28 03:45:57 +10:00
kanoi
c23707926e ckdb - fixs for various bugs in share accounting 2014-06-28 03:45:10 +10:00
ckolivas
99cb477d2a Add poolinstance to client auths 2014-06-27 19:51:25 +03:00
kanoi
592981bda9 ckdb/sql - add sharesummary accounting 2014-06-27 23:56:25 +10:00
kanoi
9279c6843e ckdb - workers_update handle no change, merklehash allow zero length 2014-06-27 16:25:56 +10:00
kanoi
2c776ed38e Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-06-27 15:06:36 +10:00
kanoi
6f9f4527eb ckdb - blocks_add fix early abort before db I/O 2014-06-27 15:00:51 +10:00
ckolivas
c9e7dd5780 We do not retry the accept call if it fails 2014-06-26 15:31:15 +03:00
ckolivas
a092fd91a4 Forgot to set return value in read_socket_line 2014-06-26 15:22:39 +03:00
ckolivas
e789416b17 Fix unused variable warnings 2014-06-26 15:15:36 +03:00
ckolivas
b6e9d18bfc Handle signal interruptions on all poll and select calls 2014-06-26 15:02:22 +03:00
ckolivas
2edb2a074d Don't check for EINTR in generator as well 2014-06-26 09:51:52 +03:00
ckolivas
cdd8208269 accept() calls are automatically restarted with EINTR when there's no timeout 2014-06-26 09:50:37 +03:00
ckolivas
a8eee6f0a3 We cannot intercept signal 9 2014-06-26 09:21:07 +03:00
kanoi
5aeca8e566 ckdb - buffer init macro 2014-06-24 14:28:11 +10:00
kanoi
88461a5db6 ckdb - initialise the merketree string (json array) 2014-06-24 13:53:21 +10:00
ckolivas
5d8e60c9d5 Send block solve information to ckdb 2014-06-23 23:31:32 +03:00
kanoi
6ee763a5f8 ckdb - add cmd to accept blocks 2014-06-24 00:40:14 +10:00
kanoi
069f724c22 ckdb - redesigned userstats with eos marker - and more severe data errors logged 2014-06-23 18:42:46 +10:00
Con Kolivas
68ab724a17 Mark the last userstats in the current stat pass with an end of stats marker 2014-06-20 22:39:33 +10:00
Con Kolivas
f6adc2f6b0 Trivial doc changes 2014-06-20 21:55:47 +10:00
Con Kolivas
b2bd3047d2 Add workername to per-worker stats 2014-06-20 21:42:51 +10:00
Con Kolivas
4168194bd0 Show per client connected stats instead of per user, every 10 mins 2014-06-20 21:40:56 +10:00
kanoi
f0e68485fe ckdb/web - add pool/user elapsed and use them 2014-06-20 16:51:39 +10:00
kanoi
fa7567a99d Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-06-20 13:00:54 +10:00
Con Kolivas
b289046ffe Demote the socket file exists message to notice level 2014-06-20 12:02:51 +10:00
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
1199419fa1 ckdb - add 1hr user stats to homepage 2014-06-20 02:07:05 +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
ckolivas
50463445c0 Create a set of generic queue receiving thread and processing functions 2014-06-19 14:16:18 +10:00