293 Commits (e3fc6a1e56c84bd7dfade6802c9bb10a660695ed)

Author SHA1 Message Date
Con Kolivas e3fc6a1e56 Selectively compress only large packets greater than one MTU and identify lz4 compatible clients immediately 9 years ago
Con Kolivas 4a52065a55 Only send packets compressed if they're smaller 9 years ago
Con Kolivas 950b855b2d Implement backwardly compatible lz4 compression support to be used by passthroughs and nodes 9 years ago
Con Kolivas b09bb253fc Act as a passthrough in node mode, passing what type of stratum message we're passing through 9 years ago
Con Kolivas eab56b032a Set up local bitcoind connections in node mode 9 years ago
Con Kolivas 6a39cdb299 Add configuration option for node mode 9 years ago
Con Kolivas e1d6f62d3e Name ckpassthrough if no name is given 9 years ago
Con Kolivas d2d5a5daaa Don't use persistent connections to bitcoind 9 years ago
Con Kolivas 83dbc9db12 Use epoll for wait_read_select 9 years ago
Con Kolivas 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 9 years ago
Con Kolivas 61b25e4ac4 Add information about whether the attempt to reopen a socket was successful or not 9 years ago
Con Kolivas 7ce2afae83 Try to reopen any closed sockets in json_rpc_call 9 years ago
Con Kolivas 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 9 years ago
Con Kolivas 516a708aad Fix bitcoind failover not working and keep connections open for faster switching in case of failure 9 years ago
Con Kolivas 4aa73e29f8 Use the cs->fd handle directy in case it gets invalidated while we're waiting for a socket line 9 years ago
Con Kolivas 853bed8281 Serialise all json_rpc_calls and responses 9 years ago
Con Kolivas 5a3183cf04 Fix timeout in read_socket_line inappropriately running out 9 years ago
Con Kolivas 88e20dd111 Add a userproxy mode that connects to the same upstream pool according to the username supplied by clients connecting to the proxy 9 years ago
Con Kolivas b63b213c8b send_recv_proc failing is non-fatal so convert send_proc to being non-fatal as well 9 years ago
Con Kolivas 690084b735 Clear line when writing log to console 9 years ago
Con Kolivas 08fcf808a7 Specify what url has been inherited upon restart if possible 9 years ago
Con Kolivas 449e605113 Specify what message didn't receive a response in send_recv_path 9 years ago
Con Kolivas 47d30b8843 Check for redirecturls in redirector mode 9 years ago
Con Kolivas 137136648c Allow timeout to reach zero in read_socket_line for one non-blocking read 9 years ago
Con Kolivas ead0f1cae4 Allow timeout to reach zero in read_socket_line for one non-blocking read 9 years ago
Con Kolivas 83575ba311 Allow FE overflow for safe usage of strtod in corrupt json 9 years ago
Con Kolivas bce4cab176 Roll back code for relay node. 9 years ago
kanoi da285f8ab4 ckpool - display the rpc request warn messages from the method 10 years ago
kanoi 733664cc80 ckpool - report details of rpc request on failure or when slow 10 years ago
Con Kolivas 53656e1284 Json RPC calls can take a while to return so use a custom timeout when talking to the generator from the stratifier 10 years ago
Con Kolivas e94115d6e2 Allow _send_recv_proc to take custom timeouts 10 years ago
kanoi f9a17d04c3 Update log messages to millisecond accuracy 10 years ago
Con Kolivas c9245673af Make read_socket_line use a timeout pointer allowing the value to be used for reentrant calls 10 years ago
Con Kolivas 69124695cc Add options for supporting a passthrough node 10 years ago
Con Kolivas 1b890257da Preserve the name used in redirecturl config for the redirector 10 years ago
Con Kolivas ec9e730b1f Look for unique ID accepted shares in the connector in redirector mode 10 years ago
Con Kolivas 98a2197568 Repair functioning of passthrough and add basic functions for share management in redirector 10 years ago
Con Kolivas 03edcc03cd Check for valid shares in redirector and redirect for first url for now 10 years ago
Con Kolivas 31c205c138 Add basic configuration options for redirector mode 10 years ago
Con Kolivas 75f8a93d49 Check for zero ret in read_socket_line 10 years ago
Con Kolivas 4bc776f99b Use non-blocking reads in read_socket_line, waiting up to the full timeout 10 years ago
Con Kolivas 3fb8ff91d6 Continue waiting in read_socket_line if we have no more to read but have not used up the full timeout 10 years ago
Con Kolivas 7e2280ff2d Check for eom more carefully in read_socket_line 10 years ago
Con Kolivas 11023ecfec Use non blocking reads in read_socket_line 10 years ago
Con Kolivas 62d1ec3f8a Use signal handlers from sender and receiver threads in the connector avoid needing to pthread tryjoin on every message 10 years ago
Con Kolivas 94dbd802a2 Wait longer after kill message 10 years ago
Con Kolivas 15a735f805 Broadcast in message queues instead of signalling for when there are multiple queue parsing threads 10 years ago
Con Kolivas e6c3c2a672 Do not wait for other end to close when sending a one way unix message with receive queues now in place 10 years ago
Con Kolivas 39a8b0ebef Create general function for receiving unix messages from the receive queue 10 years ago
Con Kolivas ba7e48c492 Create basic unix receive message thread for queueing messages to be handled asynchronously 10 years ago