esrrhs / go-cpuminer

纯go实现的cpu挖矿工具。cpu miner implemented by pure go
MIT License
43 stars 16 forks source link

Miner fails to run #1

Open digeratii opened 3 years ago

digeratii commented 3 years ago

Ubuntu 20 .04 LTS Nodejs and Go installed. Built fromsource with no issues. Am I doing something wrong or is this something you can fix?

Thank you error on start

esrrhs commented 3 years ago

Ubuntu 20 .04 LTS Nodejs and Go installed. Built fromsource with no issues. Am I doing something wrong or is this something you can fix?

Thank you error on start

this is check crypto function failed. what is your platform?

digeratii commented 3 years ago

This is IBM AIX s390x arch. . One machine is running Ubuntu 20.04 and the other machine is running RHEL 8.

digeratii commented 3 years ago

This is the only miner I have ever been able to run on the s390x arch with the scrypt algo:

cpuminer https://github.com/pooler/cpuminer

But it is slow and outdated. I was excited to see that you had created a miner that might run on the s390x. I would really like to get it to work.

esrrhs commented 3 years ago

I am sorry that go-couminer can't help you. go-cpuminer is slower than xmrig, also slower than cpuminer, because is write by pure golang. I think the reason that could not work at s390x maybe some unsafe usage in go-cpuminer. I can not find the bug position because I don't have s390x. maybe you can clone the code on your environment, and run the go test to find the bug.

digeratii commented 3 years ago

Thank you very much for trying and offering a suggestion. I will try that and let you know if that works.