306 Commits (84c340c1c40f0247455350f1955a2e1749f8bf90)

Author SHA1 Message Date
Con Kolivas a6cc0bd90c Provide helper functions for setting buffer sizes on any socket fds 9 years ago
Con Kolivas 39f542fac9 Increase send buffer size when possible to nodes to accommodate large messages 9 years ago
Con Kolivas cf0f452b8a We already check redirector shares for the mining.submit method 9 years ago
Con Kolivas 38b09e0f95 Can get invalid json from upstream server when responding to invalid json from client 9 years ago
Con Kolivas 6947a4642a Upstream shares and process them accordingly in trusted mode 9 years ago
Con Kolivas c56a91cbce Add mechanism for parsing trusted remote messages and counting shares 9 years ago
Con Kolivas 75a9e3ec3c Add connection mechanism and message workqueues for trusted remotes 9 years ago
Con Kolivas 84d822063b Fix missing worker/user count dropping in node mode when clients disconnect 9 years ago
Con Kolivas 96f5c04619 Forward on passthrough client drop requests to the passthrough itself 9 years ago
Con Kolivas f6cf94f187 Copyright date updates 9 years ago
Con Kolivas 00f2fdbb0a Don't try to send invalid json messages to the stratifier in node mode 9 years ago
Con Kolivas 25aecd33c8 Selectively compact json that does not need to be visualised 9 years ago
Con Kolivas 5b816982e5 Compression of any sort is slower than ordinary network transfers so remove it 9 years ago
Con Kolivas effeba4999 Fix logic fails 9 years ago
Con Kolivas 5fb2ea342e Various fixes 9 years ago
Con Kolivas ea945e863c Reinstate mtu size for compression to clients 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 17cc4411af Fix compilation and send lz4 compatible clients compressed data 9 years ago
Con Kolivas 950b855b2d Implement backwardly compatible lz4 compression support to be used by passthroughs and nodes 9 years ago
Con Kolivas 46aef425f2 Drop clients when we don't have an upstream pool in passthrough/node mode 9 years ago
Con Kolivas 3dc070fcc2 Do initial parsing of subscribe/auth in node mode 9 years ago
Con Kolivas 04eaabfaa2 Add mining nodes to a linked list and send them the workinfo for now 9 years ago
Con Kolivas 5ddfcdb14e Identify all node message types in the stratifier 9 years ago
Con Kolivas 50c9b5ecd2 Move message type detection to stratifier 9 years ago
Con Kolivas c5718d510e Detect node message type in the generator 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 2eaeb2a96c Don't keep storing shares in redirector mode after we've attempted to redirect the client 9 years ago
ckolivas c437d3283b Only try to redirect clients once in redirector mode, acting as a regular passthrough thereafter 9 years ago
Con Kolivas e413e0e97b Increase size of address storage for clients to store full inet6 name 9 years ago
Con Kolivas b0c30a3f7d Disconnect clients whose sends block for more than 60 seconds 9 years ago
Con Kolivas c0e4310c2d Send a dropall to the stratifier when we're in reject mode 9 years ago
Con Kolivas 99ce264a8e Send a dropall to the stratifier when we're in reject mode 9 years ago
Con Kolivas bce4cab176 Roll back code for relay node. 9 years ago
Con Kolivas b7e35effa5 Add backup btcd parsing in node mode 10 years ago
Con Kolivas 1ba52b3daa Round robin over the redirect URLs in redirector mode, keeping clients from the same IP on the same URL 10 years ago
Con Kolivas 0dafbe12b4 Comments 10 years ago
Con Kolivas 3ba8e1d6c1 Hold an extra reference for the redirect_client message in the redirector 10 years ago
Con Kolivas 65957df813 Issue reconnect to miner submitting valid share in redirector mode 10 years ago
Con Kolivas ec9e730b1f Look for unique ID accepted shares in the connector in redirector mode 10 years ago
Con Kolivas 03edcc03cd Check for valid shares in redirector and redirect for first url for now 10 years ago
Con Kolivas b197ba2ff9 Maintain a reference to which message we're currently sending to a client to prevent sending interleaved messages should they block 10 years ago
Con Kolivas dcf55ff1fb Maintain a reference to which message we're currently sending to a client to prevent sending interleaved messages should they block 10 years ago
Con Kolivas cb640b6ab2 Check for epoll hangups fully 10 years ago
Con Kolivas dcfcae1779 Add errno details to write based close 10 years ago
Con Kolivas b73f44f00c Tidy up and demote oversize message, adding client id 10 years ago
Con Kolivas 5365f1a420 Increase listen backlog to 8k 10 years ago
Con Kolivas 882bd693dd Display connector stats every ~60s in passthrough mode 10 years ago