Con Kolivas
|
0d39d22c16
|
Use the disable_subproxy function for all proxies including the parent and ensure we message the stratifier about all dead proxies, leaving recruitment only to on demand
|
10 years ago |
Con Kolivas
|
0afbf3eff2
|
Only consider a proxy dead if all subproxy connections are also dead
|
10 years ago |
Con Kolivas
|
396b656c82
|
Use the correct json
|
10 years ago |
Con Kolivas
|
8dbf39dae5
|
Reconnect clients that are sending shares that can't be processed
|
10 years ago |
Con Kolivas
|
dffc938519
|
Free buffer used in generator
|
10 years ago |
Con Kolivas
|
235cdf3c96
|
Flag proxies as dead if they fail connect_proxy
|
10 years ago |
Con Kolivas
|
4cd554a238
|
Set the reconnect time on a proxy when a read socket detects a disconnection
|
10 years ago |
Con Kolivas
|
2055f0e2e8
|
Demote nonce length warning for subproxies
|
10 years ago |
Con Kolivas
|
41f042c3e5
|
Duplicate the actual jobid json object to return when submitting shares and use an integer consistently as the internal jobid
|
10 years ago |
Con Kolivas
|
8dd1754426
|
Close socket reliably in generator
|
10 years ago |
Con Kolivas
|
9de62bdea9
|
Reverse the waiting order between generator and stratifier in proxy mode
|
10 years ago |
Con Kolivas
|
29ebae7410
|
Fix incorrect cs being used in proxy_send
|
10 years ago |
Con Kolivas
|
e9af372a56
|
Reap old subproxies when they're no longer in use
|
10 years ago |
Con Kolivas
|
42f14a9536
|
Add full lock tracking for mutexes and rwlocks
|
10 years ago |
Con Kolivas
|
14805ce8fa
|
Send stratifier deadproxy message if it's trying to send shares to it
|
10 years ago |
Con Kolivas
|
eab6c1ba64
|
Add more info to missing jobid notice
|
10 years ago |
Con Kolivas
|
b96106a414
|
Inform stratifier of deadproxy on every failed proxy_alive call
|
10 years ago |
Con Kolivas
|
eed7df1826
|
Do all the proxy recruitment within the new thread
|
10 years ago |
Con Kolivas
|
c33362c8ad
|
Make subproxy recruiting asynchronous to not delay other proxy loop functions
|
10 years ago |
Con Kolivas
|
3ba0aeee69
|
Disable and remove the parent proxy from the subproxy list on reconnect as well
|
10 years ago |
Con Kolivas
|
f68e398958
|
Add more debug info for proxies
|
10 years ago |
Con Kolivas
|
2562068163
|
Remove any concept of clients per proxy from the generator and simply display how many on connecting the parent'
|
10 years ago |
Con Kolivas
|
a1eabf7305
|
Send a dead proxy notification to the stratifier when we disable a subproxy to switch clients on it
|
10 years ago |
Con Kolivas
|
40ebe7d1b0
|
Delete subproxies from the correct hashlist
|
10 years ago |
Con Kolivas
|
c295d6a8d4
|
Do a soft failover to backup proxies, not disconnecting them unless the upstream subproxy no longer exists, but a hard failover to higher priority proxies
|
10 years ago |
Con Kolivas
|
e2826e3c08
|
Add minor comment about memory leak
|
10 years ago |
Con Kolivas
|
4db64cd883
|
Allow but warn about ultra small nonce2 size upstream pools
|
10 years ago |
Con Kolivas
|
50ebbe8086
|
Make reconnect proxies inherit the subproxy count of the original for the stratifier to know they're unique
|
10 years ago |
Con Kolivas
|
14a7ec05e2
|
Use the subid when disabling a subproxy instead of the id
|
10 years ago |
Con Kolivas
|
a98d510f9f
|
Add subproxy information to generator messages where appropriate
|
10 years ago |
Con Kolivas
|
d61ba33e69
|
Set subproxy count and subid under lock to prevent clashes and ensure the subproxy inherits the parent's id
|
10 years ago |
Con Kolivas
|
7adf0f1c7e
|
All reconnects will discard the original proxy instance data so shut down the associated send thread as well as the receive and remove unnecessary extra flags
|
10 years ago |
Con Kolivas
|
edbe863a26
|
Only add the parent proxy to the subproxy list once
|
10 years ago |
Con Kolivas
|
5fb4e8d545
|
Set the parent proxy to the new instance on a reconnect
|
10 years ago |
Con Kolivas
|
fe6fe5bac2
|
Remove the now unused current_notify
|
10 years ago |
Con Kolivas
|
39f2839252
|
Send notify as soon as a proxy receives it instead of trying to look it up later
|
10 years ago |
Con Kolivas
|
02f31fccc3
|
Add reconnect proxies to the hashlist using hash_replace in case it has already been removed, and add it to its own subproxy list
|
10 years ago |
Con Kolivas
|
b4bf867269
|
Always disable subproxies on failure to send message
|
10 years ago |
Con Kolivas
|
a2131e438d
|
Drop subproxies when parent proxy is invalidated
|
10 years ago |
Con Kolivas
|
ffdac57b0e
|
Decrease failback time to 30 seconds on proxy
|
10 years ago |
Con Kolivas
|
4d5ef2a76a
|
Don't try to recruit extra subproxies on initial connect
|
10 years ago |
Con Kolivas
|
b7680263aa
|
Set subproxies to disabled when dropping them
|
10 years ago |
Con Kolivas
|
0fc4507bf3
|
Add more info to failed to authorise
|
10 years ago |
Con Kolivas
|
7af4b89138
|
Demote json_result decode failed message to notice level
|
10 years ago |
Con Kolivas
|
566d6c656e
|
Send correct subproxy id to stratifier
|
10 years ago |
Con Kolivas
|
413c73bc33
|
Drop the child subproxies if the parent proxy is not alive
|
10 years ago |
Con Kolivas
|
37b6406e0e
|
Set share response to true even if we don't find the matching share
|
10 years ago |
Con Kolivas
|
8476d12876
|
Fix failover of parent proxy
|
10 years ago |
Con Kolivas
|
d9ea42bdc7
|
Disable subproxies that are given a reconnect message, allowing more subproxies to be recruited by parent's reconnect if need be instead
|
10 years ago |
Con Kolivas
|
31b0e4df67
|
Only check for existence of current proxy when switching, not best which may have already been set to the alive proxy
|
10 years ago |