Skip to content

Commit

Permalink
Update Testnet.md
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed Oct 14, 2017
1 parent 979aca6 commit 62351b3
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions Testnet.md
@@ -1,17 +1,14 @@
HUSH 1.0.9 - Testnet
=============

What is a Testnet?
--------------
# Running a HUSH Testnet Node (TUSH Node)

## What is a Testnet?

![Logo](doc/hush/hush.png "Logo")

This software is the HUSH node and command-line Testnet client. It provides
a safe place - off the main network - for testing of new features,
applications and ideas without compromising the security of the main network.

How is running the Testnet different to running a Mainnet node?
--------------
## How is running the Testnet different to running a Mainnet node?

In essence their is very little difference in running a Testnet to a Mainnet node
it only requires one of many possible changes in how you start the node - we will
Expand All @@ -21,6 +18,11 @@ However - it is important that before you choose which method to use, you consid
if you will be ONLY running a Testnet node, or if you will be running one alongside
a Mainnet node on the same computer.

The testnet node uses the currency symbol TUSH for Test HUSH, and to be clear,
if you own a taddr/zaddr on mainnet, you do not own those addresses on the testnet,
since it has it's own genesis block and address hash space.


### To run a Testnet node on it's own (the simplest way) once only.
Make sure there are no other instances of Hush running:
```
Expand Down Expand Up @@ -67,7 +69,7 @@ testnet=1
gen=1
genproclimit=1
equihashsolver=tromp
mineraddress=
mineraddress=XXX
```
Don't forget to add in one of your testnet transparent addresses (an empty one)
on the last line there - it will keep all your mined coins on one address ready for
Expand Down Expand Up @@ -119,17 +121,24 @@ testnet=1
gen=1
genproclimit=1
equihashsolver=tromp
mineraddress=
mineraddress=XXX
```
- Run this from the usual hush directory (adjust for your paths):
```
./src/hushd -datadir=/home/username/.hush-t
```
- OR make a nice bash script in ```/usr/bin/```
`tush`:
```
#!/bin/bash
~/hush/src/hushd -datadir=/home/username/.hush-t $1 $2 $3
~/hush/src/hushd -datadir=/home/username/.hush-t $@
```
and `tush-cli`:
```
#!/bin/bash
~/hush/src/hush-cli -rpcport=18822 $@
```

Remember that to talk to this Testnet node - you will still need to use the
```./src/hush-cli -rpcport=18822``` style command, or of course you could also
make other scripts and nice bits to customise the system the way you want it.
Expand Down

0 comments on commit 62351b3

Please sign in to comment.