@ -38,114 +38,28 @@ First we need to setup the Hush configuration on our computer.
Change the ```rpcuser``` and ```rpcpassword``` above to something unique as it will be used later.
Change the ```rpcuser``` and ```rpcpassword``` above to something unique as it will be used later.
Note: If you had more than 1 ASIC, then each one would get it's own rpcallowip line item.
Note: If you had more than 1 ASIC, then each one would get it's own rpcallowip line item.
1. Then start ```hushd``` at the command line. It needs to be on your desktop computer with the Hush blockchain completely downloaded before you continue. You can check its status with the following command ```hush-cli getinfo | grep synced``` and you want the value to be true before continuing.
1. Next we start the hush daemon (hushd) at the command line with special options to enable a stratum server.
### Setup a NOMP
I didn't know what NOMP meant, so I looked it up and it stands for Node Open Mining Protocol. This software will let our ASIC miner connect to the hushd running on our computer, so here we go...
1. We'll use [KNOMP](https://github.com/webworker01/knomp), which is a NOMP based stratum for Komodo based Equihash coins like Hush.
1. We git clone it and change to the ```knomp``` directory.
1. Then copy an example config file to be used by us.
Substitute your hushd path and your local network appropriately in the above command.
```
cp config_example.json config.json
```
1. Then edit config.json and save it.
1. Check that the stratum is started by seeing that it is listening on the correct port (default 19031).
```
only things changed from default were
"forks": "auto"
"stratumHost": "stratum.hush.puppy"
```
1. Next we create a "coin" config for Hush. Change to the ```coins``` directory, create "hush.json", and configure as follows:
```
```
{
ss -lnt | grep 19031
"name": "hush",
"symbol": "hush",
"algorithm": "equihash",
"peerMagic": "f9eee48d",
"txfee": 0.0001,
"privateChain": true,
"burnFees": true,
"sapling": true
}
```
```
1. Then copy the poolconfig template into the ```knomp\pool_configs``` directory
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 run ```docker-compose up``` at the command line in the KNOMP directory once we configure as above.
1. Double check by opening 127.0.0.1:8080 in your web browser to check.
### ASIC Miner setup
### ASIC Miner setup
@ -160,8 +74,8 @@ I didn't know what NOMP meant, so I looked it up and it stands for Node Open Min
1. Setup your "pool" as follows with this example using 192.168.33.101 as the desktop computer's IP address.
1. Setup your "pool" as follows with this example using 192.168.33.101 as the desktop computer's IP address.
- Under Pool 1
- Under Pool 1
- Change URL to "http://stratum+192.168.33.101:3333"
- Change URL to "http://stratum+192.168.33.101:19031"
- Change Worker to a z-address from your Hush wallet. It's a good idea to create and use new addresses every so often for better privacy.
- Change Worker to the newly-generated-t-address-you-own from your Hush wallet. It's also a good idea to create and use new addresses every so often for better privacy.
- Change Password to whatever you want, some just use "X"
- Change Password to whatever you want, some just use "X"
- Under Pool 2 & Pool 3 we leave as-is
- Under Pool 2 & Pool 3 we leave as-is
@ -172,12 +86,10 @@ I didn't know what NOMP meant, so I looked it up and it stands for Node Open Min