Commit Graph

1097 Commits

Author SHA1 Message Date
kanoi
aca254495e ckdb - increase transfer cull - 64 happens too regularly 2014-11-09 12:06:13 +11:00
kanoi
ae396b0155 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-11-09 02:23:51 +11:00
kanoi
d09c7f9c6b ckdb/sql - include markersummary in share calculations and alter the sharesummary index for fast marker processing - db 0.9.4 2014-11-08 16:27:14 +11:00
Con Kolivas
f08eb38061 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-11-07 00:38:47 +11:00
Con Kolivas
2f3fba27a3 Use a sanity check on idstring from the job_id passed in parse_submit 2014-11-07 00:35:47 +11:00
kanoi
0e9752e989 ckdb/sql - update to db 0.9.3 - workmarkers 2014-11-05 18:03:49 +11:00
kanoi
46ea8d2fb7 ckdb - free ktree leaked ram when using remove and correct log timezone 2014-11-05 08:23:25 +11:00
kanoi
99ba876097 ckpmsg - add a timestamp 2014-11-05 08:18:08 +11:00
kanoi
063d723a31 allow ckpmsg to set the unix recv timeout 2014-11-05 07:40:01 +11:00
kanoi
c178d6b3bb ckdb - ensure each block's workinfo is loaded 2014-11-04 23:57:14 +11:00
kanoi
4103e3f2b6 ckdb - free optioncontrol blob on exit 2014-11-04 23:44:55 +11:00
kanoi
6891895cb3 ckdb - use new shutdown for the confirmer 2014-11-04 22:34:30 +11:00
kanoi
0e5a1a102e ckdb - remove summariser sleep delays during shutdown 2014-11-04 21:59:41 +11:00
kanoi
e2b378cb84 ckdb - cleanup lists/trees on shutdown and notify what is delaying shutdown 2014-11-04 21:30:32 +11:00
kanoi
cd0facf0e9 ckdb - keep address history for txn payment processing 2014-11-04 14:42:11 +11:00
kanoi
1759774075 ckdb - match block maturity with bitcoind-qt 2014-11-04 00:39:13 +11:00
kanoi
00ed8a41a7 ckdb - hack to allow skipping loading temorarily unneeded data 2014-11-03 15:07:23 +11:00
kanoi
e82dab1284 ckdb - set confirmer to only load data near the range required 2014-11-03 14:22:31 +11:00
Con Kolivas
a058c387b3 Give pings an integer id and handle pongs and spurious responses without an error message 2014-11-02 13:37:42 +11:00
Con Kolivas
3cb0546c10 Recruit extra stratum receive processes based on number of CPUs 2014-11-01 20:37:35 +11:00
Con Kolivas
3f061c9331 Do the CPU intensive part of a stratum receive outside the main stratum loop 2014-11-01 20:09:05 +11:00
Con Kolivas
c87ad0b239 Do not double close socket sent to get_fd 2014-11-01 17:15:37 +11:00
Con Kolivas
d1e08ac9c2 Add source debugging to close failure 2014-11-01 17:12:06 +11:00
Con Kolivas
329afb56ac Cosmetic tidy 2014-11-01 17:01:23 +11:00
Con Kolivas
f517a593c4 Create half as many share processing threads as there are CPUs 2014-11-01 16:47:52 +11:00
Con Kolivas
995fce28c1 Make it possible to create many threads associated with a ckmsgq 2014-11-01 16:43:45 +11:00
Con Kolivas
1fe5373c87 Handle early exiting of connector receiver and sender threads 2014-11-01 16:04:53 +11:00
Con Kolivas
d42185a5eb Tidy up receiver loop 2014-11-01 15:47:02 +11:00
Con Kolivas
0887d993fd Remove parse client msg from accept client 2014-11-01 12:31:24 +11:00
Con Kolivas
42fc9ca8f6 Rewrite connector receive thread to use epoll and remove associated now unnecessary fd hashtable 2014-11-01 11:57:57 +11:00
Con Kolivas
9f8237909f Fix apparent dropping of hashrate on restart due to zero last share time 2014-10-30 20:33:58 +11:00
Con Kolivas
2b77a6957c Add output of sps loaded from user and worker stats 2014-10-30 17:37:27 +11:00
Con Kolivas
f11f957cda Read off worker and user stats from saved logs if they exist 2014-10-30 17:25:51 +11:00
Con Kolivas
0fa0bbef4d Add 7 day stats to pool and users 2014-10-30 17:11:12 +11:00
Con Kolivas
ad4e959a80 Clamp suggest diff to pool mindiff directive 2014-10-30 16:21:52 +11:00
Con Kolivas
c8627c0d1b Listen with the maximum backlog when we first start for more seamless restarts and then drop to the minimum afterwards to effectively ratelimit new connections 2014-10-30 14:58:59 +11:00
Con Kolivas
f84c0aa2cd Make number of clients we can connect to unlimited 2014-10-30 14:51:53 +11:00
Con Kolivas
9dae34e3fa Make update_base calls asynchronous to not hold up stratum loop messages and ping miners if we get no base to keep them mining 2014-10-30 14:34:32 +11:00
Con Kolivas
c0aba3449f Add support for job_id being in the params for get_transactions while maintaining backward support for job_id being embedded in the method. Convert get_txnhashes to using only params for the job_id. 2014-10-30 12:44:56 +11:00
Con Kolivas
d6955d3345 Remove lower limit on suggest-diff since it is usually only set on initial client connect 2014-10-30 11:38:00 +11:00
kanoi
e38a8decc2 klist - missing from commit 2014-10-30 06:20:49 +11:00
kanoi
da595c6856 ckdb - use pointers for sharesummary create/modify fields 2014-10-30 06:18:43 +11:00
kanoi
848dd0745c ckdb - speed up sharesummary processing 2014-10-28 22:53:12 +11:00
ckolivas
dd3a4a121a Revert "Do not overlap writes to unix sockets"
This reverts commit 6f77624613.
2014-10-28 00:41:59 +11:00
ckolivas
c4ec64929d Revert "Only allow one send_recv_proc at a time"
This reverts commit 9d793945f0.
2014-10-28 00:41:49 +11:00
ckolivas
e5805dac30 Fix warnings 2014-10-27 23:59:43 +11:00
ckolivas
b95ce4070e Replace use of select with poll in *wait_select in libckpool to allow high fds 2014-10-27 23:55:39 +11:00
ckolivas
9d793945f0 Only allow one send_recv_proc at a time 2014-10-27 23:35:16 +11:00
ckolivas
6f77624613 Do not overlap writes to unix sockets 2014-10-27 23:32:09 +11:00
ckolivas
9daa9e62de Add sanity check for invalidated sock in send_unix_msg 2014-10-27 23:03:38 +11:00