600 Commits (f0e895c333673dba2eb61084b4ac220b35507190)

Author SHA1 Message Date
Con Kolivas b3d251638f Only add authorised clients to disconnected list 10 years ago
Con Kolivas 98bf62ab67 Fill enonce1 data properly for stratum reconnect support 10 years ago
Con Kolivas 407f087c63 Give an outright fail response if failed msg is received from ckdb on auth 10 years ago
Con Kolivas 451256f6cb Only give unparseable auth message when failed message is not recognised 10 years ago
Con Kolivas c7600f281b Differentiate generated authed users from unauthorised and don't do any stats on unauthed users 10 years ago
Con Kolivas 8c6e786cef Check for corrupt ckdb responses in send_recv_auth 10 years ago
ckolivas 2231a38455 Read off best share stats if they exist per user and worker 10 years ago
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 8964743cd1 Disable resume support till dereference issue in disconnected_instances resolved 10 years ago
Con Kolivas 9b56c0c546 Fill enonce1 data properly for stratum reconnect support 10 years ago
Con Kolivas b1f7cd833d Give an outright fail response if failed msg is received from ckdb on auth 10 years ago
Con Kolivas 2980ff4032 Only give unparseable auth message when failed message is not recognised 10 years ago
Con Kolivas 9edf91d17e Differentiate generated authed users from unauthorised and don't do any stats on unauthed users 10 years ago
Con Kolivas 84dc0146e5 Check for corrupt ckdb responses in send_recv_auth 10 years ago
ckolivas 0c51e7e863 Read off best share stats if they exist per user and worker 10 years ago
ckolivas 85230c270e Reset all best share counters after a block solve 10 years ago
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