669 Commits (64f4abd302f92a7eedf0bace475b4bc8badd1d75)

Author SHA1 Message Date
Con Kolivas 64f4abd302 Count combined clients per parent proxy 10 years ago
Con Kolivas 45e80f09ff Send a blank sessionid in proxy mode so clients don't think we have resumed if enonce1 ends up matching on reconnect 10 years ago
ckolivas d5dedfe4a9 Demote discarded message 10 years ago
ckolivas 0a4ce58b3f Dramatically simplify the setting of enonce1 to just an LE encoded 64 bit 10 years ago
ckolivas 7ca5f9688f Use the same enonce1u across all proxies to avoid clients thinking they have resumed with the same sessionid and enonce1u 10 years ago
Con Kolivas 8cd36b225b We must flag all clients to switch on a deadproxy regardless of whether there is room on the current proxy or not 10 years ago
Con Kolivas 656da05f83 Add proxy info to client auth message 10 years ago
Con Kolivas c28a8fa202 Avoid any attempt at using sessionid in proxy mode 10 years ago
Con Kolivas a7252c83d5 Limit reconnects sent concurrently 10 years ago
Con Kolivas ecc4482b79 Test for dropped clients before not authorised ones 10 years ago
ckolivas d103ea97df Only kill off proxy if it's actually dead 10 years ago
Con Kolivas 228c2cf19b These weren't the droids we were looking for 10 years ago
Con Kolivas d75dd5543c Try async messages again 10 years ago
Con Kolivas 918a6ebe0c Make the stratifier tell the generator precisely how many extra connections we need 10 years ago
Con Kolivas a6ac868cd3 Rework subproxy recruitment to allow requests to stack but abandon them if the subproxy is not alive 10 years ago
Con Kolivas daa478f1f5 Off by one on headroom 10 years ago
Con Kolivas cd342551a8 Count reconnecting clients as part of the headroom consumed 10 years ago
Con Kolivas ad5def42d2 Reassess headroom and recruit extra proxies upon receiving each new subscribe 10 years ago
Con Kolivas 565d253e3f Reassess on all notifies 10 years ago
Con Kolivas 6f08c301e9 Tweak reconnects 10 years ago
Con Kolivas 95102da854 Only set current proxy to a parent proxy 10 years ago
Con Kolivas 7a4cab1a88 Reset parent proxy as well in reap_proxies and add some sanity checks, removing now unused retired proxies list 10 years ago
Con Kolivas 0e70b8bf19 Reuse proxies that are still alive and no longer have any clients bound to them 10 years ago
Con Kolivas 2054f116d7 Only reconnect with the parent proxy notify 10 years ago
Con Kolivas 55d616817b Use the proxy id to determine if we should try reconnecting clients on notify 10 years ago
Con Kolivas 75b9a4f140 Reconnect clients on every notify from a subproxy 10 years ago
Con Kolivas 7009fb1077 Reconnect clients whenever we detect a new notify from a subproxy of the current proxy 10 years ago
Con Kolivas 73dab07652 Add proxy selection info 10 years ago
Con Kolivas 9234ced6f2 Give subproxy the lowid of the parent proxy 10 years ago
Con Kolivas 668d96710e Check lowids in selecting stratum data 10 years ago
Con Kolivas 2f2d454763 Create new instances of proxies on reconnect instead of trying to overwrite old ones on reconnect 10 years ago
Con Kolivas 14873b44b7 Convert proxy id to int64 10 years ago
Con Kolivas 922855b171 Fine tune proxy reconnects 10 years ago
Con Kolivas dd22d73145 Do not switch more clients than we have headroom 10 years ago
Con Kolivas fc75956823 Replace the parent of existing proxies with the new one 10 years ago
Con Kolivas 6b3cd82525 Revert "Use async send proc as a separate thread from workqueues" 10 years ago
Con Kolivas 8502036c5d Only dec worker if user is set 10 years ago
Con Kolivas 4a3907d4e1 Remove use of unreliable notify_id to determine if clients are on the current pool with the more extensive switching in place 10 years ago
Con Kolivas 7de43b1c6e Use async send proc as a separate thread from workqueues 10 years ago
Con Kolivas 08a997e190 Remove the unused msg_id field 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 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 f78f72dc4f Make a new proxy inherit the existing subproxies of the old one 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