Con Kolivas
|
9edfbc8790
|
Don't send proxy diff till it's set yet
|
10 years ago |
Con Kolivas
|
b13446e387
|
Send proxy subscription to stratifier as soon as we have it
|
10 years ago |
Con Kolivas
|
e287feede0
|
Send only the parent proxy id from the generator to the stratifier
|
10 years ago |
Con Kolivas
|
f15fbdbc70
|
Receive diff from the upstream proxy and add share submission to the correct psend list
|
10 years ago |
Con Kolivas
|
27faf4d1c4
|
Fix proxy epfd not being set
|
10 years ago |
Con Kolivas
|
7763b49c2e
|
Allow stratifier to choose the best subproxy to attach new users to and request recruitment of more subproxies when the headroom for more clients is low
|
10 years ago |
Con Kolivas
|
1f83be877d
|
Send subproxy id when setting proxy at stratifier and set the current proxy to the subproxy instead of the master proxy
|
10 years ago |
Con Kolivas
|
c92cbd6f62
|
Handle submitting upstream shares properly with subproxies having their own share tables
|
10 years ago |
Con Kolivas
|
575ac70de8
|
Store all notifies in the generator in the parent proxy list and extract the subproxy details from share submission to submit upstream to the right connection
|
10 years ago |
Con Kolivas
|
a006dab4ae
|
Do not use master proxy for work, using the first subproxy instance for now, sending the id with it to the stratifier
|
10 years ago |
Con Kolivas
|
04d43b3afb
|
Recruit extra subproxies to ensure at least 42 client headroom, receiving data from correct socket in proxyrecv
|
10 years ago |
Con Kolivas
|
fe4a25f861
|
Create rudimentary subproxy structures, moving proxy receives to epoll in order to receive from multiple connections upstream
|
10 years ago |
Con Kolivas
|
1c1cb445ef
|
Don't send subscriptions to the stratifier in passthrough mode
|
10 years ago |
Con Kolivas
|
5bff2819da
|
Send notify from each proxy as soon as we receive it
|
10 years ago |
Con Kolivas
|
26c890c291
|
Send the diff from the proxy instance as soon as we get it and differentiate which proxy it comes from
|
10 years ago |
Con Kolivas
|
71be121083
|
Microoptimise
|
10 years ago |
Con Kolivas
|
64a3703f09
|
Move to pushing all notify data from the generator to avoid an extra message and reconnect clients once the current proxy has its first notification data
|
10 years ago |
Con Kolivas
|
1d69aa0ae9
|
Simplify send_subscribe code
|
10 years ago |
Con Kolivas
|
836f2f3ff2
|
Avoid extra call to get subscription from generator by pushing it with the subscribe message to the stratifier
|
10 years ago |
Con Kolivas
|
25d8c015e5
|
Add information about which proxy's socket is invalidated
|
10 years ago |
Con Kolivas
|
289caa2732
|
Issue reconnect to generator immediately upon a reconnect request
|
10 years ago |
Con Kolivas
|
84a399adf0
|
Only send a notify request to the stratifier if it's from the current proxy
|
10 years ago |
Con Kolivas
|
37afa5fd02
|
Rename current_proxy in generator to best_proxy for clarity
|
10 years ago |
Con Kolivas
|
8825c7c901
|
Only give read socket line warning if proxy was considered alive at the time
|
10 years ago |
Con Kolivas
|
32b88de36c
|
Explicitly set the proxy in the stratifier when we switch and avoid creating workbases from backup proxies
|
10 years ago |
Con Kolivas
|
c2fe4f30e1
|
Set proxies to not alive when their sockets invalidate and close sockets on reconnect being issued
|
10 years ago |
Con Kolivas
|
cdc8efb0c4
|
Add message when proxy recovers
|
10 years ago |
Con Kolivas
|
288e4b67bb
|
Demote various messages in proxy mode but add more information to warnings
|
10 years ago |
Con Kolivas
|
d8d9388b6c
|
Add more information and demote messages for proxy send fails
|
10 years ago |
Con Kolivas
|
16fbfee068
|
Wiat 90 seconds before potentially failing over to a pool that has just recovered
|
10 years ago |
Con Kolivas
|
fea1ea2953
|
Always update the subscription and notification details for every proxy updated, sending a reconnect instead when the proxy changes
|
10 years ago |
Con Kolivas
|
d02862d1fe
|
Update subscriptions and notifications for proxies that aren't the current proxy for faster switching
|
10 years ago |
Con Kolivas
|
520b36cc70
|
Send which proxy we wish to get a subscribe or notify to/from the connector to stratifier and whether to reconnect
|
10 years ago |
Con Kolivas
|
f02a35dfcf
|
Send notready message when notify data is not ready in the generator instead of no response
|
10 years ago |
Con Kolivas
|
d474047d42
|
Drop proxy reference when socket invalidated
|
10 years ago |
Con Kolivas
|
b7e71e1be7
|
Attach to every upstream pool in proxy mode all the time and fail over and back as needed
|
10 years ago |
Con Kolivas
|
52cd066563
|
Add proxies to the stratifier as its notified of their existence by the generator and issue reconnects without rejecting connections when a new subscribe is discovered
|
10 years ago |
Con Kolivas
|
15351e5dde
|
Proxy msg_id is not used in any meaningful way so remove it
|
10 years ago |
Con Kolivas
|
4e95186403
|
Improve warnings and verbosity for various proxy connection failures
|
10 years ago |
Con Kolivas
|
416b7a02eb
|
Handle proxy failover correctly for remainder of upstream pools when a reconnect is issued and don't lose original pool details, demoting it to last instead
|
10 years ago |
Con Kolivas
|
fcc4309561
|
Add info about proxies to warnings
|
10 years ago |
Con Kolivas
|
7f92dfbc7e
|
Remove unnecessary warning
|
10 years ago |
Con Kolivas
|
20746db270
|
Check against chosen_server in the server watchdog
|
10 years ago |
Con Kolivas
|
d66befef02
|
Don't reset the chosen_server value in live_proxy
|
10 years ago |
Con Kolivas
|
7e5a0620af
|
Cache responses in proxy mode in case they come out of order to be able to successfully managed different subscribe variations
|
10 years ago |
Con Kolivas
|
9c1e5f2332
|
Send reconnect instead of dropall to stratifier when killing an upstream proxy and drop them lazily
|
10 years ago |
Con Kolivas
|
1432b90829
|
Remove code talking to local btcd in proxy mode since we won't be able to submit any realistic block solves locally
|
10 years ago |
ckolivas
|
2d56e4fa04
|
Init the proxy share mutex
|
10 years ago |
ckolivas
|
33f40ed3cf
|
Use 64 bits for share id in proxy
|
10 years ago |
Con Kolivas
|
eacb000ad9
|
Elaborate on killing proxy message
|
10 years ago |