Con Kolivas
|
babccc6ddf
|
Actually terminate when the child process dies.
|
10 years ago |
ckolivas
|
06fc1da6c1
|
Keep track of the highest client id the stratifier has seen to avoid needing to iterate over all disconnects to see if it exists
|
10 years ago |
ckolivas
|
8959cac620
|
Set to read only various constants in ckpool.c
|
10 years ago |
ckolivas
|
4585f634b8
|
Set to read only various constants in stratifier.c
|
10 years ago |
ckolivas
|
112500f3fd
|
Remove now unnecessary declaration.
|
10 years ago |
ckolivas
|
d4c4c2c76d
|
Revert "Sanity check various jp parameters before trying to decref them"
This reverts commit 3e1cedfc74 .
Unnecessary
|
10 years ago |
ckolivas
|
3e1cedfc74
|
Sanity check various jp parameters before trying to decref them
|
10 years ago |
ckolivas
|
999f46ed1d
|
Deep copy json method in create_json_params in case a non-standard request is made
|
10 years ago |
ckolivas
|
b69037680d
|
Don't bother NULLing automatic json params variables at end of functions
|
10 years ago |
ckolivas
|
6b5cf01272
|
Reuse free_smsg
|
10 years ago |
ckolivas
|
ab93d55bad
|
Do not return dropped clients in ref_instance_by_id
|
10 years ago |
ckolivas
|
9b2c30bcfa
|
Add notification if referenced disconnected or dead clients exist which shouldn't happen.
|
10 years ago |
ckolivas
|
aa23506ac2
|
Delete killed clients after a minute in case we have missed dangling references
|
10 years ago |
ckolivas
|
7a9e162b8e
|
Rename instance to user in __drop_client
|
10 years ago |
ckolivas
|
915e64b5fb
|
Don't use instance as a name for user_instance_t in worker_instance
|
10 years ago |
ckolivas
|
eb9e3d06c5
|
Replace all use of instance for user_instance_t with user for clarity
|
10 years ago |
ckolivas
|
192c2d0dbc
|
Replace all uses of the term instance for stratum_instances to client to avoid confusion
|
10 years ago |
ckolivas
|
54cf34a353
|
Rename stratum instances clients to avoid confusion
|
10 years ago |
ckolivas
|
19ca4d0f8c
|
Silence unused warning
|
10 years ago |
Con Kolivas
|
b584cd0654
|
Don't try to respawn dead processes for now
|
10 years ago |
ckolivas
|
71e6481dc6
|
Don't try to grab stats from ckdbq in standalone mode
|
10 years ago |
ckolivas
|
0ab5f4c0a1
|
Do not reconnect to an instance that still holds a reference
|
10 years ago |
ckolivas
|
2574d44385
|
Every common use of the share lock uses only the write lock so convert it to a mutex
|
10 years ago |
Con Kolivas
|
cf516c96e7
|
Refuse auth attempts for progressively longer periods on failed attempts up to a maximum of 10mins
|
10 years ago |
Con Kolivas
|
21c7fcb2c2
|
Do not grab the cdata lock in the connector when sending data as false negatives are safe
|
10 years ago |
Con Kolivas
|
44c990a589
|
Handle present but drop tagged client properly and don't leak the smsg ram
|
10 years ago |
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 |