How To Mine Wownero With Xmrig Proxy

Started by jrswab, Jul 06, 2021, 04:56 PM

Previous topic - Next topic

wownerian

I must admit it is concerning that we can't see our hash rate listed in xmrig proxy. If anyone finds a block please let us know. I have no blocks so far but with 40kh/s and only approx 5 days of mining I can't say that this is abnormal.

gordej

I could see all my found blocks in the xmrig proxy.
But no haashrate :(.

gordej

[2021-07-11 20:59:59.764]  proxy    0.00 kH/s, shares: 7/0 +0, upstreams: 1, miners: 32 (max 37) +0/-0
[2021-07-11 21:00:57.378]  proxy    0000 accepted (8/0+0) diff 12731488207 ip 10.11.100.35 (30 ms)
[2021-07-11 21:00:57.381]  net      0000 new job from 127.0.0.1:34568 diff 12707827455 algo rx/wow height 333889
[2021-07-11 21:00:59.807]  proxy    69025.89 kH/s, shares: 8/0 +1, upstreams: 1, miners: 32 (max 37) +0/-0
[2021-07-11 21:01:59.860]  proxy    0.00 kH/s, shares: 8/0 +0, upstreams: 1, miners: 32 (max 37) +0/-0
[2021-07-11 21:02:34.900]  net      0000 new job from 127.0.0.1:34568 diff 12697506988 algo rx/wow height 333890

h0dl3r

I have the same issue, but without shares too and no hashrate in the xmrig proxy output.

[2021-07-11 14:06:20.000]  net      0000 new job from 127.0.0.1:34568 diff 12325026820 algo rx/wow height 333908
[2021-07-11 14:06:46.826]  proxy    0.00 kH/s, shares: 0/0 +0, upstreams: 1, miners: 1 (max 1) +1/-0
[2021-07-11 14:07:46.888]  proxy    0.00 kH/s, shares: 0/0 +0, upstreams: 1, miners: 1 (max 1) +0/-0
[2021-07-11 14:08:46.950]  proxy    0.00 kH/s, shares: 0/0 +0, upstreams: 1, miners: 1 (max 1) +0/-0
[2021-07-11 14:09:47.011]  proxy    0.00 kH/s, shares: 0/0 +0, upstreams: 1, miners: 1 (max 1) +0/-0
[2021-07-11 14:10:20.183] * upstreams active: 1 sleep: 0 error: 0 total: 1
[2021-07-11 14:10:20.183] * miners    active: 1 max: 1
[2021-07-11 14:10:47.069]  proxy    0.00 kH/s, shares: 0/0 +0, upstreams: 1, miners: 1 (max 1) +0/-0
[2021-07-11 14:11:47.130]  proxy    0.00 kH/s, shares: 0/0 +0, upstreams: 1, miners: 1 (max 1) +0/-0
[2021-07-11 14:12:47.195]  proxy    0.00 kH/s, shares: 0/0 +0, upstreams: 1, miners: 1 (max 1) +0/-0
[2021-07-11 14:13:47.257]  proxy    0.00 kH/s, shares: 0/0 +0, upstreams: 1, miners: 1 (max 1) +0/-0
[2021-07-11 14:14:47.324]  proxy    0.00 kH/s, shares: 0/0 +0, upstreams: 1, miners: 1 (max 1) +0/-0
[2021-07-11 14:15:47.387]  proxy    0.00 kH/s, shares: 0/0 +0, upstreams: 1, miners: 1 (max 1) +0/-0

jrswab

I too see only shares when they are accepted, total workers connected, and total workers that have ever connected...

No hash rate on the workers, or there total hashrate.

```shell
[2021-07-11 13:46:09.248]  proxy    speed (1m) 0.00, (10m) 0.00, (1h) 0.00, (12h) 26.56, (24h) 13.28 kH/s
WORKER NAME             | LAST IP         | COUNT | ACCEPTED | REJ |  10 MINUTES |    24 HOURS |
1700                    | 192.168.1.11    |     0 |        1 |   0 |   0.00 kH/s |  13.28 kH/s |
[2021-07-11 13:46:12.718]  proxy    0.00 kH/s, shares: 1/0 +0, upstreams: 1, miners: 2 (max 2) +0/-0

```
Once I got the accepted share the funds did appear in my wallet shortly after.

wowario

guys, if you don't know how to use XMRig properly, just mine directly from the wownero node

``
wownerod.exe --start-mining YOUR-ADDRESS --spendkey SECRET-SPENDKEY
``

jrswab

Quote from: "wowario, post:21, topic:672"guys, if you don't know how to use XMRig properly, just mine directly from the wownero node

Agreed, the blockchain is not large at all...

Any HDD you have laying around from the past 10 years is going to be more than enough to store it.

wowario

yeah, blockchain size is only 3-4 GBs

h0dl3r

The thread is called "How To Mine Wownero With Xmrig Proxy", what would be the problem of sharing our difficulties to configure a proxy? This thread is supposed to be for sharing and learning, if someone is bothered, keep going and don't disturb the participation of other users.

orklemerkle

By default, `xmrig-proxy` forwards the upstream difficulty to the miners. When solo mining, that's the network difficulty, so the miners won't send back any shares to the proxy until one finds a block. Since the proxy calculates hashrate based on submitted shares, you won't see that either.

You can use the `custom-diff` property in your proxy's `config.json` to set a default difficulty level across all miners. (You might also want to set `"custom-diff-stats": true`.)

Alternatively, to set an individual miner's difficulty level, append `+diff` to its username (in your miner command-line or JSON). Replace `diff` with a number, minimum 100.

You'll want to adjust your difficulty a bit. Too low and you'll get too many shares, loading down your proxy's bandwidth and CPU; too high and you won't see enough shares, making your proxy's calculated hashrate imprecise. Aim for one share per miner every half-minute or so.

All that said, this should have no effect on your actual hashrate or how many blocks you get. It only affects how the proxy calculates it.

jrswab

Thanks for the valuble information @orklemerkle.

I'll update the original post to include this. :pray:

wownerian

Thanks so much. For me so far I'm finding 500k diff is pretty much bang on for what I used to see in a pool (on 1hr average) so perhaps this may be a good starting point for others. I did set custom-diff-stats to true as well.

moonbeast

So I have xmrig-proxy working and my 4 systems are accessing it, getting jobs and getting accepted.  But after 12 hours at 600khps I see nothing.  Would this be normal?

jrswab

Quote from: "moonbeast, post:28, topic:672"But after 12 hours at 600khps I see nothing. Would this be normal?

In the wise words of @wowario...
>Solo mining is a lottery...

wownerian

I don't think this is unusual. We have to remember yes there's a lot of luck involved but over the long term the luck factor becomes smaller - as more time goes on people with similar hash rates will have more similar earnings. If we flip a coin 10 times it wouldn't be that crazy to see heads 9/10 times but if you flip a coin 10,000 times the odds of seeing heads at least 9000/10,000 times is super low.