2416 Commits (65957df813755ecbdc1759bcfa091f30a593dc34)
 

Author SHA1 Message Date
Con Kolivas d75dd5543c Try async messages again 10 years ago
Con Kolivas d745e7135d Remove the old proxy on a reconnect so we don't send shares nowhere 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 89f22deaff Remove fds from the proxy recv epoll when they're being closed 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 dd4b563cb9 Clean up and test return values of share decoding in submit_share 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 484bdbaad2 Cosmetic 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 2b6b3fdbd7 Look for replacement proxies in wait_best_proxy as well 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 ac86d9b736 Add an HASH_REPLACE_I64 helper macro 10 years ago
Con Kolivas 7f129e93c8 Revert "Revert "Rate limit proxy recruiting to one thread at a time"" 10 years ago
Con Kolivas 80c0ddb346 Revert "Rate limit proxy recruiting to one thread at a time" 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 d8eaa0b4e9 Rate limit proxy recruiting to one thread at a time 10 years ago
Con Kolivas 6b3cd82525 Revert "Use async send proc as a separate thread from workqueues" 10 years ago
Con Kolivas 51670edb61 Move to only reconnect the client sending shares to the dead proxy to smooth out reconnects 10 years ago
Con Kolivas 7fa3dc2529 Only dec worker if user exists 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 21194cfbb4 Count dropped workers in _dec_instance_ref 10 years ago
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