Commit Graph

  • fe93a914e1 Add API function to get worker stats Con Kolivas 2015-03-22 21:04:59 +1100
  • b37ee220e9 Add psends to generator stats Con Kolivas 2015-03-22 20:36:33 +1100
  • 99878feb2d Add basic generator stats Con Kolivas 2015-03-22 20:27:35 +1100
  • 9dd93afcd7 Merge branch 'master' into multiproxy Con Kolivas 2015-03-22 19:53:00 +1100
  • 2c0a982948 Push version to 0.8.7 Con Kolivas 2015-03-22 19:52:02 +1100
  • 0b5e34f08b Merge branch 'master' into multiproxy Con Kolivas 2015-03-22 19:50:13 +1100
  • 825f7de50a Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2015-03-22 12:10:50 +1100
  • eefbeef44b Only check user_instance under instance lock Con Kolivas 2015-03-22 12:08:45 +1100
  • 19674013cf Use only the one notify hashlist in the generator Con Kolivas 2015-03-22 09:44:46 +1100
  • 104ab03f2b Use only one share hashlist in the generator Con Kolivas 2015-03-22 09:36:34 +1100
  • 6e1336b997 Minor documentation Con Kolivas 2015-03-22 09:29:24 +1100
  • baef991186 Use correct test for recruiting more global proxies Con Kolivas 2015-03-21 22:26:27 +1100
  • 804a98e63c Do all reconnects on stratum notify lazily only to prevent multiple subproxies flagging reconnects Con Kolivas 2015-03-21 22:17:47 +1100
  • 4f3e19325b Minor notice change Con Kolivas 2015-03-21 22:11:26 +1100
  • 4e4c8aa79a Add more reliable tests to know which clients should be redirected Con Kolivas 2015-03-21 22:04:56 +1100
  • f31980b9d0 Only reconnect authorised clients Con Kolivas 2015-03-21 21:41:05 +1100
  • 508bb71e9b Recruit from best not proxy Con Kolivas 2015-03-21 21:04:01 +1100
  • bf79e0793d Recruit extra user subproxies when there aren't enough Con Kolivas 2015-03-21 21:00:50 +1100
  • 046f8affb0 Reconnect clients not bound to a user proxy when a new notify creates more headroom Con Kolivas 2015-03-21 19:47:52 +1100
  • c7852c34bb Make the reconnect after auth a soft reconnect Con Kolivas 2015-03-21 19:30:57 +1100
  • d897abff8f Remove debugging Con Kolivas 2015-03-21 19:26:17 +1100
  • a2052cdf37 Reconnect clients when they are bound to a global proxy and have userproxies with headroom Con Kolivas 2015-03-21 19:25:33 +1100
  • 0e1d4dd4f1 Don't reconnect clients bound to user proxies on global changes Con Kolivas 2015-03-21 18:45:11 +1100
  • 68bfb5bab4 Adjust the best global proxy only when there's a change in global proxies Con Kolivas 2015-03-21 18:26:27 +1100
  • ac3726e56f Try to find a suitable pool by userid on clients with a known userid Con Kolivas 2015-03-21 18:09:01 +1100
  • 4322c7d7c5 Inherit user id from old session id in proxy mode Con Kolivas 2015-03-21 17:50:39 +1100
  • 2230bd6d65 ckdb - stat the share OoO messages and increase the warning limit to 2s kanoi 2015-03-21 15:53:07 +1100
  • b60bebe7b0 Rework code to always grab the sessionid but use it for reconnecting only in pool mode Con Kolivas 2015-03-21 15:27:01 +1100
  • b74ae0f24e ckdb - console warning log out of order shares only if more than 1 second kanoi 2015-03-21 14:40:46 +1100
  • 7961aa1a29 There is no need for user instance id to be an int64 Con Kolivas 2015-03-21 13:26:18 +1100
  • 224d638adc Merge branch 'master' into multiproxy Con Kolivas 2015-03-21 13:20:00 +1100
  • 505abca664 Revert sessionid code to merge master sessionid code Con Kolivas 2015-03-21 13:12:15 +1100
  • 3ea6fa5dfe Don't bother storing the session of clients without a user set up or not authorised Con Kolivas 2015-03-21 12:58:39 +1100
  • 28678ecc20 Merge branch 'sessionid' Con Kolivas 2015-03-21 12:34:51 +1100
  • a8b7916829 Fix memory leak Con Kolivas 2015-03-21 12:23:12 +1100
  • cecf6406e2 Fix memory leak Con Kolivas 2015-03-21 12:23:12 +1100
  • 6e41ff823f Demote debug Con Kolivas 2015-03-21 11:58:16 +1100
  • 08622a4b61 Hand old sessionid to new client Con Kolivas 2015-03-21 11:56:01 +1100
  • c7dbb0114d Rework sessionid matching to not store client structure ckolivas 2015-03-21 10:53:45 +1100
  • 5da07e5f98 php - usperf remove duplicate code line kanoi 2015-03-21 02:18:29 +1100
  • 89935e876c php - store graph settings in a cookie kanoi 2015-03-21 01:37:15 +1100
  • 65df7bc722 Set cs.ckp on creating a new subproxy Con Kolivas 2015-03-20 23:56:44 +1100
  • 49fe273718 Look up users based on session id and find a proxy from their list if possible Con Kolivas 2015-03-20 18:17:43 +1100
  • 74ea210ad2 Match user from sessionid if possible in proxy mode Con Kolivas 2015-03-20 18:05:26 +1100
  • 6cb3078025 Add a list of sessionids created with their associated user once we generate the user Con Kolivas 2015-03-20 17:46:35 +1100
  • eb3c78f52b Give a unique sessionid in proxy mode Con Kolivas 2015-03-20 17:36:22 +1100
  • 33e903cb4f Logic inversion Con Kolivas 2015-03-20 17:20:36 +1100
  • fae7c70dc2 Abstract out the test for the best subproxy for future use with user proxies Con Kolivas 2015-03-20 16:06:23 +1100
  • 3628128d64 Set ckp variable in connsocks used by proxies Con Kolivas 2015-03-20 15:28:39 +1100
  • 84a6bf7dfc Encode priority into user proxies by using the userid as its high bits Con Kolivas 2015-03-20 15:25:51 +1100
  • 1818d867a0 Use the one list for proxies in the generator, separating only when needed Con Kolivas 2015-03-20 14:20:00 +1100
  • 92d1572e0a Search the user proxy list when looking up proxy_by_id Con Kolivas 2015-03-20 14:06:38 +1100
  • 0648926729 Add user proxies to their own hashlist Con Kolivas 2015-03-20 14:02:43 +1100
  • 9c60f55b61 Add preliminary structures required to add user proxies to the generator Con Kolivas 2015-03-20 13:54:33 +1100
  • 9f3a1bfb4d Add userid parsing to proxy.add command Con Kolivas 2015-03-20 12:40:20 +1100
  • 6a7fc728a4 Add an API command to set global proxy priority and do the switch Con Kolivas 2015-03-20 12:12:49 +1100
  • b54c650d6a Give parent proxy details where appropriate in getproxy Con Kolivas 2015-03-20 11:13:30 +1100
  • d7f09124a6 Add an API command to get proxy details Con Kolivas 2015-03-20 11:02:02 +1100
  • fd7d62df15 Send the proxy details from the generator to the stratifier Con Kolivas 2015-03-20 10:36:29 +1100
  • a5a5487023 Revert "Add uthash helpers for iterating over hash entries without the need for safe against deletion" Con Kolivas 2015-03-20 10:27:40 +1100
  • 5517a21171 Use the priority sorting to speed up best proxy selection Con Kolivas 2015-03-20 10:27:34 +1100
  • 93d820ab55 Revert "Use the terse hash helpers in the stratifier" Con Kolivas 2015-03-20 10:20:37 +1100
  • 4b099e8445 Add a priority field to proxies, currently set to their id and sort them by priority Con Kolivas 2015-03-20 09:49:12 +1100
  • 950a20e76f Use the terse hash helpers in the stratifier Con Kolivas 2015-03-20 09:37:38 +1100
  • 9a1e59637f Add uthash helpers for iterating over hash entries without the need for safe against deletion Con Kolivas 2015-03-20 09:27:38 +1100
  • c4dda1d521 php - javascript bugs kanoi 2015-03-19 20:35:46 +1100
  • 1ce6a34a82 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2015-03-19 20:25:26 +1100
  • 1f4cd709d1 php - allow selecting local vs utc time on the shift graph kanoi 2015-03-19 20:23:05 +1100
  • 172e60b567 Remove concept of current proxy from generator, allowing stratifier to do all the management Con Kolivas 2015-03-19 17:55:49 +1100
  • d8b0f9a9a9 Make stratifier determine best proxy to connect to, allowing us to remove management from the generator Con Kolivas 2015-03-19 17:24:55 +1100
  • e92e423412 Send a random sessionid rather than a blank one to prevent miner assuming they've reconnected Con Kolivas 2015-03-19 16:48:26 +1100
  • 5cb9408705 Merge branch 'master' into multiproxy Con Kolivas 2015-03-19 12:43:28 +1100
  • 7c0db6925e Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2015-03-19 12:14:17 +1100
  • 655f82f09d Remove clients from the epoll list when invalidating them to avoid a receiver event and check they still exist in their original form on getting a receiver event Con Kolivas 2015-03-19 12:13:58 +1100
  • 24d9155f62 Recycle client instances in the connector Con Kolivas 2015-03-19 11:48:06 +1100
  • b32080e9a5 ckdb - setup the first mandatory mark on a new pool kanoi 2015-03-18 23:51:07 +1100
  • bf1c2ef09b Cope with variable length ckdb responses on the heartbeat as well ckolivas 2015-03-18 16:00:18 +1100
  • f3766b48ff php - optionally draw time key below shift key kanoi 2015-03-18 04:10:45 +1100
  • 9093a92d51 php - graph time display options kanoi 2015-03-18 03:45:40 +1100
  • 63918ef410 php - add display options to the graph kanoi 2015-03-18 02:14:03 +1100
  • a43c94c4d5 Add a getuser command for generating users and getting their current statistics Con Kolivas 2015-03-17 18:22:26 +1100
  • ed6febe6db Handle proxy sends according to which socket is ready to receive data Con Kolivas 2015-03-17 16:06:19 +1100
  • 7827c5f96b Small cleanup of ordering Con Kolivas 2015-03-17 15:30:15 +1100
  • 964b9fb095 Move all proxy sends to the same thread Con Kolivas 2015-03-17 14:25:55 +1100
  • af37739018 Notifies and shares should all be with the parent structure Con Kolivas 2015-03-17 13:20:54 +1100
  • 73268c15c5 Create a thread for all userproxy receives Con Kolivas 2015-03-17 13:18:04 +1100
  • d61471ee2c Add more notice information during API proxy manipulation Con Kolivas 2015-03-17 12:08:53 +1100
  • 41202d22eb Add API commands to allow us to enable/disable proxies on the fly Con Kolivas 2015-03-17 12:06:09 +1100
  • 5905be44a1 php - graph enhancements kanoi 2015-03-17 11:58:40 +1100
  • e083b2ef3e Provide an API based mechanism for deleting proxies on the fly Con Kolivas 2015-03-17 11:35:23 +1100
  • 1d87d5a493 Send connector reject message only if we can't find an active pool after 5 seconds Con Kolivas 2015-03-17 10:55:18 +1100
  • d590869963 Update stratifier to use integers for proxy IDs again Con Kolivas 2015-03-17 10:33:39 +1100
  • 2cee823d6c Allow url to be unique per proxy and subproxy allowing us to not have to recruit a full new parent proxy with a complicated id Con Kolivas 2015-03-17 10:06:52 +1100
  • 92675ab165 php - correct graph base kanoi 2015-03-17 02:07:14 +1100
  • e355d93bed php - add a simple shift perfomance graph kanoi 2015-03-17 01:53:35 +1100
  • bcc5ca1a46 Properly encode error messages in API responses Con Kolivas 2015-03-16 22:47:23 +1100
  • 2122b0f689 Remove use of server_instances by proxies in the generator Con Kolivas 2015-03-16 22:27:22 +1100
  • bba03f97b5 Document error -6 in api ckolivas 2015-03-16 10:19:06 +1100
  • fe269803f2 Send an errormsg key with every response, set to null on success ckolivas 2015-03-16 10:16:37 +1100
  • 80be061c3d Make json encoded errormsgs part of api.c for general use ckolivas 2015-03-16 10:07:26 +1100