Con Kolivas
|
6b911d71d6
|
Send stratifier generic dead proxy message on submit share fail to drop all clients
|
10 years ago |
Con Kolivas
|
352c8a4eb7
|
Set client start time when the instance is added
|
10 years ago |
Con Kolivas
|
6887f778e9
|
Send reconnect to all clients that have been asked to reconnect already and don't unset the bool to be able to trim them
|
10 years ago |
Con Kolivas
|
e6ce49d2ef
|
Use generic workqueues for the proxy reconnect function
|
10 years ago |
Con Kolivas
|
0ecd5b5098
|
Use generic workqueues for the recruit subproxy function
|
10 years ago |
Con Kolivas
|
23aa6a623a
|
Create two workqueues for the generator
|
10 years ago |
Con Kolivas
|
3f103ef67e
|
Use async send proc in the generator
|
10 years ago |
Con Kolivas
|
8291489a5b
|
Use async send proc in the stratifier
|
10 years ago |
Con Kolivas
|
8708b36b8d
|
Use async send proc in the connector
|
10 years ago |
Con Kolivas
|
9378f77fd9
|
Add an asynchronous send proc function which uses each process' generic workqueues if they exist
|
10 years ago |
Con Kolivas
|
97e2b3179b
|
Keep track of per process ckwqs in the ckpool structure
|
10 years ago |
Con Kolivas
|
fc34318ea8
|
Revert to synchronous proc messages in anticipation of new async functions
|
10 years ago |
Con Kolivas
|
6c75760502
|
Use the generic workqueues for do_update
|
10 years ago |
Con Kolivas
|
e40d560f57
|
Create a pool of workqueue threads for use by the stratifier using them for share processing, stratum receiving and transaction processing
Conflicts:
src/stratifier.c
|
10 years ago |
Con Kolivas
|
adec278e7c
|
Create generic workqueue function and message receiving and parsing helpers
|
10 years ago |
Con Kolivas
|
234f76f8e5
|
Force a reconnect send to clients that have been given the reconnect flag already and are requested to reconnect again
|
10 years ago |
Con Kolivas
|
77e68e8db1
|
Revert "Send reconnect to clients immediately upon detecting they're sending to a dead proxy instead of flagging them"
This reverts commit ac8bb3259d .
|
10 years ago |
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
|
ac8bb3259d
|
Send reconnect to clients immediately upon detecting they're sending to a dead proxy instead of flagging them
|
10 years ago |
Con Kolivas
|
6971bf45cd
|
Remove the old pid file per process when preparing the new child processes
|
10 years ago |
Con Kolivas
|
1bdf57e21d
|
Cope with unknown pids in various send msg commands without terminal failure
|
10 years ago |
Con Kolivas
|
0a165bfc66
|
Revert to lazily reconnecting all clients to prevent floods
|
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
|
a470ca6431
|
Only reconnect clients when there is room for them on the new proxy, tagging the rest and recruiting as needed
|
10 years ago |
Con Kolivas
|
08d8644d1a
|
Still drop clients from dead proxies even if we don't have their data any more
|
10 years ago |
Con Kolivas
|
73e6824c00
|
Recruit more proxies when we have flagged clients in reconnect_clients
|
10 years ago |
Con Kolivas
|
cffc412427
|
Combine the reconnect proxy functions, switching as many clients as there is headroom and flagging the rest for lazy reconnection
|
10 years ago |
Con Kolivas
|
51337105ac
|
Count existing reconnects in headroom count
|
10 years ago |
Con Kolivas
|
0c185fbd2a
|
Max sure max headroom variable is 64 bit
|
10 years ago |
Con Kolivas
|
765c3a050d
|
Reset the pi pid after a failure to find the process alive so we can look it up again in case it has changed
|
10 years ago |
Con Kolivas
|
9e5d725e68
|
Make all one way send_procs asynchronous to avoid message response deadlocks
|
10 years ago |
Con Kolivas
|
b0060079db
|
Return value of send_proc is never used
|
10 years ago |
Con Kolivas
|
dffc938519
|
Free buffer used in generator
|
10 years ago |
Con Kolivas
|
9842659e39
|
Fix buf dereference error
|
10 years ago |
Con Kolivas
|
47fa24dca0
|
Move reap messages out of lock
|
10 years ago |
Con Kolivas
|
f37279da12
|
Check for correct condition in wait_close
|
10 years ago |
Con Kolivas
|
7fb37b7886
|
Do not loop after updating immediately in the strat loop
|
10 years ago |
Con Kolivas
|
cef4a2cd36
|
Show message associated with no close fd detection
|
10 years ago |
Con Kolivas
|
235cdf3c96
|
Flag proxies as dead if they fail connect_proxy
|
10 years ago |
Con Kolivas
|
1ff651971f
|
Close socket before adding message to recvs
|
10 years ago |
Con Kolivas
|
65d9abab0b
|
Skip subproxies that don't yet have a current workbase when selecting a subscription
|
10 years ago |
Con Kolivas
|
111a10bf9d
|
Send clients a reconnect even if we're switching to a backup pool
|
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
|
8c07e6eda7
|
Give extra info for extranonce size in update subscribe
|
10 years ago |
Con Kolivas
|
ad5b2a089b
|
Add warning about reason for failed subscription
|
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
|
33f8c4275d
|
Close our end of the socket in send_proc
|
10 years ago |