Commit Graph

  • 7f23fadeef Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-10-07 00:57:23 +1100
  • 0d13eb4501 ckdb/php - set default diff to 0 meaning unset kanoi 2014-10-07 00:56:32 +1100
  • 995d4f3d04 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-10-06 12:20:00 +1100
  • 03878efb0e The stats on idle miners were being decayed with the wrong time interval so would appear to drop to almost zero on any idle period Con Kolivas 2014-10-06 12:19:47 +1100
  • e49a2011de ckdb - fix password reset always false kanoi 2014-10-06 12:11:42 +1100
  • 2f501e9d9e ckdb/php - add all pool hash rates to pool stats kanoi 2014-10-06 11:51:47 +1100
  • 8146f4d748 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-10-04 23:17:00 +1000
  • 68dfd2ddbc php - always use 5min hash rate for pool top left kanoi 2014-10-04 23:16:39 +1000
  • b08f4bcb69 Drop clients lazily when the proxy is full Con Kolivas 2014-10-04 14:57:42 +1000
  • 1b45079802 Keep track of clients that submit a run of continuous rejects and send them a diff update if they do it for longer than 1 minute and then lazily drop them if it goes beyond 2 minutes Con Kolivas 2014-10-04 14:51:36 +1000
  • 0c16e193ce Set no linger on all connected clients Con Kolivas 2014-10-04 10:09:28 +1000
  • 8e29c957e0 Add helper function to set no linger Con Kolivas 2014-10-04 10:06:19 +1000
  • 7d878bd223 Force close when dropping a client with a reset using SO_LINGER and give a warning on close failure Con Kolivas 2014-10-04 03:13:04 +1000
  • 146e3140f3 Add client source port to verbose logging Con Kolivas 2014-10-03 23:07:55 +1000
  • 5c6e048a2e Poll every 100ms instead of every second in the connector to rapidly pick up new clients Con Kolivas 2014-10-03 22:57:27 +1000
  • 26b4037eff Log a warning if a client with an invalidated fd is still in the fdclients hashtable Con Kolivas 2014-10-03 22:41:32 +1000
  • 3bf4e0de8d Always send dropclient to the stratifier on every invalidate client call Con Kolivas 2014-10-03 22:38:16 +1000
  • 1f68a5a98b Use the Close handler in the stratifier Con Kolivas 2014-10-03 22:16:30 +1000
  • 5a9eb76488 Use the Close handler in the generator Con Kolivas 2014-10-03 22:14:36 +1000
  • 7da6c0b2a0 Use the Close handler in connector.c Con Kolivas 2014-10-03 22:09:38 +1000
  • e683fa42b6 Use the Close handler in ckpool.c Con Kolivas 2014-10-03 22:07:19 +1000
  • bae2493346 Add a helper for close which invalidates the file handle as well Con Kolivas 2014-10-03 22:01:11 +1000
  • 070a1a3b3e Cache reused bias calculations Con Kolivas 2014-10-03 15:28:49 +1000
  • 86f72ff889 Keep rereading in parse_client_msg if the socket indicates it is still ready for further reads Con Kolivas 2014-10-03 14:10:26 +1000
  • 8d625b736b Revert "Close polled fds that are ready for reads but no longer have a client associated with them" Con Kolivas 2014-10-03 12:45:52 +1000
  • 6acb482e7a Bias workers as well as users Con Kolivas 2014-10-03 12:23:34 +1000
  • 6ba4cf50a5 There is no need to bias 60 second times, and we should bias worker stats Con Kolivas 2014-10-03 12:15:11 +1000
  • f0f948171a Invalidate interrupted clients and increase verbosity of messages logged Con Kolivas 2014-10-03 12:04:58 +1000
  • f6f61e8870 Close polled fds that are ready for reads but no longer have a client associated with them Con Kolivas 2014-10-03 11:55:16 +1000
  • 48b2e72661 Rereading with dontwait is pointless and adds complexity Con Kolivas 2014-10-03 10:36:33 +1000
  • ae1f9827ac Revert "Always re-read with dontwait when parsing a client message" Con Kolivas 2014-10-03 10:34:16 +1000
  • e3b4d969d5 Always re-read with dontwait when parsing a client message Con Kolivas 2014-10-03 10:31:52 +1000
  • 1e175d851c Missing valid but not submitted count for proxy Con Kolivas 2014-10-03 09:57:27 +1000
  • 70393442a3 Zero bufofs in connector loop for completeness and make sure to retry if there is more data to read Con Kolivas 2014-10-03 09:10:05 +1000
  • 53641a9c24 Prevent wb dereference in parse_submit Con Kolivas 2014-10-03 09:04:15 +1000
  • 600e6923fc Count only accepted and stale rejects in diff calculation Con Kolivas 2014-10-03 08:45:39 +1000
  • 0f7daecac4 Stats on 1st reject were being missed Con Kolivas 2014-10-03 08:38:22 +1000
  • 2d6d982bb1 Add buf offset to disconnect message and reset flags on looping Con Kolivas 2014-10-03 01:01:31 +1000
  • a493539a75 Only add strerro if errno != 0 Con Kolivas 2014-10-03 00:54:21 +1000
  • 17d1455267 Add more info to disconnects Con Kolivas 2014-10-03 00:52:09 +1000
  • 255bab88fe Add a maximum diff option Con Kolivas 2014-10-03 00:07:43 +1000
  • 857462e16a Simplify the complicated sequential locking to pure choice of write or read in the stratifer Con Kolivas 2014-10-02 23:20:06 +1000
  • 55ff1389ee Make ckpool built without ckdb support imply standalone and remove ckdb options when build support is disabled Con Kolivas 2014-10-02 20:30:16 +1000
  • cfd5e4bd5c ckdb - ckdb_cmd comment update kanoi 2014-10-02 12:01:29 +1000
  • 8a9c652065 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-10-02 11:30:41 +1000
  • 0abbed2cf6 ckdb - move remaining data code into ckdb_data kanoi 2014-10-02 11:24:31 +1000
  • ea8ee0d376 ckdb - fix warnings from code break up kanoi 2014-10-02 11:03:40 +1000
  • 49e465c8d5 Remove unnecessary extra step in disconnected_sessionid_exists Con Kolivas 2014-10-02 02:24:18 +1000
  • 82be9e2cea Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-10-01 23:52:11 +1000
  • 00fc686bbf use a union for the split nonce2 values instead of open coding a pointer version Con Kolivas 2014-10-01 23:51:15 +1000
  • 1f16e05f1d Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-10-01 23:11:37 +1000
  • 50b90b4046 ckdb - break up into parts kanoi 2014-10-01 23:09:29 +1000
  • 10777b6f25 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-10-01 23:03:58 +1000
  • ba506f6262 Fix more 64bit print modifiers Con Kolivas 2014-10-01 23:03:35 +1000
  • 8376ccffb4 php - remove old 'lastblock's kanoi 2014-09-30 23:24:41 +1000
  • cc47b062ce Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-09-30 21:56:04 +1000
  • 64db53c390 ckdb/php - add worker diff management kanoi 2014-09-30 21:55:23 +1000
  • 287b75b7c4 ckdb - remove some web duplicate messages from the console kanoi 2014-09-30 19:39:33 +1000
  • 4d230435db Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-09-30 16:00:59 +1000
  • 82c7f24614 Add support for setting worker diff and mining.suggest_difficulty parsing Con Kolivas 2014-09-30 15:49:14 +1000
  • d2d219cf81 ckdb - add 24hr to workers stats kanoi 2014-09-30 10:55:13 +1000
  • fff2028591 Avoid uninit buf Con Kolivas 2014-09-29 21:40:23 +1000
  • 87336835f6 Log combined per worker stats in a workers subdirectory Con Kolivas 2014-09-29 21:35:47 +1000
  • f54aa412b1 Create a linked list of each worker per user and decay per worker shares separately Con Kolivas 2014-09-29 21:22:28 +1000
  • dd6a576935 Remove the linked list of dead clients and maintain a linked list of all workers by user, and store stats per combined workername Con Kolivas 2014-09-29 21:01:15 +1000
  • 991877134a Send a heartbeat every second to ckdb to allow ckdb to send information not specifically requested while maintaining ckpool msg-response relationship. Do not send heartbeats if there are messages queued already for when ckdb is offline/busy. Con Kolivas 2014-09-29 17:30:15 +1000
  • 8a0d0667e3 Check for initialised ckmsgq when checking if the queue is empty Con Kolivas 2014-09-29 17:25:52 +1000
  • 90f5936956 Add a helper function to detect when a ckmsgq is empty Con Kolivas 2014-09-29 17:21:54 +1000
  • ff2ee66e77 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-09-29 16:16:44 +1000
  • 17c2276e33 Ensure we have serialised access to ckdb by using a mutex on submit/receives for auths since other responses are mostly ignored Con Kolivas 2014-09-29 16:16:29 +1000
  • e4f1a87050 Add a helper function for pthread_mutex_timedlock Con Kolivas 2014-09-29 16:01:48 +1000
  • a285628a49 ckdb - allow a heartbeat from the pool and give a generic reply kanoi 2014-09-29 11:43:07 +1000
  • e44de0112b ckdb/php - add some block stats to workers kanoi 2014-09-28 22:54:26 +1000
  • 87219bd7e2 ckdb - allow optional fields to report errors kanoi 2014-09-28 22:00:06 +1000
  • 67a3dbc0c3 Merged in ticaleen/ckpool (pull request #5) Con Kolivas 2014-09-27 17:22:37 +1000
  • 28a42cd1ef Merged in ticaleen/bitcoinc-edited-online-with-bitbucket-1411800219113 (pull request #1) li xin 2014-09-27 14:44:12 +0800
  • 5021a3d40f bitcoin.c edited online with Bitbucket li xin 2014-09-27 06:43:46 +0000
  • e441e65c53 Ping miners regularly in proxy mode to ensure they don't disconnect when diff is too high for them and they receive no update Con Kolivas 2014-09-26 21:20:35 +1000
  • eeba52e716 Remove enonce1 debugging Con Kolivas 2014-09-26 11:31:16 +1000
  • 8c44df96cb Ignore reject floods on initial connect Con Kolivas 2014-09-26 11:28:38 +1000
  • c4506c7e47 Round away from zero when choosing optimal diff Con Kolivas 2014-09-26 11:20:49 +1000
  • 3d6601d20c Maximise the nonce2 size in proxy mode and ensure we don't clash enonce1 instances, rejecting clients when there is no more space available Con Kolivas 2014-09-26 09:57:54 +1000
  • b44a347e97 Add console warning on restart Con Kolivas 2014-09-25 22:59:05 +1000
  • b99efe8071 Give listener response to restart request Con Kolivas 2014-09-25 22:58:10 +1000
  • 22c9d7c393 Wait up to 10 minutes for a response in proxy mode for p2pool which does not send an update regularly Con Kolivas 2014-09-25 22:51:17 +1000
  • 36436b0c4c Use singly linked list only for dead clients and don't keep disconnected instances in proxy mode Con Kolivas 2014-09-25 22:47:40 +1000
  • 79c99c4daf Must check against upstream diff before submitting Con Kolivas 2014-09-23 09:18:28 +1000
  • d928c154ee Submit only valid and stale shares upstream in proxy mode and add logging about submits in verbose mode Con Kolivas 2014-09-23 09:15:12 +1000
  • 10bb351736 Avoid updating diff until there is a current work base Con Kolivas 2014-09-23 09:05:29 +1000
  • 427c1bf12c Check diff on each notify in proxy mode Con Kolivas 2014-09-23 09:01:37 +1000
  • f4f6d53db9 Submit stale shares in proxy mode Con Kolivas 2014-09-22 22:03:46 +1000
  • 6d70aac3a2 Clamp lower diff to 1 in proxy mode Con Kolivas 2014-09-22 22:01:05 +1000
  • d526eb8a76 Mask out (null) as a valid result in json_result Con Kolivas 2014-09-22 21:59:26 +1000
  • 08f7f39836 Do not accept proxy notify update until subscription complete Con Kolivas 2014-09-22 21:56:42 +1000
  • e326d36be5 Only use 4 bytes for enonce1 in proxy mode when we have 8 or more bytes for nonce2len Con Kolivas 2014-09-22 21:07:17 +1000
  • ffb054c95a Show all connector messages in debug mode Con Kolivas 2014-09-22 20:05:55 +1000
  • ce2559f8c2 Update btcd docs Con Kolivas 2014-09-22 16:43:36 +1000
  • ed10a73946 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-09-22 12:32:50 +1000
  • 8e34ff377b Make necessary changes to ckproxy to support large coinbases and null length enonce1 for p2pool support Con Kolivas 2014-09-22 12:31:36 +1000
  • 44562a061c Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-09-21 12:32:25 +1000