Commit Graph

1188 Commits

Author SHA1 Message Date
Con Kolivas
eda428dc7f Handle potentially recoverable errors in accept() to allow us to share the fd in future 2014-10-16 09:21:41 +11:00
Con Kolivas
7ffe4fbe18 Allow proxying to nonce2 size 3 pools with a warning 2014-10-16 09:01:14 +11:00
Con Kolivas
71cdbfa560 Create a list of solved blocks, passing the hash to and from the generator to ensure we flag the correct block and workinfo 2014-10-15 22:28:29 +11:00
kanoi
46dbec0c0f php - missed one extra message change 2014-10-15 18:48:27 +11:00
kanoi
5217634669 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-10-15 18:09:23 +11:00
kanoi
3d9f055cdc php - more descriptive socket errors and enable the timeout 2014-10-15 18:06:42 +11:00
ckolivas
f6df38d975 Retry submitting a block up to 5 times if we fail to get a proper response 2014-10-15 17:08:01 +11:00
kanoi
48a693427a libckpool - add errno to some socket write error messages 2014-10-15 14:59:01 +11:00
kanoi
c5f41ba28b ckdb - update version # 2014-10-15 12:57:01 +11:00
kanoi
fa311e0905 ckdb - add a manual confirm option to the blockstatus command 2014-10-15 12:54:14 +11:00
kanoi
988863f9c5 php - add a worker.php for address miners 2014-10-10 13:41:50 +11:00
ckolivas
7b46de8d53 Fix more thinkos 2014-10-09 11:07:07 +11:00
ckolivas
7edc80324c Fix thinko 2014-10-09 11:02:39 +11:00
ckolivas
d1b095d1af Fix typo 2014-10-09 11:01:43 +11:00
ckolivas
676bb887bb Rework the poll loop to be cleaner and more efficient 2014-10-09 10:59:30 +11:00
kanoi
c2f41157e9 php - require a site unique index function 2014-10-08 11:31:23 +11:00
kanoi
154d154a6a php - add an address stats page 2014-10-08 10:26:51 +11:00
kanoi
9fa8ce4585 php - restore missing / in users stats in the header 2014-10-08 09:42:05 +11:00
Con Kolivas
dc2229fe7e Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-10-08 00:29:51 +11:00
Con Kolivas
1176d71211 Decrease the loglevel of failing to find workers' diff to set 2014-10-08 00:29:38 +11:00
kanoi
361683ef88 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-10-08 00:28:56 +11:00
kanoi
7fae30b431 php - socket read should allow partial - plus set a 1s timeout 2014-10-08 00:28:30 +11:00
Con Kolivas
86fa46069c Rework the handover mechanism to make the old client reject further clients, then send a reconnect, then shutdown and wait before killing it 2014-10-08 00:14:00 +11:00
Con Kolivas
5532de0f1b Implement a stratum reconnect function 2014-10-07 23:47:36 +11:00
Con Kolivas
e69db64eb0 Add commands to reject and accept further connections 2014-10-07 23:38:54 +11:00
Con Kolivas
a46778a54e Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-10-07 22:48:37 +11:00
Con Kolivas
a33dfd066a There is no need to place the clamp on lowering diff with suggest_diff since it is predomoninantly used at miner startup and we can rapidly adapt should it be too low anyway 2014-10-07 22:48:17 +11:00
kanoi
7d59f98624 stratifier - process the heartbeat json 2014-10-07 17:23:06 +11:00
Con Kolivas
ce49ea21ce Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-10-07 16:45:35 +11:00
Con Kolivas
c8a330dbd8 We should be doing a cmdmatch not a full string match for heartbeat commands 2014-10-07 16:45:18 +11:00
kanoi
3e972d7396 ckdb - disallow similar usernames due to case, and/or leading/trailing white space 2014-10-07 16:28:30 +11:00
Con Kolivas
4d69bd2423 Wrong test on result_val 2014-10-07 15:56:04 +11:00
Con Kolivas
e8179cd951 Drop log level for failed auth json decode failure 2014-10-07 15:53:04 +11:00
Con Kolivas
90ecaf33e7 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-10-07 15:52:15 +11:00
Con Kolivas
dd187da977 Add the server accept to the receiver's poll function, eliminating the need for short polls and one extra thread 2014-10-07 15:52:00 +11:00
kanoi
d0bad02a01 php - truncate btc usernames in the page header 2014-10-07 15:31:18 +11:00
Con Kolivas
fcfc06e77b More logic fail 2014-10-07 15:09:20 +11:00
Con Kolivas
d9e65a6936 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-10-07 15:05:18 +11:00
Con Kolivas
5fd152c370 Reverse logic 2014-10-07 15:05:06 +11:00
kanoi
24a3ff3eaf php - correct worker management diff wording 2014-10-07 14:32:26 +11:00
Con Kolivas
f3254ea170 Check for addrauth as well in send_recv_auth 2014-10-07 14:18:53 +11:00
kanoi
b7405adf48 correct password success message on a missing user 2014-10-07 13:34:04 +11:00
Con Kolivas
574d028d95 Parse the ckdb heartbeat response for setting worker mindiff 2014-10-07 13:17:56 +11:00
kanoi
351545f1ab ckdb - auth json reply should be authorise 2014-10-07 11:55:30 +11:00
kanoi
64ff56cb63 ckdb - reply to heartbeat with web diff change info 2014-10-07 11:54:01 +11:00
Con Kolivas
6a72525b8b Search for authorise in response instead of auth to match query 2014-10-07 10:55:41 +11:00
Con Kolivas
27ac4e23ef Parse the difficultydefault entry returned from authorise 2014-10-07 10:54:26 +11:00
Con Kolivas
3288b15622 Parse new auth command from ckdb 2014-10-07 10:29:59 +11:00
kanoi
e41d550b6f ckdb - auth return json with both secuserid and diff 2014-10-07 02:26:55 +11:00
kanoi
7f23fadeef Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-10-07 00:57:23 +11:00