Con Kolivas
|
a2052cdf37
|
Reconnect clients when they are bound to a global proxy and have userproxies with headroom
|
10 years ago |
Con Kolivas
|
0e1d4dd4f1
|
Don't reconnect clients bound to user proxies on global changes
|
10 years ago |
Con Kolivas
|
68bfb5bab4
|
Adjust the best global proxy only when there's a change in global proxies
|
10 years ago |
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 |
Con Kolivas
|
b60bebe7b0
|
Rework code to always grab the sessionid but use it for reconnecting only in pool mode
|
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
|
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
|
84a6bf7dfc
|
Encode priority into user proxies by using the userid as its high bits
|
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
|
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"
This reverts commit 950a20e76f .
|
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
|
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 |
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
|
d590869963
|
Update stratifier to use integers for proxy IDs again
|
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 |
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 |
Con Kolivas
|
cb3960be50
|
Add client drop message before we delete structures
|
10 years ago |
Con Kolivas
|
93eb641d21
|
Rate limit auth backoff message
|
10 years ago |
Con Kolivas
|
7959e72520
|
Add client IP address to notifications
|
10 years ago |
Con Kolivas
|
b92062d6ea
|
Add IP address to client drop message
|
10 years ago |
Con Kolivas
|
b7e9291fc5
|
Add more info to client drop messages using notice_msg_entries
|
10 years ago |
Con Kolivas
|
8b434661d7
|
Add more verbose information to drop client messages using add_msg_entry
|
10 years ago |
Con Kolivas
|
d4cd88ac58
|
Add helper functions for storing messages to be dumped outside of other locks
|
10 years ago |
Con Kolivas
|
0c61ed1c09
|
Make worker count more robust by using the same locking for stats
|
10 years ago |