2548 Commits (d91295cf823de957ede44f180ec72f52c1279058)

Author SHA1 Message Date
Con Kolivas 5534bc9919 Remove delete_init usage which was an unnecessary attempt at fixing other issues 10 years ago
kanoi 0e2a690e97 ckdb - remove compile warning 10 years ago
kanoi 7101cf74ea ckdb - remove duplicate variables 10 years ago
Con Kolivas f01bb374b7 Dump the user stats to log in statsupdate outside of lock 10 years ago
Con Kolivas 96280964ee Read user and workerstats from logs on standalone mode outside of lock 10 years ago
Con Kolivas 923eb44796 Cache value of ssends 10 years ago
Con Kolivas 102ed8748b Cache and use value of current_workbase in __stratum_notify 10 years ago
Con Kolivas 309079238a Differentiate lock contention from failing to get a response in failed auth message 10 years ago
Con Kolivas 15a4fd91a6 Add ckdbq entries outside of the instance lock in update_workerstats 10 years ago
Con Kolivas 41c74985ce Print warning messages to console before attempting to log them in case of inability to write to the log 10 years ago
Con Kolivas 6c2582fa3c Remove use of logdebug within __add_dead 10 years ago
Con Kolivas d7417e9460 Move use of LOGINFO out of __stratum_add_instance 10 years ago
Con Kolivas 9396a8d39e Remove use of LOGDEBUG within locks in del dead/disconnected 10 years ago
Con Kolivas 603306739e Move log usage out of lock in drop_client 10 years ago
Con Kolivas fd2369921a Move possible LOGINFO use out of lock usage in drop_client 10 years ago
Con Kolivas 6b30cfc9d0 Move possible LOGERR usage ouf ot lock in __drop_client 10 years ago
Con Kolivas 4e6612be31 Move logging out of lock in add_base 10 years ago
Con Kolivas 71917ed4da Do not send messages from the connector of clients we've already dropped 10 years ago
kanoi 954660c708 ckdb/php - add status images to top left 10 years ago
Con Kolivas a102827cf9 Sanity test 10 years ago
Con Kolivas 7b450f16b6 Add client reference from moment we receive a message 10 years ago
Con Kolivas 404e43ebe4 Deauth client when asked to drop it 10 years ago
Con Kolivas aa0086079f Use HASH_ITER in update_diff for clarity 10 years ago
Con Kolivas f8e644e959 Optimise new_share for the common case where shares are new, minimising time under wlock 10 years ago
Con Kolivas 61576761ba Avoid taking recursive locks in new_enonce1 in proxy mode 10 years ago
Con Kolivas b40b47efb4 Age shares whose workbase id matches the one being aged 10 years ago
Con Kolivas 3bbce63302 Generate connector stats on command 10 years ago
Con Kolivas d6c57c0817 Do not check for thread shutdown on every pass through the connector 10 years ago
Con Kolivas e64db6bb40 Fix memleak on each reject reason message 10 years ago
Con Kolivas 94f6236d3c Optimise json malloc strategy to minimise memory allocations and avoid unnecessary strdups 10 years ago
Con Kolivas b23dbab1a1 Use a doubly linked list for dead clients in the connector for O(1) removal 10 years ago
Con Kolivas 3c3621cc43 Use delete_init on the DL lists used in stratifier for thoroughness 10 years ago
Con Kolivas 49266178e5 Add a DL_DELETE_INIT to delete items from a DL list and NULL the prev/next pointers 10 years ago
Con Kolivas 0f9e594dba Change dead instance linked list to doubly linked for O(1) removal 10 years ago
kanoi 55595f3855 ckdb/php - put the pool block # in the web block information 10 years ago
kanoi 73cc2eb405 ckdb - breakdown() allow zero length string values 10 years ago
kanoi 373bf7749f ckdb - report reload total lines per second 10 years ago
Con Kolivas 8ec6f3ce11 Add ckmsgq stats to stratifierstats. 10 years ago
kanoi 9aa281539d ckdb - direct code a json decode replacement for breakdown() 10 years ago
Con Kolivas a44d00bf43 Maintain a count of messages used in ckmsgq 10 years ago
Con Kolivas b188ec8a9c Add share stats to stratifierstats 10 years ago
Con Kolivas 0e5c5af1e6 Create basic stratifier stats reporting on command 10 years ago
Con Kolivas cced9e43b2 Add a helper function to libckpool for setting a json object 10 years ago
Con Kolivas 39fcdb8848 Change stratifier disconnect/drop message to not appear to be the server doing the disconnecting 10 years ago
ckolivas 3bce852a28 Null the source pointer that calls jsonp_free generically as a sanity precaution. 10 years ago
Con Kolivas c317588c6d Change ckdb userstats to update every minute instead of every 10 minutes 10 years ago
kanoi b92f78884b ckdb - fix unused variable warnings 10 years ago
kanoi a111f51dda ckdb - dont store user/workerstats in the DB and only the last one per worker in RAM 10 years ago
Con Kolivas 0bd96f22e6 Don't queue workerstats while ckdb is offline 10 years ago
Con Kolivas 1624d527b9 Use a portable boolean to tell us when ckdb is offline and change it under lock 10 years ago