Commit Graph

  • c80af8bc56 Remove file log flushing from within the flock to not delay other code waiting on logging ckolivas 2014-06-19 10:43:12 +1000
  • c2e50a2f51 ckdb - organise db cmp functions - web set binary sep to be 'tab' kanoi 2014-06-19 01:15:26 +1000
  • 1f74da29cd web - index name changes kanoi 2014-06-19 00:30:55 +1000
  • d67d96abdd php - display some real stats in the header kanoi 2014-06-19 00:14:39 +1000
  • 96fbfa56bf Make new logdirs mod 750 Con Kolivas 2014-06-18 23:12:30 +1000
  • 4e86d66a5b Leave enough room in the allocated ram for logdir for the null byte Con Kolivas 2014-06-18 23:10:25 +1000
  • 3943cba15e ckdb - correct logfile 'name' kanoi 2014-06-18 22:46:04 +1000
  • 82e7306da4 Diff is a double in shares Con Kolivas 2014-06-18 22:44:10 +1000
  • 31195128f6 Fix one uninitialised variable Con Kolivas 2014-06-18 22:37:58 +1000
  • 3ec8aeeaad Simplify inclusion of local jansson headers Con Kolivas 2014-06-18 22:01:12 +1000
  • 82310f57f7 Include local jansson headers removing need for installed jansson dev headers and keeping build consistent Con Kolivas 2014-06-18 21:57:29 +1000
  • 54e48c1ed9 php - show mostly real stats at the top kanoi 2014-06-18 19:19:36 +1000
  • 77ae0e9b15 ckdb - return homepage time in seconds kanoi 2014-06-18 19:03:30 +1000
  • 027668b84f ckdb - homepage stats kanoi 2014-06-18 17:55:19 +1000
  • 933462a56f Merge branch 'master' of bitbucket.org:ckolivas/ckpool ckolivas 2014-06-18 10:06:45 +1000
  • c3ce5321b0 Only close the rotating log once ckolivas 2014-06-18 10:06:03 +1000
  • 84a3f1d8a2 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-06-18 09:59:44 +1000
  • 2da5cd5dc3 initid - change to match new ckdb msg format kanoi 2014-06-18 09:59:19 +1000
  • 2b9062b44e Only show errno if it's not zero ckolivas 2014-06-18 09:53:29 +1000
  • 2921570e0c ckdb.sql - store a version in the db kanoi 2014-06-18 09:28:42 +1000
  • d895674df9 php - match new consistent message format kanoi 2014-06-18 01:43:31 +1000
  • cffeb9db79 ckdb - log all incoming to the rotating log kanoi 2014-06-18 01:35:16 +1000
  • d83a6cdcde Realloc the correct variable Con Kolivas 2014-06-18 01:13:57 +1000
  • 3107450281 recv_unix_msg can return a dud buffer on select failure Con Kolivas 2014-06-18 00:50:27 +1000
  • 4e02dd4213 Fix missing break in switch Con Kolivas 2014-06-18 00:35:46 +1000
  • ddf7703e92 Add workaround for fast connecting miners Con Kolivas 2014-06-18 00:32:48 +1000
  • 924b86b700 Create ckdb sockdir if it's not present and change permissions to 750 Con Kolivas 2014-06-18 00:10:43 +1000
  • 1b3a972df2 Don't start receiving data till we are accepting connections in the connector Con Kolivas 2014-06-17 23:42:39 +1000
  • db012ba9c2 Increase default listen backlog in libckpool open_unix_server to 10 Con Kolivas 2014-06-17 22:55:38 +1000
  • b099bd92a1 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-06-17 22:47:53 +1000
  • d3e7db51bc ckdb - txt_to_ctv for comma separated time kanoi 2014-06-17 22:44:30 +1000
  • c0808703f0 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-06-17 21:54:45 +1000
  • f6c4e49f16 Send userstats to ckdb in a staggered fashion every 10 minutes Con Kolivas 2014-06-17 21:51:49 +1000
  • 53eb587b18 ckdb - consistent auth messages kanoi 2014-06-17 21:51:48 +1000
  • 13fde6642e Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-06-17 21:44:16 +1000
  • 345b86b79a ckdb - userstats kanoi 2014-06-17 21:43:45 +1000
  • 7cee5962c7 Rationalise pool stats to only show active workers and users accurately Con Kolivas 2014-06-17 21:19:29 +1000
  • be5a9e6d7a ckdb - fix erroneous comma kanoi 2014-06-17 19:06:25 +1000
  • 522a78a4fd Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-06-17 19:01:36 +1000
  • 532405b300 ckdb - standardise messages and replies kanoi 2014-06-17 19:01:10 +1000
  • 14b965c67a Change authentication response check from added to ok Con Kolivas 2014-06-17 17:27:01 +1000
  • 91e2b3c942 Remove the method from the command we send to ckdb and put it at the beginning of the message Con Kolivas 2014-06-17 17:24:19 +1000
  • 645b94c949 Log all ckdb requests to the rotating ckdb log Con Kolivas 2014-06-17 16:45:53 +1000
  • c4c9a7b2a6 Create a rotating log function that changes hourly with an exclusive lock while writing Con Kolivas 2014-06-17 16:40:53 +1000
  • d6b62be21f Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-06-17 15:15:55 +1000
  • fd9e99a163 ckdb - fix transfer string test kanoi 2014-06-17 15:15:35 +1000
  • 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 Con Kolivas 2014-06-17 12:28:10 +1000
  • 8798f08622 Make an array for the different ids we send to ckdb Con Kolivas 2014-06-17 11:56:45 +1000
  • 9d099060d3 Clean up auth response handling and drop regular ckdb responses to verbose logging Con Kolivas 2014-06-17 11:38:59 +1000
  • 01d78cc966 ckdb - auto add workers correctly kanoi 2014-06-17 11:16:04 +1000
  • cf2f27fabc Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-06-17 10:51:45 +1000
  • 3a6e4a9fcb ckdb - change errno to errn kanoi 2014-06-17 10:49:12 +1000
  • 1682d8e0f3 Cope with empty transactions in json encoding Con Kolivas 2014-06-17 10:45:28 +1000
  • a26fda346f ckdb - allow no transactions kanoi 2014-06-17 10:44:32 +1000
  • 08a6a117be ckdb - add poolstats kanoi 2014-06-17 10:43:24 +1000
  • 1af6eda2b1 Remove all concept of accepted/rejected shares per user from stratifier Con Kolivas 2014-06-17 10:16:32 +1000
  • 7d16041dd1 Remove any concept of round shares or pplns from stratifier Con Kolivas 2014-06-17 10:07:01 +1000
  • 0ce603c9e5 Change message to ckdb to id. Con Kolivas 2014-06-17 09:45:35 +1000
  • 333d05fb3a Create a json sending wrapper for ckdb and fix int64 usage in packed json Con Kolivas 2014-06-17 08:36:15 +1000
  • 47f10cbf22 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-06-17 00:50:39 +1000
  • 62f9f7b300 Do basic authorisation, duplicating the required 2nd UID Con Kolivas 2014-06-17 00:50:02 +1000
  • 2acf1d527c ckdb - add missing poolinstance to workinfo_add kanoi 2014-06-17 00:43:09 +1000
  • cbb0cb9ae2 ckdb - correct param count for workinfo_add kanoi 2014-06-17 00:36:50 +1000
  • d406fc3b5e Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-06-17 00:29:01 +1000
  • 569cca8a53 ckdb - id only added to reply in listener() kanoi 2014-06-17 00:27:36 +1000
  • 9111c4fdf9 Send stats to ckdb Con Kolivas 2014-06-17 00:23:33 +1000
  • 83eb0821ed Send workinfo sharelog Con Kolivas 2014-06-17 00:22:05 +1000
  • bd4716ca4f Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-06-17 00:12:50 +1000
  • 1debfd1f45 Send auth and share messages to ckdb Con Kolivas 2014-06-17 00:12:31 +1000
  • e8740d6eaa Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-06-17 00:04:10 +1000
  • 03b6244a61 initid - force bash kanoi 2014-06-17 00:03:41 +1000
  • 73599ea10d Add a function for sending a message to ckdb and getting its response Con Kolivas 2014-06-16 23:45:58 +1000
  • a910decebd Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-06-16 23:33:47 +1000
  • 5f5ef3c712 Parse and store the socket directory and name for ckdb Con Kolivas 2014-06-16 23:33:33 +1000
  • 144d389a8d Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-06-16 23:31:42 +1000
  • 76e43f1130 ckdb - allow json real and string array kanoi 2014-06-16 23:29:30 +1000
  • c6c5c4f486 Add reward to the workinfo database dump Con Kolivas 2014-06-16 23:01:16 +1000
  • 73b25d8917 Fix parameters to match messages we will send to ckdb Con Kolivas 2014-06-16 22:46:12 +1000
  • de86a49dec ckdb - handle auths/workers kanoi 2014-06-16 18:17:48 +1000
  • 6f099e43af Fix missing error code Con Kolivas 2014-06-15 12:32:41 +1000
  • 4119cfd21e Prepare json fields for exporting stats to ckdb and convert existing temporary displayed logging to json Con Kolivas 2014-06-15 11:16:01 +1000
  • 515923ead1 ckdb adjust initial id defaults and correct table sizes kanoi 2014-06-14 20:42:18 +1000
  • 561b18a63b ckdb.c correct pgsql modification kanoi 2014-06-14 20:26:23 +1000
  • 906cf6fc09 ckdb table changes/additions kanoi 2014-06-14 20:23:22 +1000
  • be92057fa7 Write the errno to the share json Con Kolivas 2014-06-14 17:04:18 +1000
  • 7ff39bf07e Use an enum for various errors and reject reasons for shares and put their strings in libckpool Con Kolivas 2014-06-14 16:55:21 +1000
  • 14f37c2e09 Avoid undefined error on share submission after error Con Kolivas 2014-06-14 12:12:45 +1000
  • 1ab6280eac Don't try to empty a closed socket Con Kolivas 2014-06-14 11:08:16 +1000
  • 258c7b0b9c Prepare share error json for database submission as well Con Kolivas 2014-06-14 11:07:25 +1000
  • bb83f99a44 Convert workinfo id to int64_t to be compatible with database logging and add fields to the json that will be logged Con Kolivas 2014-06-14 10:44:37 +1000
  • 7034fc22cf Add fields to share logging ckolivas 2014-06-14 09:30:11 +1000
  • 637f50aac7 Remove unused code commented out ckolivas 2014-06-14 09:14:48 +1000
  • d96b111653 Send a message from the generator to the connector to tell it when it can accept or should reject incoming connections Con Kolivas 2014-06-13 22:51:34 +1000
  • 50efbcba5f Fix various warnings Con Kolivas 2014-06-13 21:49:48 +1000
  • ebb932691a Allow group id to be set for unix sockets with -g command line parameter Con Kolivas 2014-06-13 21:43:43 +1000
  • 94bff9c3ab Fix build for ubuntu Con Kolivas 2014-06-13 19:59:24 +1000
  • 762fe5ebaf ckdb v0.0 kanoi 2014-06-13 19:32:37 +1000
  • c6d9e0b8b3 php for web server kanoi 2014-06-13 19:00:09 +1000
  • f83bd09ae7 html folder for web server kanoi 2014-06-13 18:58:53 +1000
  • a107b18381 pgsql definition and script for adding ids to idcontrol kanoi 2014-06-13 18:56:22 +1000