Con Kolivas
|
6acb482e7a
|
Bias workers as well as users
|
2014-10-03 12:23:34 +10:00 |
|
Con Kolivas
|
6ba4cf50a5
|
There is no need to bias 60 second times, and we should bias worker stats
|
2014-10-03 12:15:11 +10:00 |
|
Con Kolivas
|
f0f948171a
|
Invalidate interrupted clients and increase verbosity of messages logged
|
2014-10-03 12:04:58 +10:00 |
|
Con Kolivas
|
f6f61e8870
|
Close polled fds that are ready for reads but no longer have a client associated with them
|
2014-10-03 11:55:16 +10:00 |
|
Con Kolivas
|
48b2e72661
|
Rereading with dontwait is pointless and adds complexity
|
2014-10-03 10:36:33 +10:00 |
|
Con Kolivas
|
ae1f9827ac
|
Revert "Always re-read with dontwait when parsing a client message"
This reverts commit e3b4d969d5.
|
2014-10-03 10:34:16 +10:00 |
|
Con Kolivas
|
e3b4d969d5
|
Always re-read with dontwait when parsing a client message
|
2014-10-03 10:31:52 +10:00 |
|
Con Kolivas
|
1e175d851c
|
Missing valid but not submitted count for proxy
|
2014-10-03 09:57:27 +10:00 |
|
Con Kolivas
|
70393442a3
|
Zero bufofs in connector loop for completeness and make sure to retry if there is more data to read
|
2014-10-03 09:10:05 +10:00 |
|
Con Kolivas
|
53641a9c24
|
Prevent wb dereference in parse_submit
|
2014-10-03 09:04:15 +10:00 |
|
Con Kolivas
|
600e6923fc
|
Count only accepted and stale rejects in diff calculation
|
2014-10-03 08:45:39 +10:00 |
|
Con Kolivas
|
0f7daecac4
|
Stats on 1st reject were being missed
|
2014-10-03 08:38:22 +10:00 |
|
Con Kolivas
|
2d6d982bb1
|
Add buf offset to disconnect message and reset flags on looping
|
2014-10-03 01:01:31 +10:00 |
|
Con Kolivas
|
a493539a75
|
Only add strerro if errno != 0
|
2014-10-03 00:54:21 +10:00 |
|
Con Kolivas
|
17d1455267
|
Add more info to disconnects
|
2014-10-03 00:52:09 +10:00 |
|
Con Kolivas
|
255bab88fe
|
Add a maximum diff option
|
2014-10-03 00:07:43 +10:00 |
|
Con Kolivas
|
857462e16a
|
Simplify the complicated sequential locking to pure choice of write or read in the stratifer
|
2014-10-02 23:20:06 +10:00 |
|
Con Kolivas
|
55ff1389ee
|
Make ckpool built without ckdb support imply standalone and remove ckdb options when build support is disabled
|
2014-10-02 20:30:16 +10:00 |
|
kanoi
|
8a9c652065
|
Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool
|
2014-10-02 11:30:41 +10:00 |
|
kanoi
|
0abbed2cf6
|
ckdb - move remaining data code into ckdb_data
|
2014-10-02 11:24:31 +10:00 |
|
kanoi
|
ea8ee0d376
|
ckdb - fix warnings from code break up
|
2014-10-02 11:03:40 +10:00 |
|
Con Kolivas
|
49e465c8d5
|
Remove unnecessary extra step in disconnected_sessionid_exists
|
2014-10-02 02:24:18 +10:00 |
|
Con Kolivas
|
82be9e2cea
|
Merge branch 'master' of bitbucket.org:ckolivas/ckpool
|
2014-10-01 23:52:11 +10:00 |
|
Con Kolivas
|
00fc686bbf
|
use a union for the split nonce2 values instead of open coding a pointer version
|
2014-10-01 23:51:15 +10:00 |
|
kanoi
|
1f16e05f1d
|
Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool
|
2014-10-01 23:11:37 +10:00 |
|
kanoi
|
50b90b4046
|
ckdb - break up into parts
|
2014-10-01 23:09:29 +10:00 |
|
Con Kolivas
|
10777b6f25
|
Merge branch 'master' of bitbucket.org:ckolivas/ckpool
|
2014-10-01 23:03:58 +10:00 |
|
Con Kolivas
|
ba506f6262
|
Fix more 64bit print modifiers
|
2014-10-01 23:03:35 +10:00 |
|
kanoi
|
8376ccffb4
|
php - remove old 'lastblock's
|
2014-09-30 23:24:41 +10:00 |
|
kanoi
|
cc47b062ce
|
Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool
|
2014-09-30 21:56:04 +10:00 |
|
kanoi
|
64db53c390
|
ckdb/php - add worker diff management
|
2014-09-30 21:55:23 +10:00 |
|
kanoi
|
287b75b7c4
|
ckdb - remove some web duplicate messages from the console
|
2014-09-30 19:39:33 +10:00 |
|
Con Kolivas
|
4d230435db
|
Merge branch 'master' of bitbucket.org:ckolivas/ckpool
|
2014-09-30 16:00:59 +10:00 |
|
Con Kolivas
|
82c7f24614
|
Add support for setting worker diff and mining.suggest_difficulty parsing
|
2014-09-30 15:49:26 +10:00 |
|
kanoi
|
d2d219cf81
|
ckdb - add 24hr to workers stats
|
2014-09-30 10:55:13 +10:00 |
|
Con Kolivas
|
fff2028591
|
Avoid uninit buf
|
2014-09-29 21:40:23 +10:00 |
|
Con Kolivas
|
87336835f6
|
Log combined per worker stats in a workers subdirectory
|
2014-09-29 21:35:47 +10:00 |
|
Con Kolivas
|
f54aa412b1
|
Create a linked list of each worker per user and decay per worker shares separately
|
2014-09-29 21:22:28 +10:00 |
|
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
|
2014-09-29 21:01:15 +10:00 |
|
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.
|
2014-09-29 17:30:15 +10:00 |
|
Con Kolivas
|
8a0d0667e3
|
Check for initialised ckmsgq when checking if the queue is empty
|
2014-09-29 17:25:52 +10:00 |
|
Con Kolivas
|
90f5936956
|
Add a helper function to detect when a ckmsgq is empty
|
2014-09-29 17:21:54 +10:00 |
|
Con Kolivas
|
ff2ee66e77
|
Merge branch 'master' of bitbucket.org:ckolivas/ckpool
|
2014-09-29 16:16:44 +10:00 |
|
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
|
2014-09-29 16:16:29 +10:00 |
|
Con Kolivas
|
e4f1a87050
|
Add a helper function for pthread_mutex_timedlock
|
2014-09-29 16:01:48 +10:00 |
|
kanoi
|
a285628a49
|
ckdb - allow a heartbeat from the pool and give a generic reply
|
2014-09-29 11:43:07 +10:00 |
|
kanoi
|
e44de0112b
|
ckdb/php - add some block stats to workers
|
2014-09-28 22:54:26 +10:00 |
|
kanoi
|
87219bd7e2
|
ckdb - allow optional fields to report errors
|
2014-09-28 22:00:06 +10:00 |
|
Con Kolivas
|
67a3dbc0c3
|
Merged in ticaleen/ckpool (pull request #5)
For mutisign
|
2014-09-27 17:22:37 +10:00 |
|
li xin
|
28a42cd1ef
|
Merged in ticaleen/bitcoinc-edited-online-with-bitbucket-1411800219113 (pull request #1)
bitcoin.c edited online with Bitbucket
|
2014-09-27 14:44:12 +08:00 |
|