c0mm4nd / GxMiner

GxMiner is a highly optimized miner for random-x series algorithm
23 stars 12 forks source link

Add RandomSFX Support #2

Closed ariadarkkkis closed 4 years ago

ariadarkkkis commented 4 years ago

Hi, Please add RandomSFX Support to miner.

Here are the links: https://github.com/safex/safexcore https://github.com/safex/RandomSFX

I guess they have Go support aswell: https://github.com/safex/gosafex

BTW, Can you make one miner for all algorithms. Like choose algorithm to mine like other miners.

c0mm4nd commented 4 years ago

Added https://github.com/maoxs2/GxMiner/releases/download/v0.1.16/random-sfx.zip

ariadarkkkis commented 4 years ago

any source code available?

ariadarkkkis commented 4 years ago

@maoxs2 It is submitting invalid results to pool

ariadarkkkis commented 4 years ago

09:08:40 Init Job: ID: 32707A108C9C3 Target: 45E7B272F6087 Seed: 13694D957873863
E
09:08:40 Dataset initializing
09:08:41 Dataset initialization finished, start mining
09:08:56 Submitting Sol: 4CC5AAAA for Job 32707A108C9C3 Result: 13D568F6C31CD
09:08:56 Rejected share: invalid result
09:08:59 TOTAL:1.43kh/s SHARES:(0/1)
09:09:15 Submitting Sol: 78440000 for Job 32707A108C9C3 Result: B34526004AFB
09:09:15 Rejected share: invalid result
09:09:19 TOTAL:1.71kh/s SHARES:(0/2)```
c0mm4nd commented 4 years ago
git clone --recursive https://github.com/maoxs2/GxMiner 
cd GxMiner
./build.sh random-sfx

Source code are https://github.com/maoxs2/GxMiner https://github.com/maoxs2/go-randomx and https://github.com/maoxs2/RandomX (branch random-sfx)

It seems that the master branch of https://github.com/safex/RandomSFX/tree/master is the origin random-x, not random-sfx... I had a mistake.

Maybe the SFX-v1.1.6 branch https://github.com/safex/RandomSFX/tree/SFX-v1.1.6

c0mm4nd commented 4 years ago

The Binary https://github.com/maoxs2/GxMiner/releases/download/v0.1.16/random-sfx.zip has been updated with new random-x code https://github.com/safex/RandomSFX/tree/SFX-v1.1.6

ariadarkkkis commented 4 years ago

Great its working now, I will submit hashrate difference between this miner and xmrig miner in few minutes. Thanks

c0mm4nd commented 4 years ago

The latest xmrig(v5.4.0) shall be faster. The speed of GxMiner is seriously depending on https://github.com/tevador/RandomX, but now it is obviously lacking tons of optimizations (less commits) comparing to xmrig.

ariadarkkkis commented 4 years ago

Gxminer RandomSFX hashrate: 1.95KH/s Xmrig RandomSFX hashrate: 2.06KH/s Not that much difference. API /hashrates not working btw

ariadarkkkis commented 4 years ago

Hashrate is very good comparing that this is a Go miner and new, comparing to Xmrig which is C++ and old miner ( by old I mean it has more updates and fixed and optimizations ). Very impressive work. Im looking forward to use it.

ariadarkkkis commented 4 years ago

@maoxs2 any fixes on API? /hashrates showing empty json string.

c0mm4nd commented 4 years ago

fixed on 1cadf0fcece86ef5e12c4268df5d691895ee1b01