Compare commits

...

8 Commits

Author SHA1 Message Date
Duke Leto 3504509bcb Update changelog 7 years ago
Jonathan "Duke" Leto f75eacc161 Add a list of Hush nodes accessible via Tor 7 years ago
Jonathan "Duke" Leto 24c3e11611 Add a list of seed Hush nodes and make daemon mode the default 7 years ago
Jonathan "Duke" Leto b0bd62fff1 Move to zcutil/ 7 years ago
Jonathan "Duke" Leto 00c7fc2126 Look at home dir correctly and avoid ~ which does not work in variables 7 years ago
Jonathan "Duke" Leto 8680b3b807 Use genhushconfig in INSTALL.md 7 years ago
Jonathan "Duke" Leto 5ebef49fb0 wip 7 years ago
Jonathan "Duke" Leto 132c1b8058 Add porcelain around generating a new config for a Hush node 7 years ago
  1. 9
      INSTALL.md
  2. 2
      contrib/debian/changelog
  3. 14
      zcutil/genhushconfig
  4. 20
      zcutil/hush.conf.default
  5. 2
      zcutil/hush.conf.tor

9
INSTALL.md

@ -31,12 +31,15 @@ sudo apt-get install \
```
Create a HUSH configuration file (*important*):
```
mkdir -p ~/.hush
echo "rpcuser=username" >> ~/.hush/hush.conf
echo "rpcpassword=`head -c 32 /dev/urandom | base64`" >>~/.hush/hush.conf
./bin/genhushconfig
```
This script will never touch an existing ~/.hush, it will only
create a new one for the first time and populate it with a
basic config file.
## Downloading Git source repo, building and running Hush
```{r, engine='bash'}

2
contrib/debian/changelog

@ -45,7 +45,7 @@ zcash (1.0.4) jessie; urgency=medium
* 1.0.4 release.
-- Zcash Company <team@z.cash> Thu, 15 Dec 2016 16:46:14 +1300
zcash (1.0.3) jessie; urgency=medium
* 1.0.3 release.

14
zcutil/genhushconfig

@ -0,0 +1,14 @@
#!/bin/bash
# Generate a new Hush node config
DIR="$HOME/.hush"
if [ -d "$DIR" ]; then
echo "Hush config directory $DIR already exists, doing nothing!!!"
else
mkdir -p $DIR
echo "rpcuser=username" >> $DIR/hush.conf
echo "rpcpassword=`head -c 32 /dev/urandom | base64`" >>$DIR/hush.conf
cat zcutil/hush.conf.default >> $DIR/hush.conf
echo "Created $DIR/hush.conf"
fi

20
zcutil/hush.conf.default

@ -0,0 +1,20 @@
daemon=1
addnode=us.madmining.club
addnode=183.89.226.141
addnode=163.172.70.26
addnode=76.188.211.191
addnode=173.212.196.148
addnode=78.94.32.197
addnode=77.78.12.89
addnode=78.46.88.113
addnode=163.172.70.26
addnode=192.99.3.29
addnode=144.76.62.229
addnode=163.172.64.208
addnode=37.187.167.145
addnode=[2607:5300:60:341d::1]
addnode=[2001:41d0:d:691::]
addnode=[2a02:c207:2008:8708::1]
addnode=[2001:470:1f09:3b6:7285:c2ff:fe0e:1664]
addnode=[2a02:908:162:67dc:225:90ff:fe50:2b9b]

2
zcutil/hush.conf.tor

@ -0,0 +1,2 @@
addnode=hushnodejbnzyvfk.onion
addnode=hushnodexptkgea3.onion
Loading…
Cancel
Save