Con Kolivas
|
146e3140f3
|
Add client source port to verbose logging
|
10 years ago |
Con Kolivas
|
5c6e048a2e
|
Poll every 100ms instead of every second in the connector to rapidly pick up new clients
|
10 years ago |
Con Kolivas
|
26b4037eff
|
Log a warning if a client with an invalidated fd is still in the fdclients hashtable
|
10 years ago |
Con Kolivas
|
3bf4e0de8d
|
Always send dropclient to the stratifier on every invalidate client call
|
10 years ago |
Con Kolivas
|
1f68a5a98b
|
Use the Close handler in the stratifier
|
10 years ago |
Con Kolivas
|
5a9eb76488
|
Use the Close handler in the generator
|
10 years ago |
Con Kolivas
|
7da6c0b2a0
|
Use the Close handler in connector.c
|
10 years ago |
Con Kolivas
|
e683fa42b6
|
Use the Close handler in ckpool.c
|
10 years ago |
Con Kolivas
|
bae2493346
|
Add a helper for close which invalidates the file handle as well
|
10 years ago |
Con Kolivas
|
070a1a3b3e
|
Cache reused bias calculations
|
10 years ago |
Con Kolivas
|
86f72ff889
|
Keep rereading in parse_client_msg if the socket indicates it is still ready for further reads
|
10 years ago |
Con Kolivas
|
8d625b736b
|
Revert "Close polled fds that are ready for reads but no longer have a client associated with them"
This reverts commit f6f61e8870 .
|
10 years ago |
Con Kolivas
|
6acb482e7a
|
Bias workers as well as users
|
10 years ago |
Con Kolivas
|
6ba4cf50a5
|
There is no need to bias 60 second times, and we should bias worker stats
|
10 years ago |
Con Kolivas
|
f0f948171a
|
Invalidate interrupted clients and increase verbosity of messages logged
|
10 years ago |
Con Kolivas
|
f6f61e8870
|
Close polled fds that are ready for reads but no longer have a client associated with them
|
10 years ago |
Con Kolivas
|
48b2e72661
|
Rereading with dontwait is pointless and adds complexity
|
10 years ago |
Con Kolivas
|
ae1f9827ac
|
Revert "Always re-read with dontwait when parsing a client message"
This reverts commit e3b4d969d5 .
|
10 years ago |
Con Kolivas
|
e3b4d969d5
|
Always re-read with dontwait when parsing a client message
|
10 years ago |
Con Kolivas
|
1e175d851c
|
Missing valid but not submitted count for proxy
|
10 years ago |
Con Kolivas
|
70393442a3
|
Zero bufofs in connector loop for completeness and make sure to retry if there is more data to read
|
10 years ago |
Con Kolivas
|
53641a9c24
|
Prevent wb dereference in parse_submit
|
10 years ago |
Con Kolivas
|
600e6923fc
|
Count only accepted and stale rejects in diff calculation
|
10 years ago |
Con Kolivas
|
0f7daecac4
|
Stats on 1st reject were being missed
|
10 years ago |
Con Kolivas
|
2d6d982bb1
|
Add buf offset to disconnect message and reset flags on looping
|
10 years ago |
Con Kolivas
|
a493539a75
|
Only add strerro if errno != 0
|
10 years ago |
Con Kolivas
|
17d1455267
|
Add more info to disconnects
|
10 years ago |
Con Kolivas
|
255bab88fe
|
Add a maximum diff option
|
10 years ago |
Con Kolivas
|
857462e16a
|
Simplify the complicated sequential locking to pure choice of write or read in the stratifer
|
10 years ago |
Con Kolivas
|
55ff1389ee
|
Make ckpool built without ckdb support imply standalone and remove ckdb options when build support is disabled
|
10 years ago |
kanoi
|
cfd5e4bd5c
|
ckdb - ckdb_cmd comment update
|
10 years ago |
kanoi
|
0abbed2cf6
|
ckdb - move remaining data code into ckdb_data
|
10 years ago |
kanoi
|
ea8ee0d376
|
ckdb - fix warnings from code break up
|
10 years ago |
Con Kolivas
|
49e465c8d5
|
Remove unnecessary extra step in disconnected_sessionid_exists
|
10 years ago |
Con Kolivas
|
00fc686bbf
|
use a union for the split nonce2 values instead of open coding a pointer version
|
10 years ago |
kanoi
|
50b90b4046
|
ckdb - break up into parts
|
10 years ago |
Con Kolivas
|
ba506f6262
|
Fix more 64bit print modifiers
|
10 years ago |
kanoi
|
64db53c390
|
ckdb/php - add worker diff management
|
10 years ago |
kanoi
|
287b75b7c4
|
ckdb - remove some web duplicate messages from the console
|
10 years ago |
Con Kolivas
|
82c7f24614
|
Add support for setting worker diff and mining.suggest_difficulty parsing
|
10 years ago |
kanoi
|
d2d219cf81
|
ckdb - add 24hr to workers stats
|
10 years ago |
Con Kolivas
|
fff2028591
|
Avoid uninit buf
|
10 years ago |
Con Kolivas
|
87336835f6
|
Log combined per worker stats in a workers subdirectory
|
10 years ago |
Con Kolivas
|
f54aa412b1
|
Create a linked list of each worker per user and decay per worker shares separately
|
10 years ago |
Con Kolivas
|
dd6a576935
|
Remove the linked list of dead clients and maintain a linked list of all workers by user, and store stats per combined workername
|
10 years ago |
Con Kolivas
|
991877134a
|
Send a heartbeat every second to ckdb to allow ckdb to send information not specifically requested while maintaining ckpool msg-response relationship. Do not send heartbeats if there are messages queued already for when ckdb is offline/busy.
|
10 years ago |
Con Kolivas
|
8a0d0667e3
|
Check for initialised ckmsgq when checking if the queue is empty
|
10 years ago |
Con Kolivas
|
90f5936956
|
Add a helper function to detect when a ckmsgq is empty
|
10 years ago |
Con Kolivas
|
17c2276e33
|
Ensure we have serialised access to ckdb by using a mutex on submit/receives for auths since other responses are mostly ignored
|
10 years ago |
Con Kolivas
|
e4f1a87050
|
Add a helper function for pthread_mutex_timedlock
|
10 years ago |