Commit Graph

  • 1fe5373c87 Handle early exiting of connector receiver and sender threads Con Kolivas 2014-11-01 16:04:53 +1100
  • d42185a5eb Tidy up receiver loop Con Kolivas 2014-11-01 15:47:02 +1100
  • 0887d993fd Remove parse client msg from accept client Con Kolivas 2014-11-01 12:31:24 +1100
  • 42fc9ca8f6 Rewrite connector receive thread to use epoll and remove associated now unnecessary fd hashtable Con Kolivas 2014-11-01 11:57:39 +1100
  • 9f8237909f Fix apparent dropping of hashrate on restart due to zero last share time Con Kolivas 2014-10-30 20:18:59 +1100
  • 2b77a6957c Add output of sps loaded from user and worker stats Con Kolivas 2014-10-30 17:37:27 +1100
  • f11f957cda Read off worker and user stats from saved logs if they exist Con Kolivas 2014-10-30 17:25:51 +1100
  • 0fa0bbef4d Add 7 day stats to pool and users Con Kolivas 2014-10-30 17:11:12 +1100
  • ad4e959a80 Clamp suggest diff to pool mindiff directive Con Kolivas 2014-10-30 16:21:52 +1100
  • c8627c0d1b Listen with the maximum backlog when we first start for more seamless restarts and then drop to the minimum afterwards to effectively ratelimit new connections Con Kolivas 2014-10-30 14:58:59 +1100
  • f84c0aa2cd Make number of clients we can connect to unlimited Con Kolivas 2014-10-30 14:51:53 +1100
  • 9dae34e3fa Make update_base calls asynchronous to not hold up stratum loop messages and ping miners if we get no base to keep them mining Con Kolivas 2014-10-30 14:34:32 +1100
  • 069e52a302 Add sample configs to distribution Con Kolivas 2014-10-30 13:52:01 +1100
  • 242f30ad56 Document maxclients Con Kolivas 2014-10-30 13:49:17 +1100
  • c0aba3449f Add support for job_id being in the params for get_transactions while maintaining backward support for job_id being embedded in the method. Convert get_txnhashes to using only params for the job_id. Con Kolivas 2014-10-30 12:44:56 +1100
  • d6955d3345 Remove lower limit on suggest-diff since it is usually only set on initial client connect Con Kolivas 2014-10-30 11:38:00 +1100
  • e38a8decc2 klist - missing from commit kanoi 2014-10-30 06:20:49 +1100
  • da595c6856 ckdb - use pointers for sharesummary create/modify fields kanoi 2014-10-30 06:18:43 +1100
  • 1aa886e213 php - api allow empty fields for json conversion kanoi 2014-10-29 18:47:35 +1100
  • cc73b72363 php - allow workers via the API kanoi 2014-10-29 18:12:54 +1100
  • bb4ce3c6d8 php - generate payout txn text on pplns page kanoi 2014-10-29 17:34:47 +1100
  • 08f18a4880 web - reduce index background opacity kanoi 2014-10-29 17:11:04 +1100
  • 848dd0745c ckdb - speed up sharesummary processing kanoi 2014-10-28 22:53:12 +1100
  • a7813011e4 php - socket fix not yet in git kanoi 2014-10-28 22:48:46 +1100
  • dd3a4a121a Revert "Do not overlap writes to unix sockets" ckolivas 2014-10-28 00:41:59 +1100
  • c4ec64929d Revert "Only allow one send_recv_proc at a time" ckolivas 2014-10-28 00:41:49 +1100
  • e5805dac30 Fix warnings ckolivas 2014-10-27 23:59:43 +1100
  • b95ce4070e Replace use of select with poll in *wait_select in libckpool to allow high fds ckolivas 2014-10-27 23:55:39 +1100
  • 9d793945f0 Only allow one send_recv_proc at a time ckolivas 2014-10-27 23:35:16 +1100
  • 6f77624613 Do not overlap writes to unix sockets ckolivas 2014-10-27 23:32:09 +1100
  • 9daa9e62de Add sanity check for invalidated sock in send_unix_msg ckolivas 2014-10-27 23:03:38 +1100
  • 11c04e483c Add sanity check to read size for unix message in libckpool ckolivas 2014-10-27 22:55:42 +1100
  • b1e921a364 Make the stratifier drop a client id if it's still trying to send to a client that no longer exists in the connector ckolivas 2014-10-27 21:46:47 +1100
  • cab3e94ada Allow reconnect to take a :url,port extension to specify where to reconnect to ckolivas 2014-10-26 20:57:03 +1100
  • 620d613d1a Add a maxclients directive that stops accepting clients when there are too many ckolivas 2014-10-26 16:12:31 +1100
  • 7b2de72f54 Cope with calling send_notify before any notify exists by returning no message Con Kolivas 2014-10-21 22:19:20 +1100
  • 17bb17f233 Try sanitising too short nonce2 submissions as well as too long by appending 0s Con Kolivas 2014-10-21 15:30:53 +1100
  • eabc96c5e1 Failure to update subscribe should not be terminal Con Kolivas 2014-10-21 15:03:42 +1100
  • 88471cabc9 Implement support for the more logical positioning of diff within suggest_difficulty parameters instead of the method itself while maintaining support for the original reference documented form Con Kolivas 2014-10-20 22:47:30 +1100
  • af85414019 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-10-19 20:19:36 +1100
  • 4a4e12a7ad Fix nonce2 sanitisation Con Kolivas 2014-10-19 20:19:21 +1100
  • c28784c611 ckdb - add paymentaddresses dump code and fix removal of old ones kanoi 2014-10-19 13:05:55 +1100
  • ef759a70bc php - add direct address validation and allow variable socket timeouts kanoi 2014-10-19 10:28:31 +1100
  • d2119eb0ab php - comment XHs removal kanoi 2014-10-18 23:41:20 +1100
  • b65266e47d php - only show '/' for header user stat if 1hr is present kanoi 2014-10-18 23:39:10 +1100
  • c34b2397db php - fix/unfix input fields as required also kanoi 2014-10-18 23:03:01 +1100
  • c0ccf9b8ec php - encode text where required to avoid messing up the html display kanoi 2014-10-18 22:25:13 +1100
  • 2990e69f58 ckdb - only check blocks confirmed after startup completes kanoi 2014-10-18 00:26:37 +1100
  • 2530c8a028 ckdb - auto flag blocks when mature kanoi 2014-10-17 23:39:51 +1100
  • 4b2448ee47 ckdb - correct/synchronise short/long opts kanoi 2014-10-17 22:59:59 +1100
  • 4749642121 ckdb - add functions for talking to bitcoind - and an orphan check to flag orphans automatically kanoi 2014-10-17 22:21:02 +1100
  • eda428dc7f Handle potentially recoverable errors in accept() to allow us to share the fd in future Con Kolivas 2014-10-16 09:21:41 +1100
  • 7ffe4fbe18 Allow proxying to nonce2 size 3 pools with a warning Con Kolivas 2014-10-16 09:01:14 +1100
  • 71cdbfa560 Create a list of solved blocks, passing the hash to and from the generator to ensure we flag the correct block and workinfo Con Kolivas 2014-10-15 22:28:29 +1100
  • 46dbec0c0f php - missed one extra message change kanoi 2014-10-15 18:48:27 +1100
  • 5217634669 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-10-15 18:09:23 +1100
  • 3d9f055cdc php - more descriptive socket errors and enable the timeout kanoi 2014-10-15 18:06:42 +1100
  • f6df38d975 Retry submitting a block up to 5 times if we fail to get a proper response ckolivas 2014-10-15 17:08:01 +1100
  • 48a693427a libckpool - add errno to some socket write error messages kanoi 2014-10-15 14:59:01 +1100
  • c5f41ba28b ckdb - update version # kanoi 2014-10-15 12:57:01 +1100
  • fa311e0905 ckdb - add a manual confirm option to the blockstatus command kanoi 2014-10-15 12:54:14 +1100
  • 988863f9c5 php - add a worker.php for address miners kanoi 2014-10-10 13:41:50 +1100
  • 7b46de8d53 Fix more thinkos ckolivas 2014-10-09 11:07:07 +1100
  • 7edc80324c Fix thinko ckolivas 2014-10-09 11:02:39 +1100
  • d1b095d1af Fix typo ckolivas 2014-10-09 11:01:43 +1100
  • 676bb887bb Rework the poll loop to be cleaner and more efficient ckolivas 2014-10-09 10:59:30 +1100
  • c2f41157e9 php - require a site unique index function kanoi 2014-10-08 11:31:23 +1100
  • 154d154a6a php - add an address stats page kanoi 2014-10-08 10:26:51 +1100
  • 9fa8ce4585 php - restore missing / in users stats in the header kanoi 2014-10-08 09:42:05 +1100
  • dc2229fe7e Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-10-08 00:29:51 +1100
  • 1176d71211 Decrease the loglevel of failing to find workers' diff to set Con Kolivas 2014-10-08 00:29:38 +1100
  • 361683ef88 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool kanoi 2014-10-08 00:28:56 +1100
  • 7fae30b431 php - socket read should allow partial - plus set a 1s timeout kanoi 2014-10-08 00:28:30 +1100
  • 86fa46069c Rework the handover mechanism to make the old client reject further clients, then send a reconnect, then shutdown and wait before killing it Con Kolivas 2014-10-08 00:14:00 +1100
  • 5532de0f1b Implement a stratum reconnect function Con Kolivas 2014-10-07 23:47:36 +1100
  • e69db64eb0 Add commands to reject and accept further connections Con Kolivas 2014-10-07 23:38:54 +1100
  • a46778a54e Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-10-07 22:48:37 +1100
  • a33dfd066a There is no need to place the clamp on lowering diff with suggest_diff since it is predomoninantly used at miner startup and we can rapidly adapt should it be too low anyway Con Kolivas 2014-10-07 22:48:17 +1100
  • 7d59f98624 stratifier - process the heartbeat json kanoi 2014-10-07 17:23:06 +1100
  • ce49ea21ce Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-10-07 16:45:35 +1100
  • c8a330dbd8 We should be doing a cmdmatch not a full string match for heartbeat commands Con Kolivas 2014-10-07 16:45:18 +1100
  • 3e972d7396 ckdb - disallow similar usernames due to case, and/or leading/trailing white space kanoi 2014-10-07 16:28:30 +1100
  • 4d69bd2423 Wrong test on result_val Con Kolivas 2014-10-07 15:56:04 +1100
  • e8179cd951 Drop log level for failed auth json decode failure Con Kolivas 2014-10-07 15:53:04 +1100
  • 90ecaf33e7 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-10-07 15:52:15 +1100
  • dd187da977 Add the server accept to the receiver's poll function, eliminating the need for short polls and one extra thread Con Kolivas 2014-10-07 15:52:00 +1100
  • d0bad02a01 php - truncate btc usernames in the page header kanoi 2014-10-07 15:31:18 +1100
  • fcfc06e77b More logic fail Con Kolivas 2014-10-07 15:09:20 +1100
  • d9e65a6936 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2014-10-07 15:05:18 +1100
  • 5fd152c370 Reverse logic Con Kolivas 2014-10-07 15:05:06 +1100
  • 24a3ff3eaf php - correct worker management diff wording kanoi 2014-10-07 14:32:26 +1100
  • f3254ea170 Check for addrauth as well in send_recv_auth Con Kolivas 2014-10-07 14:18:53 +1100
  • b7405adf48 correct password success message on a missing user kanoi 2014-10-07 13:34:04 +1100
  • 574d028d95 Parse the ckdb heartbeat response for setting worker mindiff Con Kolivas 2014-10-07 13:17:56 +1100
  • 351545f1ab ckdb - auth json reply should be authorise kanoi 2014-10-07 11:55:30 +1100
  • 64ff56cb63 ckdb - reply to heartbeat with web diff change info kanoi 2014-10-07 11:54:01 +1100
  • 6a72525b8b Search for authorise in response instead of auth to match query Con Kolivas 2014-10-07 10:55:41 +1100
  • 27ac4e23ef Parse the difficultydefault entry returned from authorise Con Kolivas 2014-10-07 10:54:26 +1100
  • 3288b15622 Parse new auth command from ckdb Con Kolivas 2014-10-07 10:29:59 +1100
  • e41d550b6f ckdb - auth return json with both secuserid and diff kanoi 2014-10-07 02:26:55 +1100