2415 Commits (47ecddf88a4c0b5d10710e502c64795a77937364)

Author SHA1 Message Date
Con Kolivas b54c650d6a Give parent proxy details where appropriate in getproxy 10 years ago
Con Kolivas d7f09124a6 Add an API command to get proxy details 10 years ago
Con Kolivas fd7d62df15 Send the proxy details from the generator to the stratifier 10 years ago
Con Kolivas a5a5487023 Revert "Add uthash helpers for iterating over hash entries without the need for safe against deletion" 10 years ago
Con Kolivas 5517a21171 Use the priority sorting to speed up best proxy selection 10 years ago
Con Kolivas 93d820ab55 Revert "Use the terse hash helpers in the stratifier" 10 years ago
Con Kolivas 4b099e8445 Add a priority field to proxies, currently set to their id and sort them by priority 10 years ago
Con Kolivas 950a20e76f Use the terse hash helpers in the stratifier 10 years ago
Con Kolivas 9a1e59637f Add uthash helpers for iterating over hash entries without the need for safe against deletion 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 d8b0f9a9a9 Make stratifier determine best proxy to connect to, allowing us to remove management from the generator 10 years ago
Con Kolivas e92e423412 Send a random sessionid rather than a blank one to prevent miner assuming they've reconnected 10 years ago
Con Kolivas 655f82f09d Remove clients from the epoll list when invalidating them to avoid a receiver event and check they still exist in their original form on getting a receiver event 10 years ago
Con Kolivas 24d9155f62 Recycle client instances in the connector 10 years ago
kanoi b32080e9a5 ckdb - setup the first mandatory mark on a new pool 10 years ago
ckolivas bf1c2ef09b Cope with variable length ckdb responses on the heartbeat as well 10 years ago
Con Kolivas a43c94c4d5 Add a getuser command for generating users and getting their current statistics 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 f6d87f1569 Create a basic handler of json messages on the listener unix socket as RPC API commands with a ckmsgq 10 years ago
kanoi 1e68c2d602 ckdb/php - pass statsconfirmed to php to flag estimate stats 10 years ago
Con Kolivas b780dc0061 Demote message verbosity for no auth response when we know ckdb is offline 10 years ago
Con Kolivas 8091b77c7c Allow arbitrary length responses from ckdb in send_recv_auth to allow for hundreds of workers 10 years ago
kanoi 4f327ee6ed ckdb - switch_state to allow code upgrades while running 10 years ago
kanoi 966b9b7326 ckdb - pass all worker diffs back to auth requests 10 years ago
Con Kolivas f6abc404d5 Change parsing of ckdb response, expecting an array of workers 10 years ago
Con Kolivas dda8187e49 Create workers if they don't already exist when set_worker_mindiff is called 10 years ago
Con Kolivas 03149c1354 Create the user if it doesn't already exist in set_worker_mindiff 10 years ago
Con Kolivas 0900b5d5c5 Check for no user in __drop_client 10 years ago
Con Kolivas 8916a8e1d5 Pick up the client address as soon as we generate the stratum instance to avoid passing it round repeatedly with messages 10 years ago
Con Kolivas 5261837b8f Add information about throttled clients, showing only when they're first throttled 10 years ago