From 6df97f50653ea880714f7f6e54838063b578a11f Mon Sep 17 00:00:00 2001 From: jahway603 Date: Mon, 30 Aug 2021 13:42:47 -0400 Subject: [PATCH] added how to check log --- mining/solo-mining.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/mining/solo-mining.md b/mining/solo-mining.md index de047a6..2c501f4 100644 --- a/mining/solo-mining.md +++ b/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 ```