Commit Graph

2781 Commits

Author SHA1 Message Date
Con Kolivas
e4876feb71 Merge branch 'zlib' into multiproxy 2016-01-03 18:28:03 +11:00
Con Kolivas
effeba4999 Fix logic fails 2016-01-03 18:19:19 +11:00
Con Kolivas
85302af03f Decrement timeout in read_cs_length 2016-01-03 10:49:05 +11:00
Con Kolivas
ff5e74fbd1 Rework read_socket_line loop to not bother reading more once it has a message 2016-01-03 09:54:59 +11:00
Con Kolivas
daa3fde1ab Hold semaphore till we've sent the buffer 2016-01-03 00:58:24 +11:00
Con Kolivas
1912613e91 Hold semaphore till we've sent the buffer 2016-01-02 15:00:57 +11:00
Con Kolivas
7e4fee659e Minor fixes 2016-01-02 14:46:03 +11:00
Con Kolivas
5fb2ea342e Various fixes 2016-01-02 11:48:06 +11:00
Con Kolivas
5146b715fc Empty buffer on failure 2016-01-02 11:05:01 +11:00
Con Kolivas
ea945e863c Reinstate mtu size for compression to clients 2016-01-02 11:03:04 +11:00
Con Kolivas
4ef8ab49e3 Fix reinsertion logic 2016-01-02 11:02:17 +11:00
Con Kolivas
d69ed7ffcf More fixes 2016-01-02 08:18:30 +11:00
Con Kolivas
c9f0858c56 Fixes? 2016-01-02 00:45:19 +11:00
Con Kolivas
11d14620e6 Convert to gzip 2016-01-02 00:16:10 +11:00
Con Kolivas
e3fc6a1e56 Selectively compress only large packets greater than one MTU and identify lz4 compatible clients immediately 2016-01-01 17:48:21 +11:00
Con Kolivas
17cc4411af Fix compilation and send lz4 compatible clients compressed data 2016-01-01 17:07:19 +11:00
Con Kolivas
4a52065a55 Only send packets compressed if they're smaller 2016-01-01 16:35:28 +11:00
Con Kolivas
950b855b2d Implement backwardly compatible lz4 compression support to be used by passthroughs and nodes 2016-01-01 16:32:58 +11:00
Con Kolivas
6b3792c090 Bump version to 0.9.0 2015-12-30 14:07:32 +11:00
Con Kolivas
8e4d2f44d8 Merge branch 'master' into multiproxy 2015-12-30 12:38:13 +11:00
Con Kolivas
9c41763a71 Document node mode 2015-12-30 12:11:59 +11:00
Con Kolivas
46aef425f2 Drop clients when we don't have an upstream pool in passthrough/node mode 2015-12-30 11:45:00 +11:00
Con Kolivas
d3ca56e497 Handle missing stratum message types on broadcasts 2015-12-30 11:19:50 +11:00
Con Kolivas
135d2b84e7 Submit blocks locally in node mode 2015-12-30 11:09:07 +11:00
Con Kolivas
b479043ff3 Node doesn't need a valid btcaddress 2015-12-30 10:53:01 +11:00
Con Kolivas
516b851a46 Fix enonce1 parsing for correct share identification 2015-12-30 10:47:31 +11:00
Con Kolivas
231069b2ba Tidy send_node_workinfo 2015-12-30 09:21:23 +11:00
Con Kolivas
520f9ed2f4 Comment 2015-12-30 09:16:28 +11:00
Con Kolivas
340d469a64 Don't allow the stratifier to send any messages in node mode 2015-12-30 09:14:24 +11:00
Con Kolivas
b1fea97501 Basic requirements for node share processing 2015-12-30 03:17:28 +11:00
Con Kolivas
3dc070fcc2 Do initial parsing of subscribe/auth in node mode 2015-12-30 02:28:04 +11:00
Con Kolivas
71611d221b Send a more comprehensive workbase in node mode 2015-12-30 00:25:21 +11:00
Con Kolivas
a647842602 Don't drop node clients for not being authorised 2015-12-29 23:59:34 +11:00
Con Kolivas
1feea43855 Don't send proxy information in pasthrough mode 2015-12-29 23:51:59 +11:00
Con Kolivas
04eaabfaa2 Add mining nodes to a linked list and send them the workinfo for now 2015-12-29 23:11:49 +11:00
Con Kolivas
6f7dc2d2f0 Add update detection in parse_node_msg and remove double warning 2015-12-29 22:15:23 +11:00
Con Kolivas
5ddfcdb14e Identify all node message types in the stratifier 2015-12-29 18:44:48 +11:00
Con Kolivas
50c9b5ecd2 Move message type detection to stratifier 2015-12-29 17:24:28 +11:00
Con Kolivas
c5718d510e Detect node message type in the generator 2015-12-29 17:07:22 +11:00
kanoi
77b0f90fd5 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2015-12-29 16:50:43 +11:00
kanoi
f29fcc2f87 php - use blocktrail for the block link 2015-12-29 16:50:15 +11:00
Con Kolivas
b09bb253fc Act as a passthrough in node mode, passing what type of stratum message we're passing through 2015-12-29 15:27:44 +11:00
Con Kolivas
eab56b032a Set up local bitcoind connections in node mode 2015-12-29 11:10:38 +11:00
Con Kolivas
46e50883d2 Merge branch 'multiproxy' into node 2015-12-29 10:54:07 +11:00
Con Kolivas
e3a75a5902 Merge branch 'master' into multiproxy
Conflicts:
	src/generator.c
2015-12-29 10:53:56 +11:00
Con Kolivas
ac296e63d8 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2015-12-29 10:52:59 +11:00
Con Kolivas
8755e5c77b Fix passthrough failures falling through as success 2015-12-29 10:52:39 +11:00
Con Kolivas
0c605e3dee Add basic node subscription functionality 2015-12-29 10:50:58 +11:00
Con Kolivas
6a39cdb299 Add configuration option for node mode 2015-12-29 10:34:50 +11:00
kanoi
51b892440b ckdb - correct lock type in cmd_setopts 2015-12-28 23:13:48 +11:00