Commit Graph

519 Commits

Author SHA1 Message Date
kanoi
fb3eeac022 ckpool - add json_str NULL to error detection 2014-07-14 23:24:50 +10:00
kanoi
678ac47b94 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-07-13 19:03:05 +10:00
kanoi
e51a5a7afd ckpool - attempt to identify json error passed to _json_ckdb_call 2014-07-13 18:23:14 +10:00
ckolivas
f1674f8429 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-07-12 16:44:25 +03:00
ckolivas
a9e33c354a Pass the connector IP address to the stratifier to be stored in the client data and passed to ckdb on auth 2014-07-12 16:44:12 +03:00
Con Kolivas
1b387ad429 Add address name to loginfo output on new connector connection 2014-07-12 23:22:49 +10:00
ckolivas
5ea74680b6 Resolve the address name of new clients in the connector 2014-07-12 16:10:46 +03:00
ckolivas
bba55d306f Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-07-10 21:26:29 +03:00
ckolivas
0fadee1520 Send idle status of workers once to ckdb with userstats and then stop sending their stats 2014-07-10 21:26:18 +03:00
kanoi
7c81e35de9 ckdb - workinfo aging 2014-07-10 20:26:07 +10:00
ckolivas
cd63124613 Send ageworkinfo message to ckdb when we remove them from our list 2014-07-10 10:19:45 +03:00
ckolivas
5a33d70f90 Put sanity check into time bias function 2014-07-10 07:23:40 +03:00
kanoi
77cf5b84fd page_stats - remove incorrect code 2014-07-10 04:53:50 +10:00
kanoi
c47eb9858f ckdb/pool allusers pool stats page (any shares in the last 1hr) 2014-07-10 04:49:32 +10:00
kanoi
fce107db0d ckdb/pool workers page 2014-07-10 02:45:17 +10:00
kanoi
590d9dc583 ckdb - make significant floating point errors fatal 2014-07-09 21:32:38 +10:00
kanoi
56e5c8e26c send_recv_auth field count 2014-07-09 21:30:48 +10:00
ckolivas
318e735fdf Put sanity upper limit on exponent function used in decay_time 2014-07-09 12:35:40 +03:00
ckolivas
34d77bd3b9 Make significant floating point errors fatal to avoid subtle bugs being missed 2014-07-09 11:55:12 +03:00
ckolivas
61e8c46ee5 Don't fclose the log file on cleanup in case we still send mesages to the log file. The OS will close it on shutdown anyway. 2014-07-09 10:02:00 +03:00
kanoi
301297e9fd correct copyright years and use defined constant as expected in ckdb 2014-06-29 00:08:14 +10:00
kanoi
7a93451f37 ckdb - correct sql update 2014-06-28 04:20:09 +10:00
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
304f7c73f4 initid - seperator change 2014-06-27 15:04:18 +10:00
kanoi
8f63f26648 php - add latest temporary block hack 2014-06-27 15:03:21 +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