1953 Commits (08a997e19047ea60180ad81de3ad83fca2414613)
 

Author SHA1 Message Date
Con Kolivas 08a997e190 Remove the unused msg_id field 10 years ago
Con Kolivas 0dece89fa3 Fix const warning 10 years ago
Con Kolivas df7d17f3a9 Ensure we use int64 for internal jobid throughout and add the string to debug message from the upstream pool 10 years ago
Con Kolivas 7f04ba2e03 Transmit the actual workbase we want broadcast with stratum_broadcast_update and add more info the verbose logging 10 years ago
Con Kolivas b3589a71f3 Add proxy info to verbose share result logging 10 years ago
Con Kolivas d9b27c612c Add received proxy share result to verbose logging output 10 years ago
Con Kolivas af21689d67 Don't reconnect generator immediately after the reconnect message, waiting for the first proxy_alive test on the new instance 10 years ago
Con Kolivas 7e343244ea Change message slightly since we don't necessarily reconnect 10 years ago
Con Kolivas 5123b2e0ec Only trigger connection recruitment if we're reconnecting clients 10 years ago
Con Kolivas 11cc87393a Reconnect instead of testing clients that have their reconnect flag set on a stratum broadcast 10 years ago
Con Kolivas 4e5401a991 Reconnect clients connected to the parent proxy when it's replaced 10 years ago
Con Kolivas 36b217a45d Count dropped workers in _dec_instance_ref 10 years ago
Con Kolivas 3e760f1993 Reconnect parent proxy even if subproxies are alive 10 years ago
Con Kolivas f78f72dc4f Make a new proxy inherit the existing subproxies of the old one 10 years ago
Con Kolivas 4d25a197e7 Only have one thread trying to reconnect a proxy at a time 10 years ago
Con Kolivas 2cc67dab43 Only one workqueue will suffice in the generator when there's no conflict over resources 10 years ago
Con Kolivas 6e95cd1f66 Revert "Use generic workqueues for the recruit subproxy function" 10 years ago
Con Kolivas b153be29fa Revert "Use generic workqueues for the proxy reconnect function" 10 years ago
Con Kolivas eef959f5d8 Fix use of ckwq variables 10 years ago
Con Kolivas 2347097476 Move client culling and testing to the broadcast to avoid cycles of drop/test 10 years ago
Con Kolivas 2ff9d7f0f6 Drop clients bound to a subproxy even if the proxy no longer exists in dead_proxy 10 years ago
Con Kolivas fe7ea6ae89 Demote updated diff message 10 years ago
Con Kolivas c55cf08d6a Check for failure to decode proxy/subproxy in update_subscribe 10 years ago
Con Kolivas 4ff3972ef0 Look for other clients that should have been dropped in the stratifier and inform or query the connector about them 10 years ago
Con Kolivas 41388a6e8c Add proxy details to notify logging 10 years ago
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 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" 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