Con Kolivas
|
e465fb6d6e
|
Don't try to discard passthrough clients to prevent derefs
|
10 years ago |
Con Kolivas
|
413f8f538a
|
Remove dereferencing error of accessing authorised after client may be killed
|
10 years ago |
Con Kolivas
|
57cc749ae3
|
Guarantee reliable worker count by counting all clients once their user is recognised
|
10 years ago |
Con Kolivas
|
9341ffb640
|
Highest client id may not be reliable enough to prevent duplicate ids
|
10 years ago |
Con Kolivas
|
a8d701df36
|
Discretely handle authorisation attempt to make it impossible to try and authorise twice
|
10 years ago |
Con Kolivas
|
a29c423052
|
Trivial comment change
|
10 years ago |
Con Kolivas
|
880101ccbc
|
Remove unnecessary extra list when clients are dead
|
10 years ago |
ckolivas
|
f6ac71033c
|
Disconnected and dead clients can't be holding a reference
|
10 years ago |
Con Kolivas
|
897df18c2f
|
Send a whole update to a client instead of just the diff if they've only been sending rejects
|
10 years ago |
Con Kolivas
|
b5fcff0bcb
|
Optimise method parsing for the common case of shares first and do not allow clients to try and subscribe or authorise twice
|
10 years ago |
Con Kolivas
|
d59787a0e5
|
Do lazy invalidation without parsing method
|
10 years ago |
Con Kolivas
|
12d9827ba1
|
Trivial comments
|
10 years ago |
Con Kolivas
|
2f53e6a004
|
Minor comment
|
10 years ago |
Con Kolivas
|
37b2f3a8b2
|
Fix minor memory leak when requesting stats
|
10 years ago |
Con Kolivas
|
eacb000ad9
|
Elaborate on killing proxy message
|
10 years ago |
Con Kolivas
|
415e3864fa
|
Handle old instance processes before forking any new ones for there to be no conflict with the stored pid numbers in the filenames
|
10 years ago |
Con Kolivas
|
b1218a7cf0
|
Add config option to prioritise more clients than supporting clients with high hashrates
|
10 years ago |
Con Kolivas
|
60864c7bdf
|
Fix symbol size warning
|
10 years ago |
Con Kolivas
|
43d1336321
|
Increment proxy count only after new proxy is set up
|
10 years ago |
Con Kolivas
|
a7ed36931f
|
Fix proxy reconnect potentially trying to switch proxies before the instance is fully set up and bypass old instances that have issued a reconnect
|
10 years ago |
Con Kolivas
|
79bd0c0112
|
If these memory tricks are not good enough for valgrind they're not good enough for ckpool
|
10 years ago |
Con Kolivas
|
0c07ddb5ad
|
Don't use client structure out of lock in connector's drop_client
|
10 years ago |
kanoi
|
2c35501d6d
|
ckdb - don't store auths in the db
|
10 years ago |
Con Kolivas
|
ab4a9fc1a0
|
Cope with client.reconnect listing port as a string instead of integer
|
10 years ago |
Con Kolivas
|
75f24a5d16
|
Cope with a socket line that is closed at the end of the message
|
10 years ago |
Con Kolivas
|
d54a3156ad
|
Read off any cached mindiff when we do a delayed auth
|
10 years ago |
Con Kolivas
|
10613ecc76
|
Set client user_instance under lock to prevent race upon client removal
|
10 years ago |
Con Kolivas
|
d0bccb1e11
|
Remove unnecessary delay in removing dead clients with real dereference bug being found
|
10 years ago |
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 |