Commit Graph

535 Commits

Author SHA1 Message Date
kanoi
3418ff004e ckdb - handle duplicate messages 2014-07-27 10:45:48 +10:00
kanoi
126c464de1 ckdb - don't LOGERR shares with same timestamp 2014-07-26 12:40:33 +10:00
kanoi
1f2072c58c ckdb - start of v0.4 changes 2014-07-26 12:39:17 +10:00
kanoi
58471b7ba9 php - add 's' to last share as needed 2014-07-25 19:05:54 +10:00
kanoi
512e734523 ckdb - begin aging code, startup stats, handle idle 2014-07-24 14:51:20 +10:00
kanoi
616882cf2a ckdb - abort on NULL tree in ktree find functions 2014-07-24 14:45:22 +10:00
Con Kolivas
0831e07555 Fix incorrect interval being passed to hashmeter stats 2014-07-24 14:26:56 +10:00
Con Kolivas
16e4eb5f83 Don't attempt to generate stats for clients that are not yet authorised 2014-07-24 12:17:03 +10:00
Con Kolivas
e8c87555b1 Allow zero length useragent names in ckdb 2014-07-22 16:07:00 +10:00
Con Kolivas
af0acbeb6a Set useragent to blank string when no array fields are filled in for stratum 2014-07-22 15:53:42 +10:00
Con Kolivas
1f381420ce Implement the standalone mode, removing now excessive per-user sharelog 2014-07-22 12:03:01 +10:00
Con Kolivas
dd056cd030 Provide an option to run ckpool standalone without ckdb 2014-07-22 11:00:52 +10:00
Con Kolivas
1e81ac7887 Convert command line to accept long options that are also self documenting with -h 2014-07-18 22:06:02 +10:00
Con Kolivas
de5c5e4a39 Set the last diff change variable to the time of the first received share 2014-07-18 15:07:07 +10:00
Con Kolivas
1a4b3ca2a1 Remove duplicated wrong 5 min hashrate code in add_submit 2014-07-18 15:04:23 +10:00
Con Kolivas
a140a8edeb Set useragent to a zero length string if none is detected 2014-07-16 22:47:01 +10:00
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