You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
3.0 KiB

4 years ago
# Hush Full Node Integration Docs
This document will help you install and maintain a Hush Full Node. It is mainly geared towards exchanges and mining pools, but
will be useful to any service provider adding Hush, such as a Discord Tipbot service provider like https://tip.cc
4 years ago
# Installing Hush from source
On Ubuntu/Linux systems, you can install Hush from [source](https://git.hush.is/hush/hush3) with these commands:
4 years ago
```
# install build depedencies
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib \
autoconf libtool ncurses-dev unzip git python zlib1g-dev wget \
bsdmainutils automake curl unzip nano libsodium-dev
git clone https://git.hush.is/hush/hush3.git
4 years ago
cd hush3
./build.sh -j4 #4 for use 4 cores
4 years ago
```
More details can be found [here](https://git.hush.is/hush/hush3/src/branch/master/INSTALL.md)
4 years ago
4 years ago
# Installing Hush from a binary
You can also install a binary from an [official release](https://github.com/MyHush/hush3/releases/tag/v3.5.0)
4 years ago
3.5.0 is our latest mandatory release, [3.5.1](https://github.com/MyHush/hush3/releases/tag/v3.5.1) is an optional update that has some new features.
4 years ago
# Terminology
We have a document that explains a lot of terminology [here](https://git.hush.is/hush/terminology)
4 years ago
# Config changes for exchanges and pools
4 years ago
4 years ago
The default location on Linux for the HUSH config file is `~/.komodo/HUSH3/HUSH3.conf` . This file will have a username and password for RPC
access, so don't show the contents to untrusted people.
4 years ago
4 years ago
An advanced feature we suggest exchanges+pools use is called `consolidation=1` which keeps wallets small and hence fast.
This feature will always make small transactions in the background, "consolidating" funds into very efficient amounts. This
makes future transactions fast by spending small amounts of time consolidating funds in the background.
4 years ago
4 years ago
Here is an [example config file](https://gist.github.com/leto/2c3401df2f21a2ed5639bdffe0ff8717) for HUSH which is recommended for exchanges and mining pools.
4 years ago
# How Shielded Addresses (zaddrs) Are Different
4 years ago
* Change from a zaddr goes back to itself! Not a different address, like in transparent addresses (taddrs).
* Making zaddr transactions are slower, taking a few seconds instead of a few milliseconds
4 years ago
* Shielded transactions do not show the sender address, receiver address or amounts on the public explorer. You will need to use local RPC methods such as `z_viewtransaction` to see those details
4 years ago
* Shielded transactions are larger than transparent transactions, because more data is stored
4 years ago
* RPCs which work with zaddrs usually begin with `z_` such as `z_listunspent`. The very common `sendmany` RPC is called `z_sendmany` for zaddrs
4 years ago
4 years ago
# GUI wallets
4 years ago
4 years ago
Hush full node GUI wallet [SilentDragon](https://github.com/MyHush/SilentDragon/releases)
Hush lite wallet [SilentDragonLite](https://github.com/MyHush/SilentDragonLite/releases)
4 years ago
4 years ago
Android wallet (pairs with SilentDragon or SilentDragonLite) [SilentDragonAndroid](https://github.com/MyHush/SilentDragonAndroid/releases)
4 years ago