Commit Graph

  • 85112ebce9 Flag a proxy as not alive when we are unable to send to it in passthrough mode Con Kolivas 2015-12-27 23:21:57 +1100
  • 2eaeb2a96c Don't keep storing shares in redirector mode after we've attempted to redirect the client Con Kolivas 2015-12-27 14:36:56 +1100
  • c437d3283b Only try to redirect clients once in redirector mode, acting as a regular passthrough thereafter ckolivas 2015-12-27 08:38:52 +1100
  • 45a44ace7e Fix passthrough/redirector trying to grab semaphore twice ckolivas 2015-12-27 08:29:44 +1100
  • bc1e08cd01 ckdb - remove duplicate case code for socket data kanoi 2015-12-25 08:36:20 +1100
  • 1c0f55c06d ckdb - ensure the listener queues can empty kanoi 2015-12-24 19:24:14 +1100
  • 511d8b73a4 ckdb - itemise the sync values in 'homepage' kanoi 2015-12-24 13:33:14 +1100
  • de3be722cd ckdb - separate socket data processing kanoi 2015-12-24 06:53:03 +1100
  • 297e1c1754 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2015-12-21 15:28:05 +1100
  • e6469e64c4 ckdb - fix recalculation of displayed reward for a shift kanoi 2015-12-21 15:26:42 +1100
  • 98cd4005dc ckdb - comment ktree find before and after kanoi 2015-12-21 12:33:13 +1100
  • e1d6f62d3e Name ckpassthrough if no name is given Con Kolivas 2015-12-20 11:43:23 +1100
  • a31e2555b4 ckdb - add a missing lock kanoi 2015-12-19 12:38:18 +1100
  • b6ceb9b484 Fix userproxies not having their semaphores initialised and avoid trying to process epoll responses from proxies not marked alive Con Kolivas 2015-12-19 11:48:22 +1100
  • 1e2e5bab7d Add semaphores for subproxies Con Kolivas 2015-12-18 21:44:55 +1100
  • 0574a54554 Don't disable parent proxies in disable_subproxy for failover to work Con Kolivas 2015-12-18 19:10:39 +1100
  • 8ef853b8fc Use the proxy connsock semaphore to serialise uses of the cs->buf to prevent races Con Kolivas 2015-12-18 18:26:34 +1100
  • 012d94dd35 Add reconnect sends to alive bool changing on proxy conditions to try and fail over/back Con Kolivas 2015-12-18 18:12:10 +1100
  • 6f842fc2d8 Cope with proxy auths that have no password Con Kolivas 2015-12-18 17:52:17 +1100
  • 1c92bebc62 Merge branch 'master' into multiproxy ckolivas 2015-12-18 17:15:22 +1100
  • 96f055486c We should serialise calls to GBT, not just update_base Con Kolivas 2015-12-18 08:05:17 +1100
  • 0d9d3f78b5 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2015-12-17 23:37:13 +1100
  • cab637c9b1 Use epoll for wait_write_select Con Kolivas 2015-12-17 23:30:58 +1100
  • d2d5a5daaa Don't use persistent connections to bitcoind Con Kolivas 2015-12-17 23:26:40 +1100
  • 83dbc9db12 Use epoll for wait_read_select Con Kolivas 2015-12-16 22:56:31 +1100
  • 27ef0b4257 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2015-12-17 14:41:58 +1100
  • a15279105f php - label the shift graph 5Nd reward kanoi 2015-12-17 14:41:19 +1100
  • fa4eba720b Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2015-12-16 23:51:30 +1100
  • 11537481fd Fail gracefully after 5 unsuccessful attempts to update_base Con Kolivas 2015-12-16 23:50:52 +1100
  • 92f7d8ce38 php - correct hour overflow calculation in howmanyhrs kanoi 2015-12-16 19:52:05 +1100
  • 3ae73463fe php - payout help number formatting kanoi 2015-12-16 12:25:39 +1100
  • 9e4d95a7e2 php - add more explanation to the payout details kanoi 2015-12-16 12:12:53 +1100
  • 06bdd7fa6a Silence lack of current workbase warning in proxy mode since it happens till there is a proxy workbase to work with Con Kolivas 2015-12-15 15:13:50 +1100
  • 7280596f7e Merge branch 'master' into multiproxy Con Kolivas 2015-12-15 14:34:13 +1100
  • c7794a3d80 Retry getbase after a failure up to 5 times or indefinitely if a block change has been identified Con Kolivas 2015-12-15 12:27:42 +1100
  • edd79bd8fa Elaborate which bitcoind has failed responses Con Kolivas 2015-12-15 12:17:58 +1100
  • 432d1ce4d5 Don't treat POLLRDHUP as fatal unless we can't receive data after it, and return errors from wait_select functions when they close the socket Con Kolivas 2015-12-15 12:04:33 +1100
  • c645a6fc69 Make the server watchdog a standalone thread that doesn't need messaging Con Kolivas 2015-12-15 10:53:32 +1100
  • fba82db0f9 Typo Con Kolivas 2015-12-15 09:24:52 +1100
  • 61b25e4ac4 Add information about whether the attempt to reopen a socket was successful or not Con Kolivas 2015-12-15 09:13:17 +1100
  • b5ea946ef4 Output generator started message as soon as we have the first live server Con Kolivas 2015-12-15 08:42:57 +1100
  • 941021647c Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2015-12-15 08:34:29 +1100
  • 7ce2afae83 Try to reopen any closed sockets in json_rpc_call Con Kolivas 2015-12-15 08:32:50 +1100
  • dc6fe33583 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2015-12-14 23:47:01 +1100
  • 26b2123891 php - show a light red highlight under the last 5Nd payout on the shift graph kanoi 2015-12-14 23:46:37 +1100
  • b585890953 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2015-12-14 23:36:14 +1100
  • b622a6ec8d Check for errors in wait_read_select, closing the socket if they occur, and add a variant for non-unix sockets that checks for hangups as well Con Kolivas 2015-12-14 23:22:16 +1100
  • 6ff89b31a2 Check server fd is still valid as well as having its alive flag set Con Kolivas 2015-12-14 22:08:48 +1100
  • bfbe3a1039 Don't block on dead servers if possible when calling server_alive from the gen_loop Con Kolivas 2015-12-14 22:07:22 +1100
  • 87da400f25 php - add an optional function passed to the graphic script to allow custom effects kanoi 2015-12-14 18:13:56 +1100
  • 3fc984d7fe Demote message Con Kolivas 2015-12-14 17:58:38 +1100
  • 6068e2c3e9 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2015-12-14 17:35:16 +1100
  • 8c474c1784 Support low diffs like those on testnet Con Kolivas 2015-12-14 17:34:48 +1100
  • c1f812effc Fix extremely unlikely race on fd being accessed before it is set to -1 on closing Con Kolivas 2015-12-14 16:10:46 +1100
  • 7f7b1065c1 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2015-12-14 15:29:42 +1100
  • 2365e4f14c php - workers: abbreviate the headers for invalids to reduce the table width kanoi 2015-12-14 15:27:51 +1100
  • 516a708aad Fix bitcoind failover not working and keep connections open for faster switching in case of failure Con Kolivas 2015-12-14 15:14:56 +1100
  • fa4ab34a9e Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2015-12-14 14:32:50 +1100
  • 4aa73e29f8 Use the cs->fd handle directy in case it gets invalidated while we're waiting for a socket line Con Kolivas 2015-12-14 14:28:29 +1100
  • b4cc6b6d01 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2015-12-14 14:15:57 +1100
  • 3059afdf33 ckdb - allow setting a history limit on markersummary with -M kanoi 2015-12-14 14:15:16 +1100
  • 622ff4b409 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2015-12-14 13:00:30 +1100
  • 853bed8281 Serialise all json_rpc_calls and responses Con Kolivas 2015-12-14 12:59:49 +1100
  • 977d43e7a2 php - include full worker invalid details (hidden by default) kanoi 2015-12-14 12:41:36 +1100
  • 5a3183cf04 Fix timeout in read_socket_line inappropriately running out Con Kolivas 2015-12-14 10:21:08 +1100
  • 0d588462aa Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2015-12-14 10:05:22 +1100
  • cc9c70373e Send diff first when when sending the first stratum template after subscribing Con Kolivas 2015-12-14 10:05:00 +1100
  • f6e9f49e1a Showing each notify is too verbose for regular logging Con Kolivas 2015-12-14 09:52:23 +1100
  • 67f6e0f558 Document userproxy mode Con Kolivas 2015-12-14 09:45:06 +1100
  • 914be773e6 Detect old session clients with an empty array in proxy mode as well Con Kolivas 2015-12-13 23:23:31 +1100
  • f54891fae8 Try both userid and userip to detect disconnected clients Con Kolivas 2015-12-13 23:06:12 +1100
  • 35d795bb15 Try to match by IP address if clients don't support sessionid on reconnect Con Kolivas 2015-12-13 22:55:41 +1100
  • 4281828167 Fix typo dropping userproxies and simplify reconnects to just on notify Con Kolivas 2015-12-13 01:51:58 +1100
  • c90e46a4f7 Don't read from unauthorised proxies in uproxyrecv Con Kolivas 2015-12-13 01:07:32 +1100
  • 542c4f457b Remove epoll entry when closing socket to reconnect in connect_proxy Con Kolivas 2015-12-13 01:03:11 +1100
  • 0395403f9b Allow null message to be passed to parse_method Con Kolivas 2015-12-12 23:53:23 +1100
  • 1c5b8ae516 Reconnect all clients of a certain user when adding a userproxy in userproxy mode Con Kolivas 2015-12-12 23:21:54 +1100
  • 96d6707511 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2015-12-12 22:46:17 +1100
  • c7ae476538 ckdb - fix some more locking anomalies kanoi 2015-12-12 22:45:54 +1100
  • b7944bd27a ckdb - marks action=pps to recalc the ram pps values for a shift kanoi 2015-12-12 22:17:35 +1100
  • 88e20dd111 Add a userproxy mode that connects to the same upstream pool according to the username supplied by clients connecting to the proxy Con Kolivas 2015-12-12 14:45:51 +1100
  • 56d552119a Merge branch 'master' into multiproxy Con Kolivas 2015-12-12 10:21:16 +1100
  • 02035ee74c Decrease the tolerance for attempted block submission to within 0.1% Con Kolivas 2015-12-10 17:01:11 +1100
  • 8475cebb60 Seralise calls to update_base to avoid races on determining which workinfo is supposed to send the clean, and delay further updates Con Kolivas 2015-12-10 16:59:59 +1100
  • 304f6f0937 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2015-12-10 10:46:17 +1100
  • ae1d659832 Remove throttled flag once user is authorised Con Kolivas 2015-12-10 10:46:00 +1100
  • 035c2b21c6 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2015-12-10 01:44:35 +1100
  • 3e112c73e3 ckdb - allow an empty merkle since it is possible for bitcoind to return one kanoi 2015-12-10 01:43:47 +1100
  • b63b213c8b send_recv_proc failing is non-fatal so convert send_proc to being non-fatal as well Con Kolivas 2015-12-10 01:01:32 +1100
  • d72afa7e4f ckdb - payout address search must be locked kanoi 2015-12-08 22:00:47 +1100
  • b5cdf0974e ckdb - remove the lock warning when using exclusive access to the transfer tree kanoi 2015-12-08 21:40:01 +1100
  • 2b03be2af7 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2015-12-06 00:13:49 +1100
  • f5198d027e ckdb - remove useless compiler warning kanoi 2015-12-06 00:12:42 +1100
  • abf38eea03 Fix reading of workerstats for 1hr ckolivas 2015-12-05 23:55:09 +1100
  • b9a1d074d3 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2015-12-05 19:27:52 +1100
  • c15afd9982 php - payments: mention the current dust limitation kanoi 2015-12-05 19:26:33 +1100
  • dbcd45305a php - typo in payout help kanoi 2015-12-05 19:25:21 +1100
  • c7f03c2a33 ckdb - add lock checking and deadlock prediction kanoi 2015-12-05 19:24:40 +1100
  • 0635c75560 Keep significant digits constant on displayed hashrate Con Kolivas 2015-11-27 14:30:49 +1100
  • b062a8e29a Add basic stats to console throbber line Con Kolivas 2015-11-26 14:37:53 +1100