kramble / FPGA-Litecoin-Miner

A litecoin scrypt miner implemented with FPGA on-chip memory.
GNU General Public License v3.0
277 stars 125 forks source link

Issue on bemicro #10

Open chantpower opened 10 years ago

chantpower commented 10 years ago

I set it up to test on my bemicro and the mine.bat runs fine, but theres an error "ERROR: Unable to getwork. Reason: key "result" not known in dictionary."

Would that be an error with the mining pools I'm member to, or did I miss a file or something?

I took all the files from "scripts" "source" and "bemicro" do I need a stratum proxy to mine?

kramble commented 10 years ago

Its worth giving it a try. The getwork protocol is now very much depreciated by the pools and even if it is available, there is no guarantee its compatible with what the mining script is expecting (its very old code, based on the bitcoin fpga open source project). Be sure to use the litecoin proxy from https://github.com/CryptoManiac/stratum-mining-proxy as the original bitcoin proxy won't work properly. Start it as follows (on linux, for windows omit the ./) ... ./mining_proxy.py -nm -pa scrypt -o litecoinpool.org -p 3333

Use your own pool instead of litecoinpool.org - NB it does not require a username as this is passed through from the mining script when it does the RPC. It also outputs useful logging information so you can see if shares are being submitted. Just be aware that a [0ms] ping time for the submission actually indicates that the share was rejected within the proxy stack (it does not report an error, which is a bug), usually because of a HW error (a bad hash, which does occur occasionally due to timing issues on the vitual_wires interface, but too many errors indicates that you're clocking too fast).

Good Luck!