307 Commits (3a51ff871670f1e5d506f166036a879dda178e5a)

Author SHA1 Message Date
Con Kolivas cb2c0577cb Placeholders for api files 9 years ago
Con Kolivas 5b816982e5 Compression of any sort is slower than ordinary network transfers so remove it 9 years ago
Con Kolivas 47ecddf88a Pass select timed out return of zero in read_socket_line 9 years ago
ckolivas 3a9f5a491e Add an option to selectively enable/disable compression in passthrough modes 9 years ago
Con Kolivas effeba4999 Fix logic fails 9 years ago
Con Kolivas 85302af03f Decrement timeout in read_cs_length 9 years ago
Con Kolivas ff5e74fbd1 Rework read_socket_line loop to not bother reading more once it has a message 9 years ago
Con Kolivas 7e4fee659e Minor fixes 9 years ago
Con Kolivas 5fb2ea342e Various fixes 9 years ago
Con Kolivas 5146b715fc Empty buffer on failure 9 years ago
Con Kolivas 4ef8ab49e3 Fix reinsertion logic 9 years ago
Con Kolivas d69ed7ffcf More fixes 9 years ago
Con Kolivas c9f0858c56 Fixes? 9 years ago
Con Kolivas 11d14620e6 Convert to gzip 9 years ago
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