Commit Graph

1026 Commits

Author SHA1 Message Date
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
Con Kolivas
04c4f0587f Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-09-18 11:56:35 +10:00
Con Kolivas
099701f26b Set initial start time in the stratum loop to zero to guarantee we get a new workbase immediately 2014-09-18 11:55:31 +10:00
Con Kolivas
01240af44d Implement basic get_transactions and new get_txnhashes calls 2014-09-18 11:48:07 +10:00
CC Ding
a690ea3159 Merged ckolivas/ckpool into master 2014-09-18 09:18:16 +08:00
kanoi
79953adf59 php - show the default menu on error pages 2014-09-18 10:56:13 +10:00
kanoi
8a0e7b5547 ckdb - version 2014-09-18 10:36:12 +10:00
kanoi
f091bc75cc ckdb - salt new user 2014-09-18 09:50:24 +10:00
kanoi
c5a2737a1f sql - format initid.sh output so it can be sent to ckpmsg 2014-09-18 04:01:57 +10:00
kanoi
0ec9cd2fd2 sql - correct version in ckdb.sql 2014-09-18 03:56:46 +10:00
kanoi
b25687af68 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-09-18 03:34:38 +10:00
kanoi
98f5b7e0c8 php - add a password reset, ckdb db functions for opts/atts and define a default menu 2014-09-18 03:33:36 +10:00
Con Kolivas
7660f0ba6c Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-09-17 21:14:51 +10:00
Con Kolivas
6bd4ed66bd Move block hash update display to add base for notify enabled btcds 2014-09-17 21:14:29 +10:00
kanoi
fe9ea8b0f5 ckdb - add TZ to screen log and handle fractional hour timezones 2014-09-17 14:04:10 +10:00
kanoi
8ccaedaf42 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-09-17 12:05:08 +10:00
kanoi
5798453985 ckdb - also report postgresql version at startup 2014-09-17 12:03:20 +10:00
kanoi
e0b08aadd0 ckdb - allow retrying the db connection and reconnect often 2014-09-17 11:55:22 +10:00
kanoi
45e29b3da4 ckdb - consistent commit/rollback and par initialisation 2014-09-17 08:53:07 +10:00
kanoi
48ffb1d109 ckdb - optioncontrol table and commands - getopts/setopts 2014-09-16 22:14:22 +10:00
Con Kolivas
683fdec8f2 Reset proxy diff to startdiff on each new subscription 2014-09-16 12:35:28 +10:00
Con Kolivas
47519286a4 Use a global notify id counter in proxy mode to avoid clashes 2014-09-16 11:39:35 +10:00
Con Kolivas
5ca5cae084 Only drop proxy connections when we're killing an existing server and start rejecting before dropping further connections 2014-09-16 11:03:57 +10:00
Con Kolivas
3608c47045 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-09-16 10:21:51 +10:00
Con Kolivas
6880b9f03d Implement fallback in proxy mode and keep existing connection when testing if servers or proxies are alive 2014-09-16 10:21:39 +10:00
kanoi
e8313bbf31 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-09-15 20:22:18 +10:00
kanoi
5409ad0938 sql - fix ';' typos 2014-09-15 20:21:48 +10:00
Con Kolivas
6bedd54fed Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-09-15 19:47:21 +10:00
Con Kolivas
7ca88d3b14 Create missing btcdnotify 2014-09-15 19:46:27 +10:00
kanoi
2701772c98 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-09-14 22:52:11 +10:00
kanoi
d0bcf5ca26 ckdb - comment getatts and setatts, and add expatts 2014-09-14 22:49:58 +10:00
Con Kolivas
d46609275e Implement fallback to higher priority server by using a ckmsgq to inform a server watchdog thread of what the current server is and testing if they're alive no more than every 5 seconds 2014-09-14 21:36:05 +10:00
Con Kolivas
f124c5d5b5 Readme update 2014-09-14 14:57:12 +10:00
Con Kolivas
28ce23d10c Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-09-14 14:52:20 +10:00
Con Kolivas
5c52cc65c7 Add an optional field notify per btcd that tells ckpool not to pool for block changes 2014-09-14 14:52:07 +10:00
kanoi
fc7964c7ab ckdb - fix uninitialised par 2014-09-14 11:53:22 +10:00
kanoi
37b9c17fef Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-09-14 11:48:05 +10:00
kanoi
a27bed2a83 ckdb - useratts implemented 2014-09-14 11:43:59 +10:00
Con Kolivas
27abc0e84f Make invalid workinfo id use the current workbase id 2014-09-14 00:09:29 +10:00
Con Kolivas
b803c285e1 Revert "No valid workinfo should be a share error not a share"
This reverts commit 92a884f12a.
2014-09-14 00:08:24 +10:00
Con Kolivas
3cf9fd186e Revert "Maintain only one unlock position in parse_submit"
This reverts commit 8fab45147d.
2014-09-14 00:08:13 +10:00
Con Kolivas
ab5d03ece0 Abstract out testing if a proxy is alive for future fallback code 2014-09-13 23:26:00 +10:00
Con Kolivas
d021692a21 Abstract out the testing of whether a server is alive to be used for future fallback code 2014-09-13 23:12:32 +10:00
Con Kolivas
8fab45147d Maintain only one unlock position in parse_submit 2014-09-13 22:56:45 +10:00
Con Kolivas
92a884f12a No valid workinfo should be a share error not a share 2014-09-13 22:54:40 +10:00
Con Kolivas
956be4d8b1 Add sanity check for clients sending auth without having completed subscription 2014-09-13 22:46:48 +10:00