Commit Graph

2858 Commits

Author SHA1 Message Date
Con Kolivas
339ecc833e Whitelist cgminer based clients for receiving stratum messages and only send stratum messages to whitelisted clients 2016-01-10 08:43:52 +11:00
Con Kolivas
84ecde2ea8 Update header copyright dates 2016-01-10 08:32:42 +11:00
kanoi
a08abba1a7 ckdb - update version for libckpool update 2016-01-09 08:09:16 +11:00
Con Kolivas
f8c80cd312 Add remote workers to worker count 2016-01-08 22:23:22 +11:00
Con Kolivas
4151ddb4cd Read stats off for any new user or worker generated 2016-01-08 22:23:14 +11:00
Con Kolivas
8e6fe0bcbe Properly add remote users 2016-01-08 22:23:10 +11:00
Con Kolivas
25db1bce9b Fix incorrect upstream sample 2016-01-08 22:23:04 +11:00
Con Kolivas
ad3d5e4a4f Add user hashrate from remote shares 2016-01-08 22:23:00 +11:00
Con Kolivas
a74df93b30 Add upstreaming of best diff in remote mode 2016-01-08 22:22:54 +11:00
Con Kolivas
6947a4642a Upstream shares and process them accordingly in trusted mode 2016-01-08 22:22:50 +11:00
Con Kolivas
c56a91cbce Add mechanism for parsing trusted remote messages and counting shares 2016-01-08 22:22:46 +11:00
Con Kolivas
75a9e3ec3c Add connection mechanism and message workqueues for trusted remotes 2016-01-08 22:22:42 +11:00
Con Kolivas
bd7ca390ff Add variable parsing for trusted remote nodes 2016-01-08 22:22:28 +11:00
Con Kolivas
2d167171ad Increase the unix message receiving capacity 2016-01-08 13:55:08 +11:00
Con Kolivas
84d822063b Fix missing worker/user count dropping in node mode when clients disconnect 2016-01-08 13:49:55 +11:00
Con Kolivas
96f5c04619 Forward on passthrough client drop requests to the passthrough itself 2016-01-08 12:58:47 +11:00
Con Kolivas
18af83a235 Disconnect clients with continuous rejects in node mode detected either locally or as detected by upstream results 2016-01-08 12:10:16 +11:00
Con Kolivas
e945e8e5ef Client reject should be set to 3 with full pool 2016-01-08 11:35:00 +11:00
Con Kolivas
1ed1641df8 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2016-01-08 08:21:48 +11:00
Con Kolivas
89aaad2793 Send clients a reconnect first after 2 minutes of continuous invalids and then disconnect them at 3 minutes if they're still sending invalid shares 2016-01-08 08:21:23 +11:00
kanoi
482858b1c3 ckdb - update version for library changes 2016-01-07 17:22:24 +11:00
kanoi
c603ab29a4 php - workers all array can be shorter than the original 2016-01-07 17:01:52 +11:00
Con Kolivas
5e09fe52ed Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2016-01-07 12:12:21 +11:00
Con Kolivas
fb5134c74d Allow unsubscribed miners to authorise out of order 2016-01-07 12:11:53 +11:00
Con Kolivas
0e7ed4673d Add what method the unsubscribed client is sending 2016-01-07 12:11:44 +11:00
TheKano
2bcf03c9d5 Merged in ctubio/ckpool/ctubio/fixed-warning-missing-argument-14-for-wo-1451575635128 (pull request #10)
Fixed Warning: Missing argument 14 for workuser()
2016-01-07 11:52:59 +11:00
Con Kolivas
d5751d3e1c Only wait for current workbase in non-proxy mode 2016-01-06 19:40:12 +11:00
Con Kolivas
658af3faec Free messages sent to stratifier in passthrough mode, fixing memory leak 2016-01-06 18:31:01 +11:00
Con Kolivas
1c2376ce40 Stats break without the ckmsgqs in node mode 2016-01-06 18:00:39 +11:00
Con Kolivas
a017aef5f3 Delay responses to miners on startup to avoid failed subscribes on handover and console message spam, but give warnings for extended delays. 2016-01-06 17:36:52 +11:00
Con Kolivas
f6cf94f187 Copyright date updates 2016-01-05 23:19:46 +11:00
Con Kolivas
00f2fdbb0a Don't try to send invalid json messages to the stratifier in node mode 2016-01-05 22:42:58 +11:00
Con Kolivas
7c042070cc Add missing node method for mining.suggest_difficulty 2016-01-05 13:46:11 +11:00
Con Kolivas
225ea83e33 Failure to recv after wait_read_select should be fatal 2016-01-04 22:40:29 +11:00
Con Kolivas
52b3a28b88 Check regularly for an invalidated file handle in read_socket_line 2016-01-04 22:36:16 +11:00
Con Kolivas
6398a4cac6 Add a nodeserver option for dedicated serverurls that will accept incoming requests to act as a mining node 2016-01-04 22:06:17 +11:00
Con Kolivas
3a51ff8716 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2016-01-04 19:11:47 +11:00
Con Kolivas
7bbd34d950 Clean up autofoo magic to search for proper functions to include libraries as needed without extra variables 2016-01-04 19:11:37 +11:00
kanoi
871eb70dee ckdb - remove useless gcc warnings 2016-01-04 18:58:16 +11:00
kanoi
e0abe9b869 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2016-01-04 18:10:51 +11:00
kanoi
df90ae25fc fix ckdb configure to use AC_CHECK_LIB correctly 2016-01-04 18:10:34 +11:00
Con Kolivas
61c9414fde Remove unnecessary zlib check 2016-01-04 16:16:40 +11:00
Con Kolivas
29669ee60f Add architecture dependent sha256 assembly support on recent intel platforms, linking libckpool only statically 2016-01-04 15:37:52 +11:00
Con Kolivas
e9c1dd39de Missing command option in readme 2016-01-04 14:23:15 +11:00
Con Kolivas
7904a8f29c Merge branch 'proxydev' 2016-01-04 14:08:32 +11:00
Con Kolivas
cb2c0577cb Placeholders for api files 2016-01-04 13:40:27 +11:00
Con Kolivas
e9f9be558e Merge branch 'multiproxy' into proxydev 2016-01-04 13:07:02 +11:00
Con Kolivas
407d8a8734 Remove defunct options from sample conf files 2016-01-04 12:26:05 +11:00
Con Kolivas
25aecd33c8 Selectively compact json that does not need to be visualised 2016-01-04 12:20:41 +11:00
Con Kolivas
5b816982e5 Compression of any sort is slower than ordinary network transfers so remove it 2016-01-04 12:20:41 +11:00