3126 Commits (d56e1c01222e114c33402f1f0fd87ebb0590e419)

Author SHA1 Message Date
Con Kolivas ac3726e56f Try to find a suitable pool by userid on clients with a known userid 10 years ago
Con Kolivas 4322c7d7c5 Inherit user id from old session id in proxy mode 10 years ago
kanoi 2230bd6d65 ckdb - stat the share OoO messages and increase the warning limit to 2s 10 years ago
Con Kolivas b60bebe7b0 Rework code to always grab the sessionid but use it for reconnecting only in pool mode 10 years ago
kanoi b74ae0f24e ckdb - console warning log out of order shares only if more than 1 second 10 years ago
Con Kolivas 7961aa1a29 There is no need for user instance id to be an int64 10 years ago
Con Kolivas 505abca664 Revert sessionid code to merge master sessionid code 10 years ago
Con Kolivas 3ea6fa5dfe Don't bother storing the session of clients without a user set up or not authorised 10 years ago
Con Kolivas a8b7916829 Fix memory leak 10 years ago
Con Kolivas cecf6406e2 Fix memory leak 10 years ago
Con Kolivas 6e41ff823f Demote debug 10 years ago
Con Kolivas 08622a4b61 Hand old sessionid to new client 10 years ago
ckolivas c7dbb0114d Rework sessionid matching to not store client structure 10 years ago
Con Kolivas 65df7bc722 Set cs.ckp on creating a new subproxy 10 years ago
Con Kolivas 49fe273718 Look up users based on session id and find a proxy from their list if possible 10 years ago
Con Kolivas 74ea210ad2 Match user from sessionid if possible in proxy mode 10 years ago
Con Kolivas 6cb3078025 Add a list of sessionids created with their associated user once we generate the user 10 years ago
Con Kolivas eb3c78f52b Give a unique sessionid in proxy mode 10 years ago
Con Kolivas 33e903cb4f Logic inversion 10 years ago
Con Kolivas fae7c70dc2 Abstract out the test for the best subproxy for future use with user proxies 10 years ago
Con Kolivas 3628128d64 Set ckp variable in connsocks used by proxies 10 years ago
Con Kolivas 84a6bf7dfc Encode priority into user proxies by using the userid as its high bits 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 6a7fc728a4 Add an API command to set global proxy priority and do the switch 10 years ago
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