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 |
kanoi
|
a285628a49
|
ckdb - allow a heartbeat from the pool and give a generic reply
|
10 years ago |
kanoi
|
e44de0112b
|
ckdb/php - add some block stats to workers
|
10 years ago |
kanoi
|
87219bd7e2
|
ckdb - allow optional fields to report errors
|
10 years ago |
li xin
|
5021a3d40f
|
bitcoin.c edited online with Bitbucket
|
10 years ago |
Con Kolivas
|
e441e65c53
|
Ping miners regularly in proxy mode to ensure they don't disconnect when diff is too high for them and they receive no update
|
10 years ago |
Con Kolivas
|
eeba52e716
|
Remove enonce1 debugging
|
10 years ago |
Con Kolivas
|
8c44df96cb
|
Ignore reject floods on initial connect
|
10 years ago |
Con Kolivas
|
c4506c7e47
|
Round away from zero when choosing optimal diff
|
10 years ago |
Con Kolivas
|
3d6601d20c
|
Maximise the nonce2 size in proxy mode and ensure we don't clash enonce1 instances, rejecting clients when there is no more space available
|
10 years ago |
Con Kolivas
|
b44a347e97
|
Add console warning on restart
|
10 years ago |