Browse Source

added how to check log

hushsolo
jahway603 3 years ago
parent
commit
6df97f5065
  1. 12
      mining/solo-mining.md

12
mining/solo-mining.md

@ -39,32 +39,34 @@ First we need to setup the Hush configuration on our computer.
Note: If you had more than 1 ASIC, then each one would get it's own rpcallowip line item.
1. If you have a firewall enabled on your computer, we must give access to the ASIC device on the proper port of stratum server.
```
sudo ufw allow from 192.168.33.66 to any port 19031
sudo ufw reload
sudo ufw status
```
Note: If you have some type of unique network setup, then you may need to disable or change something on your router if your ASIC isn't connecting to live pool or your local stratum pool.
1. Next we start the hush daemon (hushd) at the command line with special options to enable a stratum server.
```
./src/hushd -stratum -debug=stratum -stratumallowip=192.168.0.0/16 &> hush-stratum.log
```
Substitute your hushd path and your local network appropriately in the above command.
1. Check that the stratum is started by seeing that it is listening on the correct port (default 19031).
You can check the log with the following command:
```
tail -f hush-stratum.log
```
1. Check that the stratum is started by seeing that it is listening on the correct port (default 19031).
```
ss -lnt | grep 19031
```
1. Your desktop computer needs to download & sync the Hush blockchain completely before you continue. You can check its status with the following command after waiting a couple of minutes after hushd has been started up ```hush-cli getinfo | grep synced```. When that value is true, then continue.
1. We need to get a t-addresses (yes, transparent garbage) to be able to mine solo. We generate a new t-address with this command:
1. We need to get a t-addresses (yes, transparent garbage) to be able to mine solo. We generate a new t-address either with this command or thru the desktop wallet's GUI:
```
hush-cli getnewaddress
```

Loading…
Cancel
Save