395 Commits (6b9c558abc1630de1f48069b519b35ced19e3fc2)

Author SHA1 Message Date
ckolivas 62117bb380 Reset all best share counters after a block solve 10 years ago
ckolivas 5cff5ae477 Drop two potentally unhandled reference counts 10 years ago
Con Kolivas d64a0fa5de Dead instances are a singly linked list only 10 years ago
Con Kolivas 4d72f49061 Preauth workers for the first 10 minutes after a user first authorises 10 years ago
Con Kolivas de0f3438e9 Don't use JSON_EOL for logged text 10 years ago
Con Kolivas e1e2d06a4f Use JSON_EOL where suitable in stratifier 10 years ago
Con Kolivas 638ce65c5b Add best share support per client/worker/user and display it per worker/user 10 years ago
kanoi 503ec09f27 make LOG* macros typecheck and fix related errors/warnings 10 years ago
Con Kolivas 6a4da2814c Look for received json messages in the stratifier first since they'll be the most common 10 years ago
Con Kolivas 807d5a403c Only add secondaryuserid with ckdb 10 years ago
Con Kolivas cb1e3b8637 Fine grain create the json share error to debug each field 10 years ago
Con Kolivas 6ab9129bd6 Send the associated serverurl with client based data sent to ckdb 10 years ago
Con Kolivas b8e125a1f7 Store which serverurl each client is bound to in the connector and pass the information to the stratifier 10 years ago
Con Kolivas 8d4a0f3fa7 Fix pointer 10 years ago
Con Kolivas 5dd076cfbe Allow serverurl to take an array of entries for future binding to multiple interfaces/ports 10 years ago
Con Kolivas 0709058b25 Allow nonce1 and nonce2 lengths to be specified separately 10 years ago
Con Kolivas 721d6d22ab Set the initial enonce1 to a value that will differ on every restart 10 years ago
Con Kolivas ab91682e22 Add support for custom extranonce1 lengths 10 years ago
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