Commit Graph

418 Commits

Author SHA1 Message Date
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
Con Kolivas
3107450281 recv_unix_msg can return a dud buffer on select failure 2014-06-18 00:50:27 +10:00
Con Kolivas
4e02dd4213 Fix missing break in switch 2014-06-18 00:35:46 +10:00
Con Kolivas
ddf7703e92 Add workaround for fast connecting miners 2014-06-18 00:32:48 +10:00
Con Kolivas
924b86b700 Create ckdb sockdir if it's not present and change permissions to 750 2014-06-18 00:10:43 +10:00
Con Kolivas
1b3a972df2 Don't start receiving data till we are accepting connections in the connector 2014-06-17 23:42:39 +10:00
Con Kolivas
db012ba9c2 Increase default listen backlog in libckpool open_unix_server to 10 2014-06-17 22:55:38 +10:00
Con Kolivas
b099bd92a1 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-06-17 22:47:53 +10:00
kanoi
d3e7db51bc ckdb - txt_to_ctv for comma separated time 2014-06-17 22:44:30 +10:00
Con Kolivas
c0808703f0 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-06-17 21:54:45 +10:00
Con Kolivas
f6c4e49f16 Send userstats to ckdb in a staggered fashion every 10 minutes 2014-06-17 21:51:49 +10:00
kanoi
53eb587b18 ckdb - consistent auth messages 2014-06-17 21:51:48 +10:00
kanoi
13fde6642e Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-06-17 21:44:16 +10:00
kanoi
345b86b79a ckdb - userstats 2014-06-17 21:43:45 +10:00
Con Kolivas
7cee5962c7 Rationalise pool stats to only show active workers and users accurately 2014-06-17 21:19:29 +10:00
kanoi
be5a9e6d7a ckdb - fix erroneous comma 2014-06-17 19:06:25 +10:00
kanoi
522a78a4fd Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-06-17 19:01:36 +10:00
kanoi
532405b300 ckdb - standardise messages and replies 2014-06-17 19:01:10 +10:00
Con Kolivas
14b965c67a Change authentication response check from added to ok 2014-06-17 17:27:01 +10:00
Con Kolivas
91e2b3c942 Remove the method from the command we send to ckdb and put it at the beginning of the message 2014-06-17 17:24:19 +10:00
Con Kolivas
645b94c949 Log all ckdb requests to the rotating ckdb log 2014-06-17 16:45:53 +10:00
Con Kolivas
c4c9a7b2a6 Create a rotating log function that changes hourly with an exclusive lock while writing 2014-06-17 16:40:53 +10:00
kanoi
d6b62be21f Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-06-17 15:15:55 +10:00
kanoi
fd9e99a163 ckdb - fix transfer string test 2014-06-17 15:15:35 +10:00
Con Kolivas
09f0586243 Add all messages that we don't need to wait for the ckdb response to a separate thread message queue and cache them if ckdb is unresponsive 2014-06-17 12:28:10 +10:00
Con Kolivas
8798f08622 Make an array for the different ids we send to ckdb 2014-06-17 11:56:45 +10:00
Con Kolivas
9d099060d3 Clean up auth response handling and drop regular ckdb responses to verbose logging 2014-06-17 11:38:59 +10:00
kanoi
01d78cc966 ckdb - auto add workers correctly 2014-06-17 11:16:04 +10:00
kanoi
cf2f27fabc Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-06-17 10:51:45 +10:00
kanoi
3a6e4a9fcb ckdb - change errno to errn 2014-06-17 10:49:12 +10:00
Con Kolivas
1682d8e0f3 Cope with empty transactions in json encoding 2014-06-17 10:45:28 +10:00
kanoi
a26fda346f ckdb - allow no transactions 2014-06-17 10:44:32 +10:00
kanoi
08a6a117be ckdb - add poolstats 2014-06-17 10:43:24 +10:00
Con Kolivas
1af6eda2b1 Remove all concept of accepted/rejected shares per user from stratifier 2014-06-17 10:16:32 +10:00
Con Kolivas
7d16041dd1 Remove any concept of round shares or pplns from stratifier 2014-06-17 10:07:01 +10:00
Con Kolivas
0ce603c9e5 Change message to ckdb to id. 2014-06-17 09:45:35 +10:00
Con Kolivas
333d05fb3a Create a json sending wrapper for ckdb and fix int64 usage in packed json 2014-06-17 08:36:15 +10:00
Con Kolivas
47f10cbf22 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-06-17 00:50:39 +10:00
Con Kolivas
62f9f7b300 Do basic authorisation, duplicating the required 2nd UID 2014-06-17 00:50:02 +10:00
kanoi
2acf1d527c ckdb - add missing poolinstance to workinfo_add 2014-06-17 00:43:09 +10:00
kanoi
cbb0cb9ae2 ckdb - correct param count for workinfo_add 2014-06-17 00:36:50 +10:00
kanoi
d406fc3b5e Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-06-17 00:29:01 +10:00
kanoi
569cca8a53 ckdb - id only added to reply in listener() 2014-06-17 00:27:36 +10:00
Con Kolivas
9111c4fdf9 Send stats to ckdb 2014-06-17 00:23:33 +10:00
Con Kolivas
83eb0821ed Send workinfo sharelog 2014-06-17 00:22:05 +10:00
Con Kolivas
bd4716ca4f Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-06-17 00:12:50 +10:00
Con Kolivas
1debfd1f45 Send auth and share messages to ckdb 2014-06-17 00:12:31 +10:00
kanoi
e8740d6eaa Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-06-17 00:04:10 +10:00
kanoi
03b6244a61 initid - force bash 2014-06-17 00:03:41 +10:00