Commit Graph

1071 Commits

Author SHA1 Message Date
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
li xin
5021a3d40f bitcoin.c edited online with Bitbucket 2014-09-27 06:43:46 +00:00
Con Kolivas
e441e65c53 Ping miners regularly in proxy mode to ensure they don't disconnect when diff is too high for them and they receive no update 2014-09-26 21:20:35 +10:00
Con Kolivas
eeba52e716 Remove enonce1 debugging 2014-09-26 11:31:28 +10:00
Con Kolivas
8c44df96cb Ignore reject floods on initial connect 2014-09-26 11:28:38 +10:00
Con Kolivas
c4506c7e47 Round away from zero when choosing optimal diff 2014-09-26 11:20:49 +10:00
Con Kolivas
3d6601d20c Maximise the nonce2 size in proxy mode and ensure we don't clash enonce1 instances, rejecting clients when there is no more space available 2014-09-26 09:57:54 +10:00
Con Kolivas
b44a347e97 Add console warning on restart 2014-09-25 22:59:05 +10:00
Con Kolivas
b99efe8071 Give listener response to restart request 2014-09-25 22:58:10 +10:00
Con Kolivas
22c9d7c393 Wait up to 10 minutes for a response in proxy mode for p2pool which does not send an update regularly 2014-09-25 22:51:17 +10:00
Con Kolivas
36436b0c4c Use singly linked list only for dead clients and don't keep disconnected instances in proxy mode 2014-09-25 22:47:40 +10:00
Con Kolivas
79c99c4daf Must check against upstream diff before submitting 2014-09-23 09:18:28 +10:00
Con Kolivas
d928c154ee Submit only valid and stale shares upstream in proxy mode and add logging about submits in verbose mode 2014-09-23 09:15:12 +10:00
Con Kolivas
10bb351736 Avoid updating diff until there is a current work base 2014-09-23 09:05:29 +10:00
Con Kolivas
427c1bf12c Check diff on each notify in proxy mode 2014-09-23 09:01:37 +10:00
Con Kolivas
f4f6d53db9 Submit stale shares in proxy mode 2014-09-22 22:03:46 +10:00
Con Kolivas
6d70aac3a2 Clamp lower diff to 1 in proxy mode 2014-09-22 22:01:05 +10:00
Con Kolivas
d526eb8a76 Mask out (null) as a valid result in json_result 2014-09-22 21:59:26 +10:00
Con Kolivas
08f7f39836 Do not accept proxy notify update until subscription complete 2014-09-22 21:56:42 +10:00
Con Kolivas
e326d36be5 Only use 4 bytes for enonce1 in proxy mode when we have 8 or more bytes for nonce2len 2014-09-22 21:07:17 +10:00
Con Kolivas
ffb054c95a Show all connector messages in debug mode 2014-09-22 20:05:55 +10:00
Con Kolivas
ce2559f8c2 Update btcd docs 2014-09-22 16:43:36 +10:00
Con Kolivas
ed10a73946 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-09-22 12:32:50 +10:00
Con Kolivas
8e34ff377b Make necessary changes to ckproxy to support large coinbases and null length enonce1 for p2pool support 2014-09-22 12:31:36 +10:00
kanoi
44562a061c Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-09-21 12:32:25 +10:00
kanoi
b508b72999 php - api in json (if required) 2014-09-21 12:31:50 +10:00
Con Kolivas
dce999f92a Fix typo 2014-09-21 09:44:54 +10:00
kanoi
94066d22e0 ckdb - fix broken BTC username caused by salt change 2014-09-21 05:17:43 +10:00
kanoi
a19e77eee1 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-09-21 03:59:44 +10:00
kanoi
d22fdf78df php - add an API interface for users 2014-09-21 03:56:31 +10:00
Con Kolivas
73ca6c2e45 No need for 64 bit ids in the proxy jobs 2014-09-19 23:59:00 +10:00
Con Kolivas
7e00e19a72 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-09-19 23:53:27 +10:00
Con Kolivas
b36e4cec3c Make sure jobids align between generator and stratifier in proxy mode 2014-09-19 23:53:10 +10:00
kanoi
23f0b77f33 php - make the share age function reusable 2014-09-19 22:06:53 +10:00
kanoi
7b119f05a3 ckdb - share invalid breakdown per worker 2014-09-19 19:10:23 +10:00
kanoi
9226a0ea29 php - same header spacing for users/workers 2014-09-19 18:26:33 +10:00
kanoi
fe39c58229 ckdb - add missing stats 2014-09-18 18:15:35 +10:00
kanoi
4f9fca7806 ckdb - initialise pool data for optioncontrol 2014-09-18 13:36:47 +10:00
Con Kolivas
8a106dea9f Merged in archang/ckpool (pull request #4)
Fix url resolving error when using numeric ipv6 address with square brackets
2014-09-18 12:33:05 +10:00
kanoi
27ef322f63 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-09-18 12:11:40 +10:00
kanoi
947e22a91a php - fix user level menu mess up 2014-09-18 12:10:58 +10:00
CC Ding
1dd1ecba46 Merged ckolivas/ckpool into master 2014-09-18 10:02:14 +08:00
CC Ding
d64827bf35 Get rid of the square brackets when using numeric ipv6 address. 2014-09-18 02:01:29 +00:00