317 Commits (6db9dee72275e650c70c28fc80d4311791eb1d72)

Author SHA1 Message Date
Con Kolivas 6db9dee722 Store share statistics fo the upstream proxied pools 10 years ago
Con Kolivas b37ee220e9 Add psends to generator stats 10 years ago
Con Kolivas 99878feb2d Add basic generator stats 10 years ago
Con Kolivas 19674013cf Use only the one notify hashlist in the generator 10 years ago
Con Kolivas 104ab03f2b Use only one share hashlist in the generator 10 years ago
Con Kolivas bf79e0793d Recruit extra user subproxies when there aren't enough 10 years ago
Con Kolivas 65df7bc722 Set cs.ckp on creating a new subproxy 10 years ago
Con Kolivas 3628128d64 Set ckp variable in connsocks used by proxies 10 years ago
Con Kolivas 1818d867a0 Use the one list for proxies in the generator, separating only when needed 10 years ago
Con Kolivas 92d1572e0a Search the user proxy list when looking up proxy_by_id 10 years ago
Con Kolivas 0648926729 Add user proxies to their own hashlist 10 years ago
Con Kolivas 9c60f55b61 Add preliminary structures required to add user proxies to the generator 10 years ago
Con Kolivas 9f3a1bfb4d Add userid parsing to proxy.add command 10 years ago
Con Kolivas fd7d62df15 Send the proxy details from the generator to the stratifier 10 years ago
Con Kolivas 172e60b567 Remove concept of current proxy from generator, allowing stratifier to do all the management 10 years ago
Con Kolivas ed6febe6db Handle proxy sends according to which socket is ready to receive data 10 years ago
Con Kolivas 7827c5f96b Small cleanup of ordering 10 years ago
Con Kolivas 964b9fb095 Move all proxy sends to the same thread 10 years ago
Con Kolivas af37739018 Notifies and shares should all be with the parent structure 10 years ago
Con Kolivas 73268c15c5 Create a thread for all userproxy receives 10 years ago
Con Kolivas d61471ee2c Add more notice information during API proxy manipulation 10 years ago
Con Kolivas 41202d22eb Add API commands to allow us to enable/disable proxies on the fly 10 years ago
Con Kolivas e083b2ef3e Provide an API based mechanism for deleting proxies on the fly 10 years ago
Con Kolivas 1d87d5a493 Send connector reject message only if we can't find an active pool after 5 seconds 10 years ago
Con Kolivas d590869963 Update stratifier to use integers for proxy IDs again 10 years ago
Con Kolivas 2cee823d6c Allow url to be unique per proxy and subproxy allowing us to not have to recruit a full new parent proxy with a complicated id 10 years ago
Con Kolivas bcc5ca1a46 Properly encode error messages in API responses 10 years ago
Con Kolivas 2122b0f689 Remove use of server_instances by proxies in the generator 10 years ago
ckolivas 80be061c3d Make json encoded errormsgs part of api.c for general use 10 years ago
ckolivas 788918460e Make api responses use a common function in api.c 10 years ago
Con Kolivas 9dabedde7d Encode error message in failed API responses 10 years ago
Con Kolivas 24762bf576 Provide means for adding proxies to the global list 10 years ago
Con Kolivas 5a6b1ee717 Add an API command to return the subproxy list by proxy id 10 years ago
Con Kolivas 78af906c14 Add command proxy.list to get a list of current proxies, ensuring we return valid json 10 years ago
Con Kolivas 5c7059492a Make add_proxy a separate function 10 years ago
Con Kolivas a6682d96bc Look preferentially for stratum messages in the proxy loop 10 years ago
Con Kolivas c28a8fa202 Avoid any attempt at using sessionid in proxy mode 10 years ago
Con Kolivas 955e413bea Issue reconnect when an upstream pool recovers 10 years ago
Con Kolivas b8fb469e07 Display correct subproxy details in proxysend notice and check for valid values 10 years ago
Con Kolivas 5688225711 Reconnect generator after a parent proxy has died or it has received its first notify only 10 years ago
Con Kolivas 523f7236ef Break out of both loops on reconnect issue 10 years ago
Con Kolivas 13546f54bb Close all fds in disable_subproxy, including the parent proxy 10 years ago
Con Kolivas 8231c53592 Don't set up a new parent if a reconnect is to the same URL 10 years ago
Con Kolivas 794770422d Count effective number recruited and subtract that from the recruit requests count 10 years ago
ckolivas 01c00ed3c2 Too much recruiting 10 years ago
ckolivas 93a1414e29 Explicitly check for HUP in proxy_recv, avoiding an attempt at reading a line 10 years ago
ckolivas e3e83df196 Add a small sleep between attempts at pinging the stratifier at startup to avoid floods of messages 10 years ago
ckolivas 16bd2fc352 Redirect from existing parent when child gets a reconnect 10 years ago
ckolivas 90ab75ce24 Drop subproxies when the parent proxy thread exits 10 years ago
ckolivas 0fa55f311f Finesse what messages to send 10 years ago