Michael Ira Krufky
Michael Ira Krufky
The current TLS support breaks KeepAlive support on standard non-tls stratum connections in the develop branch. This fixes it. Both standard HTTP and TLS stratums are running with this patch...
This ports @sammy007 's original TLS support to the master branch. The original patch breaks KeepAlive support for standard non-TLS stratums. The fix for that is included in this PR....
for example, today's output: ``` TSID#0001: [{"programs": [ ]}] ``` should be changed to: ```json {"TSID#0001": [{"programs": [ ]}]} ```
...as described here: https://en.wikipedia.org/wiki/Program-specific_information under `Program Element Descriptor Tags`
The `Sha3Hash` function was removed from go-ethereum in the 1.6.x series: commit 72dd51e25a5c1553a5a7fc5f0fb84fbe3546682f Author: Péter Szilágyi Date: Thu Jun 1 10:24:40 2017 +0300 Now we can just call `crypto.Keccak256Hash` directly....
BEFORE applying this fix: ``` $ make [...] Running 21 test cases... *** No errors detected ################# Testing Go ################## # _/home/mk/git/ethereum-ethash ./ethash.go:133: Sprintf format %d reads arg #2, but...