Commit Graph

  • 6d40647334 Add a helper function for converting a struct sockaddr into a url and port Con Kolivas 2014-11-28 00:24:58 +1100
  • 00f9cf297d Hand over multiple sockets if we can Con Kolivas 2014-11-27 23:33:13 +1100
  • 65a6f4be5f Look for json messages for clients and process them first in the connector Con Kolivas 2014-11-27 22:45:23 +1100
  • 19bf803b99 Clean up shutting down of old processes, polling for when they exit for faster handover Con Kolivas 2014-11-27 22:14:16 +1100
  • 8d1af2b7fe Check for presence of main process before trying to ping it in case the socket is pointing a new process Con Kolivas 2014-11-27 21:48:02 +1100
  • 58be2ed29f ckdb - fix for pplns when payout is only in workmarkers kanoi 2014-11-27 21:07:23 +1100
  • 2dc67ccc35 Drop listen backlog to zero as soon as we start polling Con Kolivas 2014-11-27 19:33:30 +1100
  • 6a4da2814c Look for received json messages in the stratifier first since they'll be the most common Con Kolivas 2014-11-27 15:11:35 +1100
  • 93b8bf0071 ckdb - implement marks with cmd_marks to create and use marks and workmarkers kanoi 2014-11-27 16:24:05 +1100
  • 8371a398fe Merge branch 'master' into userstats Con Kolivas 2014-11-25 23:56:30 +1100
  • c57782af25 Avoid variable names in json checking macros that may conflict Con Kolivas 2014-11-25 23:32:46 +1100
  • 807d5a403c Only add secondaryuserid with ckdb Con Kolivas 2014-11-25 23:25:58 +1100
  • cb1e3b8637 Fine grain create the json share error to debug each field Con Kolivas 2014-11-25 23:01:37 +1100
  • 26d9bd9e08 Merge branch 'master' into userstats Con Kolivas 2014-11-21 20:32:26 +1100
  • 6ab9129bd6 Send the associated serverurl with client based data sent to ckdb Con Kolivas 2014-11-21 20:31:18 +1100
  • b8e125a1f7 Store which serverurl each client is bound to in the connector and pass the information to the stratifier Con Kolivas 2014-11-21 20:27:52 +1100
  • 8d4a0f3fa7 Fix pointer Con Kolivas 2014-11-21 20:02:37 +1100
  • 0f7b6c5a68 Make the connector bind to multiple IPs and Ports specified in the configuration, handling incoming connections Con Kolivas 2014-11-21 17:36:04 +1100
  • b1cd770c8a Update ckpool and ckproxy example configurations Con Kolivas 2014-11-21 15:53:19 +1100
  • 5dd076cfbe Allow serverurl to take an array of entries for future binding to multiple interfaces/ports Con Kolivas 2014-11-21 15:51:16 +1100
  • 00fa820c3b Make the json_get functions return boolean for success or failure Con Kolivas 2014-11-21 10:39:04 +1100
  • 0c9ac579e5 ckdb - reduce transfer cull to compensate for the alloc increase kanoi 2014-11-21 10:37:48 +1100
  • a4fb2ca927 ckdb - allow the -w option to only affect sharesummaries kanoi 2014-11-21 10:34:42 +1100
  • 98b52140b7 ckdb - load the marks table kanoi 2014-11-21 07:22:11 +1100
  • 61318d9438 ckdb - pplns set block createdate to first block record kanoi 2014-11-20 23:35:21 +1100
  • 941cba9b3b ckdb - convert sharesummary workername to a ptr - reduce ram ... lots kanoi 2014-11-20 10:15:33 +1100
  • 5fe3dd77e2 ckdb/php - add more stats in pplns about where the shares come from kanoi 2014-11-20 08:57:07 +1100
  • 71eac4e579 ckdb/sql - add sql/code definition for Marks - not implemented yet kanoi 2014-11-20 08:02:24 +1100
  • 8e559ee48e Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-11-19 22:50:44 +1100
  • 5a57d01911 ckdb - correct pplns workmarkers sort kanoi 2014-11-19 22:49:45 +1100
  • 79367129f3 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-11-19 21:36:40 +1100
  • 1d0d914d52 Store the fd in read_socket_line to not have it change under us, and empty the cs buffer on failure Con Kolivas 2014-11-19 21:34:40 +1100
  • 61300493e7 Empty buffers of servers and proxy when killing them Con Kolivas 2014-11-19 21:29:18 +1100
  • 06507de1fc Handle read and write_length functions receiving an invalidated fd Con Kolivas 2014-11-19 21:25:33 +1100
  • c9dd84fac2 Handle invalidated socket fds with an error in the wait read/write select functions Con Kolivas 2014-11-19 21:22:31 +1100
  • bbfadc3e47 Store the fd in read_socket_line to not have it change under us, and empty the cs buffer on failure Con Kolivas 2014-11-19 21:34:40 +1100
  • fe7f015ec6 Empty buffers of servers and proxy when killing them Con Kolivas 2014-11-19 21:29:18 +1100
  • 615e9e8b22 Handle read and write_length functions receiving an invalidated fd Con Kolivas 2014-11-19 21:25:33 +1100
  • 480c705e96 Handle invalidated socket fds with an error in the wait read/write select functions Con Kolivas 2014-11-19 21:22:31 +1100
  • 2ddfc892b4 php - help menu changes kanoi 2014-11-19 11:03:35 +1100
  • c05098f226 php - since menu hitbox is now the full box, reduce back to 6 kanoi 2014-11-19 10:42:07 +1100
  • ef53d6634e Merged in bobsburgers/ckpool/fixed-menu-mobile-dropdown (pull request #6) - but I will reduce the 8 to 6 TheKano 2014-11-19 10:38:28 +1100
  • b231b158e6 ckdb/php - allow pplns to show blocks that can't be or aren't ready to be paid out kanoi 2014-11-19 08:47:59 +1100
  • 180410913c ckdb - include workmarkers in old pplns calculations kanoi 2014-11-18 22:51:11 +1100
  • 27b722e66e ckdb - allow disabling/enabling users kanoi 2014-11-18 18:24:19 +1100
  • 5d522ddec8 ckdb - fail auth if users.status isn't empty kanoi 2014-11-18 12:49:29 +1100
  • 7a8392bb1f ckdb - suggest to malloc to use mmap for transfer kanoi 2014-11-18 12:35:41 +1100
  • 03efdd0332 ckdb - disallow web usernames like BTC addresses kanoi 2014-11-18 12:29:10 +1100
  • 0709058b25 Allow nonce1 and nonce2 lengths to be specified separately Con Kolivas 2014-11-17 14:01:54 +1100
  • 721d6d22ab Set the initial enonce1 to a value that will differ on every restart Con Kolivas 2014-11-17 13:57:40 +1100
  • 4391e71734 Merge branch 'master' into userstats Con Kolivas 2014-11-16 09:36:19 +1100
  • ab91682e22 Add support for custom extranonce1 lengths Con Kolivas 2014-11-15 15:32:01 +1100
  • 6c47d61bb1 Use reference counting to know when we can drop client structures in the connector Con Kolivas 2014-11-15 11:31:47 +1100
  • ef649813f8 Dead stratum instances need not be in a doubly linked list Con Kolivas 2014-11-15 10:25:37 +1100
  • 0941d5a751 Add disconnected stratum clients to a linked list and use reference counting to know when they are no longer being referenced and can have their data freed. Con Kolivas 2014-11-14 21:41:54 +1100
  • f74e15cbc0 php - add CDF to block pages kanoi 2014-11-14 00:52:13 +1100
  • ad6f642129 php - add a public blocks page kanoi 2014-11-13 18:31:26 +1100
  • 0b87f4c304 php - use colour names for blocks font kanoi 2014-11-10 13:52:09 +1100
  • aca254495e ckdb - increase transfer cull - 64 happens too regularly kanoi 2014-11-09 12:06:13 +1100
  • 1ae5e57fc4 Fixed mobile menu bar with proper spacing. Ben U 2014-11-08 14:17:15 -0700
  • ae396b0155 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-11-09 02:23:51 +1100
  • 1d2fbaa688 sql - ... and include the db change file for 0.9.4 kanoi 2014-11-08 16:28:45 +1100
  • d09c7f9c6b ckdb/sql - include markersummary in share calculations and alter the sharesummary index for fast marker processing - db 0.9.4 kanoi 2014-11-08 16:27:14 +1100
  • c33ae04ad8 Handle mining.ping in proxy mode Con Kolivas 2014-11-07 21:54:55 +1100
  • f5f5c6a678 Only read off the user and workerstats from previous startup and bias pool stats in standalone mode Con Kolivas 2014-11-07 17:38:46 +1100
  • d86c0cd2c0 Differentiate failed getbase requests that occur for priority reasons from actual comms failures and clarify and demote the messages accordingly Con Kolivas 2014-11-07 17:28:11 +1100
  • b7785415e6 Privatise all the data in the stratifier Con Kolivas 2014-11-07 15:46:05 +1100
  • 1e4030b9ed Fix wrong pointer in connector Con Kolivas 2014-11-07 15:26:09 +1100
  • 3ddef2d66f Privatise all the connector specific data Con Kolivas 2014-11-07 14:27:25 +1100
  • fe15f9384d Privatise all global variables within the generator to allow multiple ckpools in the future Con Kolivas 2014-11-07 12:58:55 +1100
  • 5ccd3b5340 Send workerstats to ckdb instead of client stats Con Kolivas 2014-11-07 12:43:11 +1100
  • 93e0e55cf0 Store start time and idle status per worker Con Kolivas 2014-11-07 12:23:24 +1100
  • f85089eeec Remove EOS marker in userstats in preparation for moving from client to worker stats Con Kolivas 2014-11-07 11:48:27 +1100
  • f08eb38061 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-11-07 00:38:47 +1100
  • 2f3fba27a3 Use a sanity check on idstring from the job_id passed in parse_submit Con Kolivas 2014-11-07 00:35:47 +1100
  • 0e9752e989 ckdb/sql - update to db 0.9.3 - workmarkers kanoi 2014-11-05 18:03:49 +1100
  • 46ea8d2fb7 ckdb - free ktree leaked ram when using remove and correct log timezone kanoi 2014-11-05 08:23:25 +1100
  • 99ba876097 ckpmsg - add a timestamp kanoi 2014-11-05 08:16:28 +1100
  • 063d723a31 allow ckpmsg to set the unix recv timeout kanoi 2014-11-05 07:40:01 +1100
  • c178d6b3bb ckdb - ensure each block's workinfo is loaded kanoi 2014-11-04 23:57:14 +1100
  • 4103e3f2b6 ckdb - free optioncontrol blob on exit kanoi 2014-11-04 23:44:55 +1100
  • 6891895cb3 ckdb - use new shutdown for the confirmer kanoi 2014-11-04 22:34:30 +1100
  • 0e5a1a102e ckdb - remove summariser sleep delays during shutdown kanoi 2014-11-04 21:59:41 +1100
  • e2b378cb84 ckdb - cleanup lists/trees on shutdown and notify what is delaying shutdown kanoi 2014-11-04 21:30:32 +1100
  • cd0facf0e9 ckdb - keep address history for txn payment processing kanoi 2014-11-04 14:42:11 +1100
  • 9ce3aafc5c php - sort user workers by hash rate kanoi 2014-11-04 11:34:36 +1100
  • 1759774075 ckdb - match block maturity with bitcoind-qt kanoi 2014-11-04 00:39:13 +1100
  • 00ed8a41a7 ckdb - hack to allow skipping loading temorarily unneeded data kanoi 2014-11-03 15:07:23 +1100
  • e82dab1284 ckdb - set confirmer to only load data near the range required kanoi 2014-11-03 14:22:31 +1100
  • a058c387b3 Give pings an integer id and handle pongs and spurious responses without an error message Con Kolivas 2014-11-02 13:37:42 +1100
  • d4d22949d8 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-11-01 20:37:56 +1100
  • 3cb0546c10 Recruit extra stratum receive processes based on number of CPUs Con Kolivas 2014-11-01 20:37:35 +1100
  • 3f061c9331 Do the CPU intensive part of a stratum receive outside the main stratum loop Con Kolivas 2014-11-01 20:09:05 +1100
  • a6496d4211 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-11-01 17:33:47 +1100
  • 4d06595b85 php - show confirm number on blocks page kanoi 2014-11-01 17:32:17 +1100
  • c87ad0b239 Do not double close socket sent to get_fd Con Kolivas 2014-11-01 17:15:37 +1100
  • d1e08ac9c2 Add source debugging to close failure Con Kolivas 2014-11-01 17:12:06 +1100
  • 329afb56ac Cosmetic tidy Con Kolivas 2014-11-01 17:01:23 +1100
  • f517a593c4 Create half as many share processing threads as there are CPUs Con Kolivas 2014-11-01 16:47:52 +1100
  • 995fce28c1 Make it possible to create many threads associated with a ckmsgq Con Kolivas 2014-11-01 16:43:45 +1100