433 Commits (73cc2eb40591aa02c69fbd798ffffe4d384f3708)

Author SHA1 Message Date
ckolivas e1514cdc01 Drop two potentally unhandled reference counts 10 years ago
ckolivas 24cb6e0c3e Count the number of workernames and use that as the upper limit for the sanity check in statsupdate 10 years ago
ckolivas 137203c01a Count each idle client as an idle worker instead of per workername 10 years ago
ckolivas 9c262b7fe8 Keep worker instances in the linked list since we don't know if we're removing the last one or not 10 years ago
ckolivas e91ea6c235 Add sanity breakout of worker instance looping in statsupdate 10 years ago
ckolivas 1465002ecc Only lock and release the write instance lock once in drop_client 10 years ago
ckolivas b172162f27 kill_instance always follows del_disconnected 10 years ago
ckolivas 11fc2fb67d Revert "Only iterate over workers in workerstats if some are left in the worker_instances list" 10 years ago
ckolivas 450f2040b2 Only iterate over workers in workerstats if some are left in the worker_instances list 10 years ago
Con Kolivas 8eee70a4a5 Do not delete the worker instance linked list on removing the worker from the list 10 years ago
Con Kolivas 33c2465eef Remove worker instances and their data on killing their client instances 10 years ago
Con Kolivas 4662873d70 Only add authorised clients to disconnected list 10 years ago
Con Kolivas 0f56ed8c38 Add idle, disconnected and dead counts to pool stats 10 years ago
Con Kolivas 9df5a9cf2e Get rid of cute locking in disconnected session check for simplicity 10 years ago
Con Kolivas 8f10347775 Dead instances are a singly linked list only 10 years ago
Con Kolivas a90b1fd024 Preauth workers for the first 10 minutes after a user first authorises 10 years ago
Con Kolivas 43dc33a54c Age and discard old disconnected instance data after it's been used or no longer relevant 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