600 Commits (f0e895c333673dba2eb61084b4ac220b35507190)

Author SHA1 Message Date
Con Kolivas ef649813f8 Dead stratum instances need not be in a doubly linked list 10 years ago
Con Kolivas 0941d5a751 Add disconnected stratum clients to a linked list and use reference counting to know when they are no longer being referenced and can have their data freed. 10 years ago
Con Kolivas f5f5c6a678 Only read off the user and workerstats from previous startup and bias pool stats in standalone mode 10 years ago
Con Kolivas d86c0cd2c0 Differentiate failed getbase requests that occur for priority reasons from actual comms failures and clarify and demote the messages accordingly 10 years ago
Con Kolivas b7785415e6 Privatise all the data in the stratifier 10 years ago
Con Kolivas 5ccd3b5340 Send workerstats to ckdb instead of client stats 10 years ago
Con Kolivas 93e0e55cf0 Store start time and idle status per worker 10 years ago
Con Kolivas f85089eeec Remove EOS marker in userstats in preparation for moving from client to worker stats 10 years ago
Con Kolivas 2f3fba27a3 Use a sanity check on idstring from the job_id passed in parse_submit 10 years ago
Con Kolivas a058c387b3 Give pings an integer id and handle pongs and spurious responses without an error message 10 years ago
Con Kolivas 3cb0546c10 Recruit extra stratum receive processes based on number of CPUs 10 years ago
Con Kolivas 3f061c9331 Do the CPU intensive part of a stratum receive outside the main stratum loop 10 years ago
Con Kolivas 329afb56ac Cosmetic tidy 10 years ago
Con Kolivas f517a593c4 Create half as many share processing threads as there are CPUs 10 years ago
Con Kolivas 995fce28c1 Make it possible to create many threads associated with a ckmsgq 10 years ago
Con Kolivas 9f8237909f Fix apparent dropping of hashrate on restart due to zero last share time 10 years ago
Con Kolivas 2b77a6957c Add output of sps loaded from user and worker stats 10 years ago
Con Kolivas f11f957cda Read off worker and user stats from saved logs if they exist 10 years ago
Con Kolivas 0fa0bbef4d Add 7 day stats to pool and users 10 years ago
Con Kolivas ad4e959a80 Clamp suggest diff to pool mindiff directive 10 years ago
Con Kolivas 9dae34e3fa Make update_base calls asynchronous to not hold up stratum loop messages and ping miners if we get no base to keep them mining 10 years ago
Con Kolivas c0aba3449f Add support for job_id being in the params for get_transactions while maintaining backward support for job_id being embedded in the method. Convert get_txnhashes to using only params for the job_id. 10 years ago
Con Kolivas d6955d3345 Remove lower limit on suggest-diff since it is usually only set on initial client connect 10 years ago
ckolivas cab3e94ada Allow reconnect to take a :url,port extension to specify where to reconnect to 10 years ago
Con Kolivas 17bb17f233 Try sanitising too short nonce2 submissions as well as too long by appending 0s 10 years ago
Con Kolivas eabc96c5e1 Failure to update subscribe should not be terminal 10 years ago
Con Kolivas 88471cabc9 Implement support for the more logical positioning of diff within suggest_difficulty parameters instead of the method itself while maintaining support for the original reference documented form 10 years ago
Con Kolivas 4a4e12a7ad Fix nonce2 sanitisation 10 years ago
Con Kolivas 71cdbfa560 Create a list of solved blocks, passing the hash to and from the generator to ensure we flag the correct block and workinfo 10 years ago
Con Kolivas 1176d71211 Decrease the loglevel of failing to find workers' diff to set 10 years ago
Con Kolivas 5532de0f1b Implement a stratum reconnect function 10 years ago
Con Kolivas a33dfd066a There is no need to place the clamp on lowering diff with suggest_diff since it is predomoninantly used at miner startup and we can rapidly adapt should it be too low anyway 10 years ago
kanoi 7d59f98624 stratifier - process the heartbeat json 10 years ago
Con Kolivas c8a330dbd8 We should be doing a cmdmatch not a full string match for heartbeat commands 10 years ago
Con Kolivas 4d69bd2423 Wrong test on result_val 10 years ago
Con Kolivas e8179cd951 Drop log level for failed auth json decode failure 10 years ago
Con Kolivas fcfc06e77b More logic fail 10 years ago
Con Kolivas 5fd152c370 Reverse logic 10 years ago
Con Kolivas f3254ea170 Check for addrauth as well in send_recv_auth 10 years ago
Con Kolivas 574d028d95 Parse the ckdb heartbeat response for setting worker mindiff 10 years ago
Con Kolivas 6a72525b8b Search for authorise in response instead of auth to match query 10 years ago
Con Kolivas 27ac4e23ef Parse the difficultydefault entry returned from authorise 10 years ago
Con Kolivas 3288b15622 Parse new auth command from ckdb 10 years ago
Con Kolivas 03878efb0e The stats on idle miners were being decayed with the wrong time interval so would appear to drop to almost zero on any idle period 10 years ago
Con Kolivas b08f4bcb69 Drop clients lazily when the proxy is full 10 years ago
Con Kolivas 1b45079802 Keep track of clients that submit a run of continuous rejects and send them a diff update if they do it for longer than 1 minute and then lazily drop them if it goes beyond 2 minutes 10 years ago
Con Kolivas 1f68a5a98b Use the Close handler in the stratifier 10 years ago
Con Kolivas 070a1a3b3e Cache reused bias calculations 10 years ago
Con Kolivas 6acb482e7a Bias workers as well as users 10 years ago
Con Kolivas 6ba4cf50a5 There is no need to bias 60 second times, and we should bias worker stats 10 years ago