NebulousLabs / Sia-GPU-Miner

A GPU Miner for Sia
MIT License
151 stars 79 forks source link

Attempt at fixing crash #12

Closed JoshVorick closed 9 years ago

JoshVorick commented 9 years ago

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.

DavidVorick commented 9 years ago

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.