http://www.mochiwiki.com/w/index.php?title=Mining_FAQ&feed=atom&action=historyMining FAQ - Revision history2024-03-28T23:36:49ZRevision history for this page on the wikiMediaWiki 1.31.1http://www.mochiwiki.com/w/index.php?title=Mining_FAQ&diff=128&oldid=prevYoyao: Created page with "This page contains FAQ and Troubleshooting steps for issues commonly encountered while running a Full node.<br><br> __TOC__ ==Miner Start Commands== <code>./gomochi d</code>..."2019-03-07T06:39:41Z<p>Created page with "This page contains FAQ and Troubleshooting steps for issues commonly encountered while running a Full node.<br><br> __TOC__ ==Miner Start Commands== <code>./gomochi d</code>..."</p>
<p><b>New page</b></p><div>This page contains FAQ and Troubleshooting steps for issues commonly encountered while running a Full node.<br><br><br />
<br />
__TOC__<br />
<br />
==Miner Start Commands==<br />
<code>./gomochi d</code><br />
If you want Miner Stats:<br />
<code>./gomochi d -t3</code><br />
If you want verbose output:<BR><br />
<code>./gomochi d -t1</code> <br />
<br />
==Troubleshooting==<br />
===Problems Extracting the tar Package===<br />
It could be that your Gzip version is incompatible with the packages, try:<BR><BR><br />
<code>sudo apt update && sudo apt dist-upgrade</code><BR><BR><br />
Otherwise make sure you downloaded the package using either git clone or wget:<BR><BR><br />
<code>git clone https://github.com/mochimodev/mochimo.git</code><br />
<code>wget https://github.com/mochimodev/mochimo/raw/master/mochimo-main-net-v1.6.tgz</code><br />
<BR><br />
===Problems Compiling the Source===<br />
Make sure you are in the "src" directory and run:<BR><br />
<code>./makeunx bin && ./makeunx install</code><BR><br />
<br />
===Compiler Errors===<br />
You need to open the ccerror.log file in the src directory to see why it failed. The most common error found here is "./makeunx: cc: not found". To fix this, run: <br />
<code>sudo apt install gcc</code><BR><br />
<br />
===Wallet Hangs on Random Input=== <br />
Your system hasn't received enough entropy to create a truly random key... easy fix. Run: <br />
<code>sudo apt install rng-tools && rngd -r /dev/urandom</code><br />
<br />
==Issues With A Running Node==<br />
===Accessing the Monitor===<br />
Once the blockchain has synchronized and you are listening: To get to the menu: Ctrl^c To see available commands in menu: ? <br />
===Miner stuck on Listening...=== <br />
If you Miner does not receive updates in line with the block explorer (https://bx.mochimo.org/) after "Listening...", try restarting the miner. If this does not fix it, the port 2095 is likely closed. See Port Issues below...<br />
===Miner Not Updating Blocks===<br />
Use https://bx.mochimo.org/ to check if your node is on the same block as the network. If you are in line with the block explorer, don't worry, variances in block times are normal (it will average out in the end). If you are behind by more than 2 blocks, you might have a port issue. See Port Issues below... Note: The node's block number is displayed in Hex, so you must convert to Decimal format to get the block height<br />
<br />
===Port Issues - Miner requires Port 2095 to be OPEN===<br />
To confirm your port is open/closed, first make sure the miner is stopped. Then run nc -lvp 2095 in a terminal on you Miner's machine. Your machine should now be listening to port 2095. Now head to you favorite port checking website (https://www.yougetsignal.com/tools/open-ports/) and enter the public IP of your miner and 2095 as the port. This should give you confirmation on an open/closed port. Remember to forward the port on ALL routers if you have multiple linked in series. Remember Firewalls, VPNs, Proxy's and 3rd Party Antivirus software can block the port.<br />
<br />
===Haiku / Second is 0===<br />
Your Haiku/second will only populate/change for the block AFTER your miner was "solving". This can take a few blocks<br />
<br />
===Miner Not Solving===<br />
To begin solving you must receive a transaction from the network to solve with. This can take a few blocks.</div>Yoyao