How to Solo Mine

I’m not making any progress.

I downloaded latest version v0.10.1.0, extracted all contents to desktop and deleted the folder

Synchronized wownerod,

Opened a new terminal window, changed directory to Desktop and entered --start-mining Woxxxxx --spendkey xxxxxxxxx

Received the following errors:
|2021-09-02 03:54:01.851|F Error starting server: Failed to bind IPv4 (set to required)
|2021-09-02 03:54:01.851|I Deinitializing core…
|2021-09-02 03:54:01.856|I Stopping cryptonote protocol…
|2021-09-02 03:54:01.856|I Cryptonote protocol stopped successfully
|2021-09-02 03:54:01.856|E Exception in main! Failed to initialize p2p server.

I type status in wownerod terminal and get this:
Height: 349357/349357 (100.0%) on mainnet, not mining, net hash 119.23 MH/s, v19, 12(out)+0(in) connections, uptime 0d 0h 4m 49s

So I’m still not mining.

I guess the complication of this stuff is why I sold my ASIC miners in 2015, if I only could have figured that out then and not given up I’d have waaaaay more BTC.

I did notice a message in wownerod after syncing:
You are now synchronized with the network. You may now start wownero-wallet-cli.

tried running wownero-wallet-cli, moved my wallet file to desktop and entered the wallet name with no luck. Should I be attempting to run this wownero-wallet-cli or is the “–start-mining Woxxxxx --spendkey xxxxxxxxx” the optimal way to go?

Anyway please help, I would really like to understand how to cpu/gpu mine all sorts of coins. Getting this to work is a first step.

If I can succeed in getting this to run it’ll give me some confidence.

Thank you

Peep the screenshot:

you are almost there.

you should only run one instance of wownerod, not two.

type exit and restart it like this ./wownerod --start-mining Woxxxxx --spendkey xxxxxxxxx

My dude thank you! I think understand now.

Mining Started!

Screen Shot 2021-09-01 at 10.11.13 PM

congratulations, you are a solo miner. remember rewards are random and there is no guarantee when you would win a block. It could take a few days or a month or two.

2 Likes

Thanks! I did read that.

What else can be mined?

Did I read somewhere mining xmr is more lucrative?

is there similar simple route for that?

What else do you folks cpu/gpu mine that is profitable?

A post was split to a new topic: Failed to find tx meta

It depends on the price and network difficulty of Monero and Wownero at the time you’re mining.

Usually, Wownero is more profitable (more $ per hash) and also you can get a slightly faster hashrate with Wownero’s tweaked PoW.

1 Like

Great guide
took a bit of to and fro but got wownerod running, got synced and finally got mining

protips [windwows x64]:

  • make sure you don’t have a . at the start of your commands that’s for mac 'nd linux users only!

  • you can copy and paste in cmd by right clicking on the top bar and selecting ‘edit’.

  • to start mining; make sure you exit wownerod by typing ‘exit’ > then use the command ‘cd’ to navigate to the wownerod folder on your pc [eg/ ‘cd Documents’ ‘cd Wownero’ etc.] then you can enter the command and it should spin the wheel

  • using all threads available is max chances for profit but might affect pc performance, I keep one thread spare for … other purposes so I can mine in the background.

  • when mining use ‘status’ to check yoru mining stats, you can also set it to ‘show hr’ [show hashrate] to get a constant ticker of your hashrate and to see your pc’s heartbeat.

  • if it fails: triple check your syntax and comb through the instructions with a fine tooth comb

  • be careful with your secret spend key - try and keep it off clipboard and any documents local or online.

that’s the juice!

h00t

3 Likes

Question: Does having a more powerful CPU improve your chances of winning?
Or as you said above “rewards are random” hence CPU power (hashrate) does not increase your odds of winning, is that the case?

Yes. Your chances are proportional to your CPU’s hashrate over the network difficulty. However, exactly when you get your reward is random.

Consider it like a loterry where your hashrate is how many tickets you have. The total of everyone’s hashrate is the total number of tickets. The lottery is spun every block time (5 minutes on average) to see who wins the block.

However, this is only a rough analogy. In the real mining algorithm, the lottery is continuously spun and there is a chance that no one will win, so there will be times when a block is won sooner or later than average. The chances (i.e., network difficulty) are dynamically adjusted to target that average 5 minutes per win.

This is what is meant by the rewards being random, but in the long run it all averages out.

Do note however that in the long run, the total network hashrate fluctuates too as miners join and leave the network, and with most coins there is a consistent upwards trend which you should factor into your ROI calculations if you’re interested in mining.

2 Likes

Thanks for the excellent answer. Here is a follow-up question…

Let’s say there are 3 different miners with equal hash rate but differing configurations as follows:

  • Miner A: 5 x 1,000 Hash/sec (5 x PCs that are solo mining individually not via XMrig Proxy)

  • Miner B: 1 x 5,000 Hash/sec (a single PC that is solo mining)

  • Miner C: 2 x 2,500 Hash/sec (2 x PCs mining via XMrig Proxy, hence I presume hashrate is combined)

Do any of these setups have an advantage over the other?

Miner A’s five machines are completely independent, so there is no single point of failure. However, you might run into trouble if one machine or another falls out of sync with the blockchain, for example due to network issues or software/hardware problems. Also, you incur five PCs’ worth of overhead in power, cost, and management.

Miner B could be the most power-efficient, but if that one PC has a problem for whatever reason (software errors, another program eating up the CPU, or reboot for update), you entire hashrate drops.

Miner C has the advantage of not going down completely if one PC drops out. However, you still have a single point of failure in the proxy and wownero daemon, unless you run two of those and cross-link them.

In this case I’d set up a third high-reliability machine to run the proxy and daemon, while the miners can run optimised for hashrate per watt (overclocking, undervolting, less cooling, etc.). The miners will need a reliable, low-latency connection to the proxy in order to avoid stale shares, although in practice they won’t show up until you go transcontinental or something.

TL;DR: Each have advantages and disadvantages in terms of efficiency and reliability, though personally I’d avoid setup A.

1 Like

Thanks heap @orklemerkle. the above is excellent advise and I will plan on doing this.

Would you recommend my backup proxy & daemon be built using this nice script by @qvqc - Quick Start Wownerod for Solo miners alliance network , or does this add a level of risk, I’d appreciate your thoughts?

1 Like

You’re welcome!

The script looks good, but it also makes your node public and exposes it via Tor and I2P. If this is for your backup node running behind the same IP as another node, that’s rather inefficient at best. But if it’s at a different location, go for it. We can always use more nodes.

I guess it’s possible use the script and then manually close the ports, disable Tor and I2P, etc., but as I don’t use the script myself I can’t help much with that.

2 Likes

you can disable extra wownerod after running the script

  • pick one machine to run wownerod and xmrig proxy
  • on other machines run systemctl stop wownerod and systemctl disable wownerod
  • follow the guide by @jrswab , How To Mine Wownero With Xmrig Proxy
  • Bonus: add service files for xmrig and xmrig-proxy so they autostart on reboot

if you find some issue, lmk :slight_smile:

2 Likes

Every three mining devices a proxy and a node, efficiency, scalability, redundancy.

1 Like

In the miner side using config.json you can make it ready to switch the proxy in case of failure.

“pools”: [
{
“algo”: “rx/wow”,
“coin”: null,
“url”: “IP_PROXY_A”,
“user”: “WALLET”,
“spend-secret-key”: “EXPEND_SECRET_KEY”,
“pass”: null,
“rig-id”: “MINER_ID”,
},
{
“algo”: “rx/wow”,
“coin”: null,
“url”: “IP_PROXY_B”,
“user”: “WALLET”,
“spend-secret-key”: “EXPEND_SECRET_KEY”,
“pass”: null,
“rig-id”: “MINER_ID”,
},
{
“algo”: “rx/wow”,
“coin”: null,
“url”: “IP_PROXY_C”,
“user”: “WALLET”,
“spend-secret-key”: “EXPEND_SECRET_KEY”,
“pass”: null,
“rig-id”: “MINER_ID”,
}
],

1 Like

Yup, this is a good way of switching proxies automatically in case of failure.

Remember that you don’t need to put your spend key in the miner config when you’re mining to a proxy, though. You only need that if you mine directly to a daemon.

1 Like

i see when 2 min after tx send,wownerod report this in red:03.22.22.015 E failed to find tx meta <8b5e53…<will only print once
whats that mean?

That message seems to be mostly harmless.