The branch name is a little misleading. When I created it, I had forgotten Luke already made a port argument option. I did add a help argument option though. In order to make the miner more stable, I changed the code around so that cURL gets called less often.
I have not thoroughly tested this to see if less frequent cURL calls fixes the miner because the bug is so hard to replicate (takes a while).
Other fixes are pretty clearly described by my commit names.
In modules/miner/mine.go, line ~43, change the number of random bytes that get generated from 16 to 1600 or even 2e6... it'll cause problems at a might higher rate.
The branch name is a little misleading. When I created it, I had forgotten Luke already made a port argument option. I did add a help argument option though. In order to make the miner more stable, I changed the code around so that cURL gets called less often.
I have not thoroughly tested this to see if less frequent cURL calls fixes the miner because the bug is so hard to replicate (takes a while).
Other fixes are pretty clearly described by my commit names.