Commit Graph

  • 788918460e Make api responses use a common function in api.c ckolivas 2015-03-16 10:02:55 +1100
  • 9dabedde7d Encode error message in failed API responses Con Kolivas 2015-03-15 21:39:54 +1100
  • 24762bf576 Provide means for adding proxies to the global list Con Kolivas 2015-03-15 20:40:15 +1100
  • 5a6b1ee717 Add an API command to return the subproxy list by proxy id Con Kolivas 2015-03-15 19:15:12 +1100
  • 78af906c14 Add command proxy.list to get a list of current proxies, ensuring we return valid json Con Kolivas 2015-03-15 17:37:02 +1100
  • 5c7059492a Make add_proxy a separate function Con Kolivas 2015-03-15 16:52:39 +1100
  • c313346a81 Document basic API command structure format Con Kolivas 2015-03-15 15:56:28 +1100
  • 490cd0dd35 Add params to output sent to processes Con Kolivas 2015-03-15 15:51:20 +1100
  • b1daa219d0 Create basic send/recv mechanism for receiving messages via the API and passing them onto other processes Con Kolivas 2015-03-15 15:33:51 +1100
  • a6682d96bc Look preferentially for stratum messages in the proxy loop Con Kolivas 2015-03-15 10:03:53 +1100
  • f6d87f1569 Create a basic handler of json messages on the listener unix socket as RPC API commands with a ckmsgq Con Kolivas 2015-03-15 09:50:12 +1100
  • 1e68c2d602 ckdb/php - pass statsconfirmed to php to flag estimate stats kanoi 2015-03-14 14:10:54 +1100
  • 28e549d599 Merge branch 'master' into multiproxy Con Kolivas 2015-03-14 13:56:56 +1100
  • b780dc0061 Demote message verbosity for no auth response when we know ckdb is offline Con Kolivas 2015-03-14 10:56:11 +1100
  • 4be7c15484 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2015-03-13 22:46:53 +1100
  • 8091b77c7c Allow arbitrary length responses from ckdb in send_recv_auth to allow for hundreds of workers Con Kolivas 2015-03-13 22:46:41 +1100
  • f2d80c7e95 php - more constructive ckdb restart message kanoi 2015-03-13 22:39:06 +1100
  • 4f327ee6ed ckdb - switch_state to allow code upgrades while running kanoi 2015-03-13 20:58:20 +1100
  • 966b9b7326 ckdb - pass all worker diffs back to auth requests kanoi 2015-03-13 15:52:08 +1100
  • afc2b8f802 Merge branch 'master' into multiproxy Con Kolivas 2015-03-13 12:47:27 +1100
  • f6abc404d5 Change parsing of ckdb response, expecting an array of workers Con Kolivas 2015-03-13 12:15:35 +1100
  • dda8187e49 Create workers if they don't already exist when set_worker_mindiff is called Con Kolivas 2015-03-13 11:51:08 +1100
  • 03149c1354 Create the user if it doesn't already exist in set_worker_mindiff Con Kolivas 2015-03-13 11:27:46 +1100
  • 0900b5d5c5 Check for no user in __drop_client Con Kolivas 2015-03-13 09:36:53 +1100
  • 8916a8e1d5 Pick up the client address as soon as we generate the stratum instance to avoid passing it round repeatedly with messages Con Kolivas 2015-03-12 23:45:34 +1100
  • 5261837b8f Add information about throttled clients, showing only when they're first throttled Con Kolivas 2015-03-12 23:16:13 +1100
  • cb3960be50 Add client drop message before we delete structures Con Kolivas 2015-03-12 23:05:02 +1100
  • 93eb641d21 Rate limit auth backoff message Con Kolivas 2015-03-12 22:54:19 +1100
  • 7959e72520 Add client IP address to notifications Con Kolivas 2015-03-12 22:44:22 +1100
  • b92062d6ea Add IP address to client drop message Con Kolivas 2015-03-12 22:36:28 +1100
  • 1880eeb79a Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2015-03-12 22:28:17 +1100
  • b7e9291fc5 Add more info to client drop messages using notice_msg_entries Con Kolivas 2015-03-12 22:27:36 +1100
  • 8b434661d7 Add more verbose information to drop client messages using add_msg_entry Con Kolivas 2015-03-12 22:18:52 +1100
  • d4cd88ac58 Add helper functions for storing messages to be dumped outside of other locks Con Kolivas 2015-02-28 11:53:48 +1100
  • 0c61ed1c09 Make worker count more robust by using the same locking for stats Con Kolivas 2015-03-12 21:59:37 +1100
  • 9706b52965 Recycle used client structs instead of freeing them Con Kolivas 2015-03-12 21:40:24 +1100
  • 431234a3d6 Remove option of using precarious intermediate variants of cklocks Con Kolivas 2015-03-12 21:14:28 +1100
  • 4c97df787d Remove use of upgradeable locks in connector Con Kolivas 2015-03-12 21:13:47 +1100
  • 92dacd8513 Avoid cute locking Con Kolivas 2015-03-12 21:10:24 +1100
  • 7283af34e5 php - add a login failure message kanoi 2015-03-12 18:47:27 +1100
  • 09a5de8e2c ckdb - correct orphan diff redistribution kanoi 2015-03-12 16:24:07 +1100
  • 8e324f0ba5 ckdb - add message spacing kanoi 2015-03-11 23:26:23 +1100
  • 0e27bd2d47 php - correct shift php kanoi 2015-03-11 23:13:39 +1100
  • c754f1b06d ckdb/php - add block B marks after the shift php shift names kanoi 2015-03-11 21:48:08 +1100
  • deda01d758 ckdb - allow payouts to be orphaned kanoi 2015-03-11 20:44:58 +1100
  • 951f9019a9 ckdb/php - more block statistics kanoi 2015-03-11 18:38:32 +1100
  • 663ecf7854 php - add descriptions to payments and mpayouts kanoi 2015-03-05 19:07:56 +1100
  • ca25f65e85 php - rename 'MPayouts' to 'Rewards' and add a total kanoi 2015-03-05 18:53:31 +1100
  • 992fd54b9d Choose best proxy when there is any adequately sized subproxy matching the current one Con Kolivas 2015-03-04 21:24:37 +1100
  • 9a4056ddad ckdb - add the block diff to block messages kanoi 2015-03-03 00:01:37 +1100
  • c58936d209 php - wording changes kanoi 2015-03-02 16:17:24 +1100
  • 380b2977b3 php - span classes for home highlighting kanoi 2015-03-02 16:11:43 +1100
  • 89461a37f2 php - adjust mining payouts display kanoi 2015-03-02 11:04:14 +1100
  • b5ee57a620 php - add new (missing) mining payouts php kanoi 2015-03-02 09:11:32 +1100
  • 924e52b435 ckdb/php - user shift report page kanoi 2015-03-02 08:50:20 +1100
  • b1e72ea7f3 ckdd/php - MPayouts - mining payouts kanoi 2015-03-01 23:01:25 +1100
  • 23033b0ff1 ckdb - separate valid and invalid last_share/last_share_inv kanoi 2015-03-01 20:59:28 +1100
  • 5cfc169108 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2015-03-01 20:07:54 +1100
  • 939c17cd87 ckdb/php - a useful payments page kanoi 2015-03-01 20:03:39 +1100
  • 75cc43664a Use the msg entry helpers for proxy logging Con Kolivas 2015-02-28 12:06:11 +1100
  • 343e5922e7 Use the message entry helper functions for user stats logging Con Kolivas 2015-02-28 11:58:32 +1100
  • 1479303138 Add helper functions for storing messages to be dumped outside of other locks Con Kolivas 2015-02-28 11:53:48 +1100
  • ca8ed9ad2f Merge branch 'master' into multiproxy Con Kolivas 2015-02-28 11:45:59 +1100
  • 167b2dce2d Merge branch 'master' into proxydev Con Kolivas 2015-02-28 11:43:33 +1100
  • 5dda39dc11 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2015-02-27 21:12:19 +1100
  • 1b077f2a05 Log to files outside of instance lock Con Kolivas 2015-02-27 21:09:31 +1100
  • ca5c7da81b Provide helper functions for storing log text and their associated filenames to be written to in unlocked code Con Kolivas 2015-02-27 20:39:00 +1100
  • 3047ee5c8f Use the more generic ckmsg_t for the json_lists Con Kolivas 2015-02-27 20:18:42 +1100
  • 122d6f38ba ckdb - correct tv_end for pplns2 block kanoi 2015-02-27 16:34:45 +1100
  • 59e7d2b7bc ckdb - pplns2 include the trailing shares in the tv_end check kanoi 2015-02-27 16:33:29 +1100
  • e30cc81cad ckdb/php - add extra pplns2 epoch information like pplns kanoi 2015-02-27 14:10:23 +1100
  • 5afedffc5a ckdb - store missing diffacc in addressuser payments kanoi 2015-02-27 13:10:07 +1100
  • ede3139843 Add proxy statistics to logging Con Kolivas 2015-02-27 12:36:32 +1100
  • d80393930d Store a count of the number of subproxies per proxy Con Kolivas 2015-02-27 11:58:42 +1100
  • cda0724c6d ckdb - ∞ loops are bad kanoi 2015-02-27 11:56:32 +1100
  • 64f4abd302 Count combined clients per parent proxy Con Kolivas 2015-02-27 11:53:43 +1100
  • d1c720d101 Merge branch 'multiproxy' of bitbucket.org:ckolivas/ckpool-multiproxy into multiproxy Con Kolivas 2015-02-27 11:39:32 +1100
  • 45e80f09ff Send a blank sessionid in proxy mode so clients don't think we have resumed if enonce1 ends up matching on reconnect Con Kolivas 2015-02-27 11:39:12 +1100
  • c451119f25 ckdb - correct status order in cmd_payouts message kanoi 2015-02-27 00:27:35 +1100
  • 1380acddfb ckdb - cmd_payouts for setting up old payouts kanoi 2015-02-27 00:06:46 +1100
  • 221d0df3b4 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2015-02-26 16:08:25 +1100
  • 2035db91b6 ckdb/php/sql - db storage of payout details and calculations kanoi 2015-02-26 16:07:29 +1100
  • d5dedfe4a9 Demote discarded message ckolivas 2015-02-26 15:01:30 +1100
  • 0a4ce58b3f Dramatically simplify the setting of enonce1 to just an LE encoded 64 bit ckolivas 2015-02-26 13:11:20 +1100
  • 7ca5f9688f Use the same enonce1u across all proxies to avoid clients thinking they have resumed with the same sessionid and enonce1u ckolivas 2015-02-26 09:34:56 +1100
  • 8cd36b225b We must flag all clients to switch on a deadproxy regardless of whether there is room on the current proxy or not Con Kolivas 2015-02-26 00:02:34 +1100
  • 656da05f83 Add proxy info to client auth message Con Kolivas 2015-02-25 23:56:21 +1100
  • c28a8fa202 Avoid any attempt at using sessionid in proxy mode Con Kolivas 2015-02-25 23:48:16 +1100
  • 955e413bea Issue reconnect when an upstream pool recovers Con Kolivas 2015-02-25 23:33:39 +1100
  • b8fb469e07 Display correct subproxy details in proxysend notice and check for valid values Con Kolivas 2015-02-25 23:29:56 +1100
  • aa7c479c03 Cope with null message in send_proc ckolivas 2015-02-25 15:08:41 +1100
  • 5688225711 Reconnect generator after a parent proxy has died or it has received its first notify only Con Kolivas 2015-02-25 21:44:17 +1100
  • 523f7236ef Break out of both loops on reconnect issue Con Kolivas 2015-02-25 21:23:13 +1100
  • 13546f54bb Close all fds in disable_subproxy, including the parent proxy Con Kolivas 2015-02-25 21:10:26 +1100
  • a7252c83d5 Limit reconnects sent concurrently Con Kolivas 2015-02-25 20:51:08 +1100
  • 8231c53592 Don't set up a new parent if a reconnect is to the same URL Con Kolivas 2015-02-25 19:51:07 +1100
  • ecc4482b79 Test for dropped clients before not authorised ones Con Kolivas 2015-02-25 19:42:17 +1100
  • 794770422d Count effective number recruited and subtract that from the recruit requests count Con Kolivas 2015-02-25 18:10:14 +1100
  • 01c00ed3c2 Too much recruiting ckolivas 2015-02-25 16:16:34 +1100
  • 93a1414e29 Explicitly check for HUP in proxy_recv, avoiding an attempt at reading a line ckolivas 2015-02-25 15:53:29 +1100