Con Kolivas
|
c9c6f1175d
|
Don't try to add a new stratum instance for a client already on one of the dropped lists
|
10 years ago |
Con Kolivas
|
52b81dfe22
|
Match to existing worker instance from the userlist, not the client list which gets emptied
|
10 years ago |
Con Kolivas
|
ad622680cb
|
Rename user instance user in generate_user for clarity
|
10 years ago |
Con Kolivas
|
0c1fd0c865
|
Do not create unnecessary ckdbqueue in standalone mode.
|
10 years ago |
Con Kolivas
|
f261569922
|
Revert "Add message about lost ram in block solve and reject."
This reverts commit 99dc8947d2 .
|
10 years ago |
Con Kolivas
|
b7f7e71f7a
|
Make dealloc entirely a macro allowing the compiler to optimise out the pointer nulling if it's unneeded
|
10 years ago |
Con Kolivas
|
5ce2ad3ec2
|
Revert "Add a DL_DELETE_INIT to delete items from a DL list and NULL the prev/next pointers"
This reverts commit 49266178e5 .
|
10 years ago |
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 |