Commit Graph

1206 Commits

Author SHA1 Message Date
ckolivas
cab3e94ada Allow reconnect to take a :url,port extension to specify where to reconnect to 2014-10-26 20:57:03 +11:00
ckolivas
620d613d1a Add a maxclients directive that stops accepting clients when there are too many 2014-10-26 16:12:31 +11:00
Con Kolivas
7b2de72f54 Cope with calling send_notify before any notify exists by returning no message 2014-10-21 22:20:15 +11:00
Con Kolivas
17bb17f233 Try sanitising too short nonce2 submissions as well as too long by appending 0s 2014-10-21 15:30:53 +11:00
Con Kolivas
eabc96c5e1 Failure to update subscribe should not be terminal 2014-10-21 15:03:42 +11:00
Con Kolivas
88471cabc9 Implement support for the more logical positioning of diff within suggest_difficulty parameters instead of the method itself while maintaining support for the original reference documented form 2014-10-20 22:47:30 +11:00
Con Kolivas
af85414019 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-10-19 20:19:36 +11:00
Con Kolivas
4a4e12a7ad Fix nonce2 sanitisation 2014-10-19 20:19:21 +11:00
kanoi
c28784c611 ckdb - add paymentaddresses dump code and fix removal of old ones 2014-10-19 13:05:55 +11:00
kanoi
ef759a70bc php - add direct address validation and allow variable socket timeouts 2014-10-19 10:29:42 +11:00
kanoi
d2119eb0ab php - comment XHs removal 2014-10-18 23:41:20 +11:00
kanoi
b65266e47d php - only show '/' for header user stat if 1hr is present 2014-10-18 23:39:10 +11:00
kanoi
c34b2397db php - fix/unfix input fields as required also 2014-10-18 23:03:01 +11:00
kanoi
c0ccf9b8ec php - encode text where required to avoid messing up the html display 2014-10-18 22:25:13 +11:00
kanoi
2990e69f58 ckdb - only check blocks confirmed after startup completes 2014-10-18 00:26:37 +11:00
kanoi
2530c8a028 ckdb - auto flag blocks when mature 2014-10-17 23:39:51 +11:00
kanoi
4b2448ee47 ckdb - correct/synchronise short/long opts 2014-10-17 22:59:59 +11:00
kanoi
4749642121 ckdb - add functions for talking to bitcoind - and an orphan check to flag orphans automatically 2014-10-17 22:21:02 +11:00
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