Commit Graph

  • debaa03d9d Simply encode/decode binary keys correctly in messages for now Con Kolivas 2016-01-26 18:33:15 +1100
  • a743d307cf Add a function for sending binary data to another process Con Kolivas 2016-01-26 17:02:35 +1100
  • cc6ac1475f Allow binary data of user defined length to be sent via a send_unix function Con Kolivas 2016-01-26 16:57:54 +1100
  • 7ad63b09e2 Pass unix message length with unix_recv Con Kolivas 2016-01-26 16:25:35 +1100
  • 69b8785ef9 Merge branch 'master' into bkey Con Kolivas 2016-01-26 16:03:42 +1100
  • 8ed4011247 Fix heap overflow Con Kolivas 2016-01-25 21:37:13 +1100
  • e77a6adc01 Allow large messages on trusted remote clients Con Kolivas 2016-01-25 19:02:21 +1100
  • 74ed7186f8 Revert "Allow large messages on trusted remote clients" Con Kolivas 2016-01-25 19:10:40 +1100
  • 438b7c5831 Allow large messages on trusted remote clients Con Kolivas 2016-01-25 19:02:21 +1100
  • 901fd3b1cf Use ping/pongs to determine if upstream pool is still alive Con Kolivas 2016-01-25 14:20:07 +1100
  • ba1d832813 Listen for upstream messages and submit blocks locally Con Kolivas 2016-01-25 13:54:56 +1100
  • 74352a0e32 Up and downstream submitblocks in trusted remote mode Con Kolivas 2016-01-25 13:29:25 +1100
  • da636b26df Bkey add WIP Con Kolivas 2016-01-25 11:47:38 +1100
  • bace2d9f9a Fix thinko Con Kolivas 2016-01-25 10:57:47 +1100
  • dc8da6a91c Add function to extract bkey length Con Kolivas 2016-01-25 10:39:49 +1100
  • 84ff032b0e Add a header to bkey structures Con Kolivas 2016-01-25 10:36:20 +1100
  • e4b9493037 Fixed style in error msg Carles Tubio 2016-01-24 23:32:15 +0000
  • 21aa6b3769 Missing EOL on dropclient message to passthroughs Con Kolivas 2016-01-25 10:17:15 +1100
  • 2007ca59c0 Missing EOL on dropclient message to passthroughs Con Kolivas 2016-01-25 10:17:15 +1100
  • 485b9e1076 Create binary key objects from key:hexdata pairs ckolivas 2016-01-25 08:50:22 +1100
  • e453303e1b php - add info for apps to check device time kanoi 2016-01-22 20:19:59 +1100
  • 4fd9ee5eda Fix user stats not updating in node mode Con Kolivas 2016-01-21 12:39:27 +1100
  • 730b224db0 Only use upstream auth result to deauthorise clients when needed in node mode Con Kolivas 2016-01-21 11:26:38 +1100
  • 7aab982dc4 Don't generate share error json in standalone mode since it won't be used ckolivas 2016-01-21 02:40:58 +1100
  • eb8f3ab5dd Filter node, passthrough and trusted remote requests to proxies ckolivas 2016-01-20 23:53:36 +1100
  • 4669be12ad Make json_set_string UTF8 safe ckolivas 2016-01-20 23:49:14 +1100
  • 785cccc800 Bump version to 0.9.1 Con Kolivas 2016-01-19 16:06:11 +1100
  • 84c6f0f900 Read off the max open file limits and clamp max clients to 90% of it Con Kolivas 2016-01-19 16:04:36 +1100
  • 01435767af Store client sendbufsize to avoid setting it again later to a smaller value unwittingly Con Kolivas 2016-01-19 13:24:39 +1100
  • 12d7928bd0 Postpone sending workinfo till after client updates are sent Con Kolivas 2016-01-19 11:09:15 +1100
  • 24a9e9eb91 Set large send and receive buffers for passthrough clients Con Kolivas 2016-01-19 10:04:27 +1100
  • acd866dd27 Set large receive buffers for trusted remote servers Con Kolivas 2016-01-19 10:02:28 +1100
  • e0b6e0cc60 Set large send buffers for trusted remotes Con Kolivas 2016-01-19 09:59:32 +1100
  • 9f23616dfc Generically set send/recv buffers larger on passthroughs Con Kolivas 2016-01-19 09:56:49 +1100
  • a6cc0bd90c Provide helper functions for setting buffer sizes on any socket fds Con Kolivas 2016-01-19 09:28:14 +1100
  • 39f542fac9 Increase send buffer size when possible to nodes to accommodate large messages Con Kolivas 2016-01-17 17:00:03 +1100
  • f2ae887a62 Fix initial rcvbufsiz detection Con Kolivas 2016-01-17 16:50:32 +1100
  • a3534c11e8 Make node workinfo messages append instead of prepend to not arrive before node blocks Con Kolivas 2016-01-17 16:27:24 +1100
  • bd70c7b276 Free smsg in constant place in srecv_process Con Kolivas 2016-01-17 16:23:51 +1100
  • e5348ad6f2 Improve block messages Con Kolivas 2016-01-17 15:54:36 +1100
  • c5cdb6c9d6 Prioritise ordering of bulk sends for blocks and workinfo, fixing stats of message counts Con Kolivas 2016-01-17 12:10:04 +1100
  • 1a003db4be Increase receive buffer size whenever possible to beyond largest message size Con Kolivas 2016-01-17 08:37:13 +1100
  • 4eed1715c3 Fix logic fail Con Kolivas 2016-01-17 08:03:09 +1100
  • f78fe91cef Only ever increase buffer size in add_buflen Con Kolivas 2016-01-17 07:54:13 +1100
  • 297e8a83d5 Typo Con Kolivas 2016-01-16 23:18:51 +1100
  • 64e74c71f8 Further simplify recv_available Con Kolivas 2016-01-16 23:15:07 +1100
  • 96e6f83d57 Allow non EOL data to be stored in read_socket_line Con Kolivas 2016-01-16 22:51:49 +1100
  • dd45a95dc5 Decrease timeout for passthrough_recv and handle incomplete line gracefully Con Kolivas 2016-01-16 20:59:35 +1100
  • 360fdf967f Always read all pending data in read_socket_line Con Kolivas 2016-01-16 20:55:06 +1100
  • debeccf08c Set cs->ckp in setup_servers Con Kolivas 2016-01-16 20:51:32 +1100
  • 93adf51c0d Rename add_bufline to add_buflen since it's not a line being added Con Kolivas 2016-01-16 18:39:02 +1100
  • aa57272fb4 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2016-01-15 07:58:33 +1100
  • 84a22b6d4f Don't send blocks to the remote node where they were found. Con Kolivas 2016-01-15 07:58:01 +1100
  • d2bd3e536c ckdb - use ckpool instances kanoi 2016-01-14 13:03:25 +1100
  • 2d60bd2dce Reversed calculation ckolivas 2016-01-14 10:42:43 +1100
  • e2400fe2b0 Accept shares if they're received on remote nodes before the workbase was retired ckolivas 2016-01-14 10:25:31 +1100
  • e800f104ee Make node passthrough clients inherit their passthrough node latency ckolivas 2016-01-14 10:02:09 +1100
  • 1ce7fd9c10 Specify milliseconds in log ckolivas 2016-01-14 09:53:54 +1100
  • 47fcb0f671 Measure latency as half the round trip when adding mining nodes ckolivas 2016-01-14 09:23:45 +1100
  • ff5ffcf85c Add a helper function for determining round trip time to a resolved URL ckolivas 2016-01-14 09:11:00 +1100
  • f6f4626191 Add comment about recursive lock ckolivas 2016-01-14 09:01:59 +1100
  • 27b500ccde Merged in ctubio/ckpool-1/ctubio/fixed-typo-1452558734887 (pull request #2) TheKano 2016-01-13 23:39:10 +1100
  • 43a1a2076b Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2016-01-13 23:31:52 +1100
  • efa634b9e1 Send block information to remote nodes to allow them to submit to their own local bitcoind Con Kolivas 2016-01-13 23:29:14 +1100
  • 7b887e9ac6 Add mechanism for parsing received block messages from the main pool at remote nodes to submit them locally Con Kolivas 2016-01-13 22:52:10 +1100
  • 47dd2e1e60 php - add the calculated pool hash rate to the ppln2 output kanoi 2016-01-13 21:29:02 +1100
  • 8dfc0b8e44 Abstract out share diff / hash calculation for reuse Con Kolivas 2016-01-13 18:23:52 +1100
  • 92ad3c76cd Don't try to passthrough_send messages to dead proxies or sockets ckolivas 2016-01-13 15:24:20 +1100
  • dc7e0ebbc9 Send client instance count per worker to ckdb Con Kolivas 2016-01-12 16:19:29 +1100
  • cdc7497a28 Add instance counter to worker data Con Kolivas 2016-01-12 16:18:28 +1100
  • ce635350bb Fixed typo. Carles Tubio 2016-01-12 00:32:16 +0000
  • cf0f452b8a We already check redirector shares for the mining.submit method Con Kolivas 2016-01-11 13:08:46 +1100
  • 38b09e0f95 Can get invalid json from upstream server when responding to invalid json from client Con Kolivas 2016-01-11 12:08:09 +1100
  • 316a25e64c Uninitialised variable was leading to reloading of stats Con Kolivas 2016-01-10 13:43:53 +1100
  • 00fec60e3c Check if realtime library is required Con Kolivas 2016-01-10 12:48:25 +1100
  • 50d83355d0 Add buffer overflow protection to upstreaming messages and simplify best share broadcasts Con Kolivas 2016-01-10 12:02:56 +1100
  • 97eee12def Upstream block messages to main pool in remote mode, displaying message on main console and miners, and resetting best shares Con Kolivas 2016-01-10 11:50:54 +1100
  • 879906ae38 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2016-01-10 11:01:11 +1100
  • f27313a67c Upstream share diff in trusted remotes, checking for best diff with each share instead of when locally best, reporting new best shares to clients Con Kolivas 2016-01-10 11:00:55 +1100
  • 3c4689fce2 Show error message in red, only once, and inside the correct form. Carles Tubio 2016-01-09 23:37:42 +0000
  • 4e9edf0c7a php - add a password warning to the login page kanoi 2016-01-10 10:18:37 +1100
  • 339ecc833e Whitelist cgminer based clients for receiving stratum messages and only send stratum messages to whitelisted clients Con Kolivas 2016-01-10 08:43:52 +1100
  • 84ecde2ea8 Update header copyright dates Con Kolivas 2016-01-10 08:32:42 +1100
  • a08abba1a7 ckdb - update version for libckpool update kanoi 2016-01-09 08:09:16 +1100
  • f8c80cd312 Add remote workers to worker count Con Kolivas 2016-01-08 18:59:35 +1100
  • 4151ddb4cd Read stats off for any new user or worker generated Con Kolivas 2016-01-08 15:33:06 +1100
  • 8e6fe0bcbe Properly add remote users Con Kolivas 2016-01-08 03:04:13 +1100
  • 25db1bce9b Fix incorrect upstream sample Con Kolivas 2016-01-06 16:27:58 +1100
  • ad3d5e4a4f Add user hashrate from remote shares Con Kolivas 2016-01-06 15:38:25 +1100
  • a74df93b30 Add upstreaming of best diff in remote mode Con Kolivas 2016-01-06 15:35:50 +1100
  • 6947a4642a Upstream shares and process them accordingly in trusted mode Con Kolivas 2016-01-06 15:03:55 +1100
  • c56a91cbce Add mechanism for parsing trusted remote messages and counting shares Con Kolivas 2016-01-06 14:35:44 +1100
  • 75a9e3ec3c Add connection mechanism and message workqueues for trusted remotes Con Kolivas 2016-01-06 13:49:25 +1100
  • bd7ca390ff Add variable parsing for trusted remote nodes Con Kolivas 2016-01-06 12:22:24 +1100
  • 2d167171ad Increase the unix message receiving capacity Con Kolivas 2016-01-08 13:55:08 +1100
  • 84d822063b Fix missing worker/user count dropping in node mode when clients disconnect Con Kolivas 2016-01-08 13:49:55 +1100
  • 96f5c04619 Forward on passthrough client drop requests to the passthrough itself Con Kolivas 2016-01-08 12:58:47 +1100
  • 18af83a235 Disconnect clients with continuous rejects in node mode detected either locally or as detected by upstream results Con Kolivas 2016-01-08 12:10:16 +1100
  • e945e8e5ef Client reject should be set to 3 with full pool Con Kolivas 2016-01-08 11:35:00 +1100
  • 1ed1641df8 Merge branch 'master' of bitbucket.org:ckolivas/ckpool Con Kolivas 2016-01-08 08:21:48 +1100