Merge branch 'dev' into duke
This commit is contained in:
@@ -1,11 +0,0 @@
|
|||||||
# Installing Hush binaries
|
|
||||||
|
|
||||||
1. First [download the release](https://git.hush.is/hush/hush3/releases) you want to install. It will have a .deb file extension.
|
|
||||||
|
|
||||||
1. Next install the Debian package (change the version to what you downloaded above):
|
|
||||||
|
|
||||||
`dpkg -i hush-3.8.0-amd64.deb`
|
|
||||||
|
|
||||||
1. If you want to remove it, then run this to uninstall:
|
|
||||||
|
|
||||||
`apt-get remove hush`
|
|
||||||
122
INSTALL.md
122
INSTALL.md
@@ -1,122 +0,0 @@
|
|||||||
# Installing Hush
|
|
||||||
|
|
||||||
Instructions to compile Hush yourself.
|
|
||||||
|
|
||||||
## Swap Space (Optional)
|
|
||||||
You will need at least 4GB of RAM to build hush from git source, OR you can
|
|
||||||
enable a swap file. To enable a 4GB swap file on modern Linux distributions:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
sudo fallocate -l 4G /swapfile
|
|
||||||
sudo chmod 600 /swapfile
|
|
||||||
sudo mkswap /swapfile
|
|
||||||
sudo swapon /swapfile
|
|
||||||
```
|
|
||||||
|
|
||||||
## Build on Debian/Ubuntu:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
# install build dependencies
|
|
||||||
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib \
|
|
||||||
autoconf libtool ncurses-dev unzip git zlib1g-dev wget \
|
|
||||||
bsdmainutils automake curl unzip nano libsodium-dev cmake
|
|
||||||
# clone git repo
|
|
||||||
git clone https://git.hush.is/hush/hush3
|
|
||||||
cd hush3
|
|
||||||
# Build
|
|
||||||
# This uses 3 build processes, you need 2GB of RAM for each.
|
|
||||||
./build.sh -j3
|
|
||||||
```
|
|
||||||
|
|
||||||
## Build on Arch:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
# install build dependencies
|
|
||||||
sudo pacman -S gcc libsodium lib32-zlib unzip wget git python rust curl autoconf cmake
|
|
||||||
# clone git repo
|
|
||||||
git clone https://git.hush.is/hush/hush3
|
|
||||||
cd hush3
|
|
||||||
# Build
|
|
||||||
# This uses 3 build processes, you need 2GB of RAM for each.
|
|
||||||
./build.sh -j3
|
|
||||||
```
|
|
||||||
|
|
||||||
## Build on Fedora:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
# install build dependencies
|
|
||||||
sudo dnf install make automake gcc gcc-c++ kernel-devel cmake libtool ncurses-devel patch -y
|
|
||||||
# clone git repo
|
|
||||||
git clone https://git.hush.is/hush/hush3
|
|
||||||
cd hush3
|
|
||||||
# Build
|
|
||||||
# This uses 3 build processes, you need 2GB of RAM for each.
|
|
||||||
./build.sh -j3
|
|
||||||
```
|
|
||||||
|
|
||||||
### Building On Ubuntu 16.04 and older systems
|
|
||||||
|
|
||||||
Some older compilers may not be able to compile modern code, such as gcc 5.4 which comes with Ubuntu 16.04 by default. Here is how to install gcc 7 on Ubuntu 16.04. Run these commands as root:
|
|
||||||
|
|
||||||
```
|
|
||||||
add-apt-repository ppa:ubuntu-toolchain-r/test && \
|
|
||||||
apt update && \
|
|
||||||
apt-get install -y gcc-7 g++-7 && \
|
|
||||||
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 60 && \
|
|
||||||
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60
|
|
||||||
```
|
|
||||||
|
|
||||||
### Build on Mac
|
|
||||||
|
|
||||||
These instructions are a work in progress. Please report issues to https://hush.is/tg_support
|
|
||||||
|
|
||||||
```
|
|
||||||
sudo port update
|
|
||||||
sudo port upgrade outdated
|
|
||||||
sudo port install qt5
|
|
||||||
|
|
||||||
# clone git repo
|
|
||||||
git clone https://git.hush.is/hush/hush3
|
|
||||||
cd hush3
|
|
||||||
# Build
|
|
||||||
# This uses 3 build processes, you need 2GB of RAM for each.
|
|
||||||
./build.sh -j3
|
|
||||||
```
|
|
||||||
|
|
||||||
## Run a HUSH Node
|
|
||||||
|
|
||||||
After you have compiled Hush, then you can run it with the following command:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
./src/hushd
|
|
||||||
```
|
|
||||||
|
|
||||||
## Windows (cross-compiled on Linux)
|
|
||||||
Get dependencies:
|
|
||||||
```ssh
|
|
||||||
sudo apt-get install \
|
|
||||||
build-essential pkg-config libc6-dev m4 g++-multilib libdb++-dev \
|
|
||||||
autoconf libtool ncurses-dev unzip git zip \
|
|
||||||
zlib1g-dev wget bsdmainutils automake mingw-w64 cmake libsodium-dev
|
|
||||||
```
|
|
||||||
|
|
||||||
Downloading Git source repo, building and running Hush:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
# pull
|
|
||||||
git clone https://git.hush.is/hush/hush3
|
|
||||||
cd hush3
|
|
||||||
# Build
|
|
||||||
./util/build-win.sh -j$(nproc)
|
|
||||||
# Run a HUSH node
|
|
||||||
./src/hushd
|
|
||||||
```
|
|
||||||
|
|
||||||
## ARM Architecture
|
|
||||||
|
|
||||||
Currently, any ARMv7 machine will not be able to build this repo, because the
|
|
||||||
underlying tech (zcash and the zksnark library) do not support that instruction
|
|
||||||
set.
|
|
||||||
|
|
||||||
This also means that old RaspberryPi devices will not work, unless they have a
|
|
||||||
newer ARMv8-based Raspberry Pi. Raspberry Pi 4 and newer are known to work.
|
|
||||||
@@ -235,7 +235,7 @@ endif
|
|||||||
dist_bin_SCRIPTS =
|
dist_bin_SCRIPTS =
|
||||||
dist_noinst_SCRIPTS = autogen.sh util/build-debian-package.sh util/build.sh
|
dist_noinst_SCRIPTS = autogen.sh util/build-debian-package.sh util/build.sh
|
||||||
|
|
||||||
EXTRA_DIST = $(top_srcdir)/share/genbuild.sh qa/pull-tester/rpc-tests.sh qa/pull-tester/run-bitcoin-cli qa/rpc-tests qa/hush $(DIST_DOCS) $(BIN_CHECKS)
|
EXTRA_DIST = $(top_srcdir)/util/genbuild.sh qa/pull-tester/rpc-tests.sh qa/pull-tester/run-bitcoin-cli qa/rpc-tests qa/hush $(DIST_DOCS) $(BIN_CHECKS)
|
||||||
|
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
echo "We no longer install fetch-params!"
|
echo "We no longer install fetch-params!"
|
||||||
|
|||||||
198
README.md
198
README.md
@@ -1,75 +1,195 @@
|
|||||||
# Hush
|
<p align="center">
|
||||||
|
<img src="doc/hush/hush0.png">
|
||||||
|
</p>
|
||||||
|
|
||||||
## What is Hush?
|
<h3>
|
||||||
|
|
||||||

|
| Introduction | Install | Compile | FAQ | Documentation |
|
||||||
|
| :---: | :---: | :---: | :---: | :---: |
|
||||||
|
| [What is Hush?](#what-is-hush) | [Windows 10 - Video Tutorial](#install-on-windows-10) | [Build on Debian or Ubuntu](#build-on-debian-or-ubuntu) | [Where can I buy Hush?](#where-can-i-buy-hush) | [Cross compiling Windows binaries](#windows-cross-compiled-on-linux)
|
||||||
|
| [Why not GitHub?](#banned-by-github) | [Build on Mac](#build-on-mac) | [Build on Arch](#build-on-arch) | [Can I mine with CPU or GPU?](#can-i-mine-with-cpu-or-gpu) | [Hush DevOps for pools and CEXs](https://git.hush.is/hush/docs/src/branch/master/advanced/devops.md)
|
||||||
|
| [What is HushChat?](#what-is-hushchat) | [Debian and Ubuntu](#installing-hush-binaries) | [Build on Fedora](#build-on-fedora) | [Claiming funds from old Hush wallets](https://git.hush.is/hush/hush3/src/branch/dev/doc/OLD_WALLETS.md) | [Earn Hush bounty](#earn-hush-bounty)
|
||||||
|
| [What is SilentDagon?](#what-is-silentdagon) | [Raspberry Pi](#install-on-arm-architecture) | [Build on Ubuntu 16.04 or older](#building-on-ubuntu-16-04-and-older-systems) | [Where can I spend Hush?](#where-can-i-spend-hush) | [Cross compiling from amd64 to arm64](https://git.hush.is/hush/docs/src/branch/master/advanced/cross-compile-hush-full-node-to-aarch64-with-docker.md)
|
||||||
|
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
# What is Hush?
|
||||||
|
|
||||||
Hush implements Extreme Privacy via blockchain tech. We have our own
|
Hush implements Extreme Privacy via blockchain tech. We have our own
|
||||||
genesis block. We are not a chain fork (copy) of another coin. We are based on
|
genesis block. We are not a chain fork (copy) of another coin. We are based on
|
||||||
Bitcoin code, with sophisticated zero-knowledge mathematics added for privacy.
|
Bitcoin code, with sophisticated zero-knowledge mathematics added for privacy.
|
||||||
This keeps your transaction metadata private!
|
This keeps your transaction metadata private!
|
||||||
|
|
||||||
### This repository
|
# What is this repository?
|
||||||
|
|
||||||
This software is the Hush node and command-line client. It downloads and stores
|
This software is the Hush node and command-line client. It downloads and stores
|
||||||
the entire history of Hush transactions; depending on the speed of your
|
the entire history of Hush transactions; depending on the speed of your
|
||||||
computer and network connection, it will likely take a few hours at least, but
|
computer and network connection, it will likely take a few hours at least, but
|
||||||
some people report full nodes syncing in less than 1.5 hours. A competing privacy
|
some people report full nodes syncing in less than 1.5 hours.
|
||||||
coin takes over 24 hours to sync their full nodes because of Sprout Transactions, lulz.
|
|
||||||
|
|
||||||
### BANNED BY GITHUB
|
# Banned by GitHub
|
||||||
|
|
||||||
In working on this release, Duke Leto was suspended from Github, which gave Hush developers
|
In working on this release, Duke Leto was suspended from Github, which gave Hush developers
|
||||||
the impetus to completely leave that racist and censorship-loving platform.
|
the impetus to completely leave that racist and censorship-loving platform. Hush now has it's own [git.hush.is](https://git.hush.is/hush) Gitea instance,
|
||||||
|
because we will not be silenced by Microsoft. All Hush software will be released from git.hush.is and hush.is, downloads from any other
|
||||||
Hush now has it's own [git.hush.is](https://git.hush.is/hush) Gitea instance,
|
|
||||||
because we will not be silenced by Microsoft.
|
|
||||||
|
|
||||||
All Hush software will be released from git.hush.is and hush.is, downloads from any other
|
|
||||||
domains should be assumed to be backdoored.
|
domains should be assumed to be backdoored.
|
||||||
|
|
||||||
**Hush is unfinished and highly experimental.** Use at your own risk! Just like Bitcoin.
|
**Hush is unfinished and highly experimental.** Use at your own risk! Just like Bitcoin.
|
||||||
|
|
||||||
## Installing
|
# Build on Debian or Ubuntu
|
||||||
|
|
||||||
You can either compile it yourself or you can install a binary which was compiled by us.
|
```sh
|
||||||
Please refer to the instructions which apply to you below:
|
# install build dependencies
|
||||||
|
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib \
|
||||||
|
autoconf libtool ncurses-dev unzip git zlib1g-dev wget \
|
||||||
|
bsdmainutils automake curl unzip nano libsodium-dev cmake
|
||||||
|
# clone git repo
|
||||||
|
git clone https://git.hush.is/hush/hush3
|
||||||
|
cd hush3
|
||||||
|
# Build
|
||||||
|
# This uses 3 build processes, you need 2GB of RAM for each.
|
||||||
|
./build.sh -j3
|
||||||
|
```
|
||||||
|
Video Tutorial: https://videos.hush.is/w/3kKQt81r7UUPWLHVuwK2BZ
|
||||||
|
|
||||||
* See [INSTALL.md](INSTALL.md) to compile from source on Linux and to cross-compile for Windows
|
# Build on Arch
|
||||||
* See [INSTALL-BIN.md](INSTALL-BIN.md) to install pre-compiled binary on Linux
|
|
||||||
|
|
||||||
### Claiming Funds From Old Hush Wallets
|
```sh
|
||||||
|
# install build dependencies
|
||||||
|
sudo pacman -S gcc libsodium lib32-zlib unzip wget git python rust curl autoconf cmake
|
||||||
|
# clone git repo
|
||||||
|
git clone https://git.hush.is/hush/hush3
|
||||||
|
cd hush3
|
||||||
|
# Build
|
||||||
|
# This uses 3 build processes, you need 2GB of RAM for each.
|
||||||
|
./build.sh -j3
|
||||||
|
```
|
||||||
|
|
||||||
If you have an older wallet, then refer to [OLD_WALLETS.md](OLD_WALLETS.md).
|
# Build on Fedora
|
||||||
|
|
||||||
### Official Explorers
|
```sh
|
||||||
|
# install build dependencies
|
||||||
|
sudo dnf install make automake gcc gcc-c++ kernel-devel cmake libtool ncurses-devel patch -y
|
||||||
|
# clone git repo
|
||||||
|
git clone https://git.hush.is/hush/hush3
|
||||||
|
cd hush3
|
||||||
|
# Build
|
||||||
|
# This uses 3 build processes, you need 2GB of RAM for each.
|
||||||
|
./build.sh -j3
|
||||||
|
```
|
||||||
|
|
||||||
|
# Install on Windows 10
|
||||||
|
|
||||||
|
Video Tutorial: https://videos.hush.is/w/oGXff7of3EjmGENtDtYTUX
|
||||||
|
|
||||||
|
# Install on ARM Architecture
|
||||||
|
|
||||||
|
Use this if you have a Raspberry Pi or similar computer. Currently, any ARMv7 machine will not be able to build this repo, because the underlying tech (zcash and the zksnark library) do not support that instruction set. This also means that old RaspberryPi devices will not work, unless they have a newer ARMv8-based Raspberry Pi. Raspberry Pi 4 and newer are known to work.
|
||||||
|
|
||||||
|
1. [Download the latest Debian package with the AARCH64 designation from the releases page](https://git.hush.is/hush/hush3/releases).
|
||||||
|
1. Install the Debian package, substituting "VERSION-NUMBER" for the version you have downloaded: `sudo dpkg -i hush-VERSION-NUMBER-aarch64.deb`.
|
||||||
|
1. Run with: `hushd`.
|
||||||
|
|
||||||
|
# Building On Ubuntu 16.04 and older systems
|
||||||
|
|
||||||
|
Some older compilers may not be able to compile modern code, such as gcc 5.4 which comes with Ubuntu 16.04 by default. Here is how to install gcc 7 on Ubuntu 16.04. Run these commands as root:
|
||||||
|
|
||||||
|
```
|
||||||
|
add-apt-repository ppa:ubuntu-toolchain-r/test && \
|
||||||
|
apt update && \
|
||||||
|
apt-get install -y gcc-7 g++-7 && \
|
||||||
|
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 60 && \
|
||||||
|
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60
|
||||||
|
```
|
||||||
|
|
||||||
|
# Build on Mac
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo port update
|
||||||
|
sudo port upgrade outdated
|
||||||
|
sudo port install qt5
|
||||||
|
|
||||||
|
# clone git repo
|
||||||
|
git clone https://git.hush.is/hush/hush3
|
||||||
|
cd hush3
|
||||||
|
# Build
|
||||||
|
# This uses 3 build processes, you need 2GB of RAM for each.
|
||||||
|
./build.sh -j3
|
||||||
|
```
|
||||||
|
|
||||||
|
# Installing Hush binaries
|
||||||
|
|
||||||
|
1. [Download the release](https://git.hush.is/hush/hush3/releases) with a .deb file extension.
|
||||||
|
1. Install the Debian package, substituting "VERSION-NUMBER" for the version you have downloaded: `sudo dpkg -i hush-VERSION-NUMBER-amd64.deb`.
|
||||||
|
1. Run with: `hushd`.
|
||||||
|
|
||||||
|
# Windows (cross-compiled on Linux)
|
||||||
|
Get dependencies:
|
||||||
|
```ssh
|
||||||
|
sudo apt-get install \
|
||||||
|
build-essential pkg-config libc6-dev m4 g++-multilib libdb++-dev \
|
||||||
|
autoconf libtool ncurses-dev unzip git zip \
|
||||||
|
zlib1g-dev wget bsdmainutils automake mingw-w64 cmake libsodium-dev
|
||||||
|
```
|
||||||
|
|
||||||
|
Downloading Git source repo, building and running Hush:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# pull
|
||||||
|
git clone https://git.hush.is/hush/hush3
|
||||||
|
cd hush3
|
||||||
|
# Build
|
||||||
|
./util/build-win.sh -j$(nproc)
|
||||||
|
# Run a HUSH node
|
||||||
|
./src/hushd
|
||||||
|
```
|
||||||
|
|
||||||
|
# Official Explorers
|
||||||
|
|
||||||
The links for the Official Hush explorers:
|
The links for the Official Hush explorers:
|
||||||
* [explorer.hush.is](https://explorer.hush.is)
|
* [explorer.hush.is](https://explorer.hush.is)
|
||||||
* [explorer.hush.land](https://explorer.hush.land)
|
* [explorer.hush.land](https://explorer.hush.land)
|
||||||
|
|
||||||
We are looking for alternate explorers to be run on Tor, i2P and other TLDs, if you are interested
|
# What is SilentDragon?
|
||||||
please join Telegram and ask questions.
|
|
||||||
|
|
||||||
### For system admins
|
* [SilentDragon](https://git.hush.is/hush/SilentDragon) is a desktop wallet for HUSH full node.<br>
|
||||||
|
* [SilentDragonLite](https://git.hush.is/hush/SilentDragonLite) is a desktop wallet that does not require you to download the full blockchain.
|
||||||
|
* [SilentDragonAndroid](https://git.hush.is/hush/SilentDragonAndroid) is a wallet for Android devices.
|
||||||
|
* [SilentDragonPaper](https://git.hush.is/hush/SilentDragonPaper) is a paper wallet generator that can be run completely offline.
|
||||||
|
|
||||||
There is a new systemd user service script so you can easily start/stop/restart your hushd service on your server.
|
# What is HushChat?
|
||||||
[Try it out today](doc/hushd-systemd.md) and the systemd script is located in the doc directory of the source tree.
|
|
||||||
|
|
||||||
## Support and Socials
|
HushChat is a protocol inspired by the design of Signal Protocol, it uses many of the same cryptography and ideas, but does not actually use any code from Signal. Signal requires phone numbers and is a centralized service. HushChat is completely anonymous and decentralized and requires absolutely no metadata be given to any centralized third parties.
|
||||||
|
|
||||||
Please feel free to join us on Telegram for official support:
|
# Can I mine with CPU or GPU?
|
||||||
* Main group: https://hush.is/tg
|
|
||||||
* Support group: https://hush.is/telegram_support
|
|
||||||
* Mining group: https://hush.is/telegram_mining
|
|
||||||
|
|
||||||
Other socials:
|
Hush cannot be efficiently mined with CPU or GPU, only ASIC mining is recommended. HUSH uses Equihash (200,9) algo, as does Zcash, Horizen or Komodo.
|
||||||
* Twitter: <a href="https://hush.is/twitter">@hushisprivacy</a>
|
|
||||||
* Matrix: <a href="https://hush.is/matrix">@hush_main:meowchat.xyz</a>
|
|
||||||
* PeerTube <a href="https://hush.is/peertube">videos.hush.is</a>
|
|
||||||
* Reddit <a href="https://hush.is/reddit">@Myhush</a>
|
|
||||||
* Mastodon <a href="https://hush.is/mastodon">@myhushteam@fosstodon.org</a>
|
|
||||||
|
|
||||||
## License
|
# Where can I buy Hush?
|
||||||
|
|
||||||
For license information see the file [COPYING](COPYING).
|
1. https://nonkyc.io/market/HUSH_BTC
|
||||||
|
1. https://tradeogre.com/exchange/BTC-HUSH
|
||||||
|
|
||||||
|
# Where can I spend Hush?
|
||||||
|
|
||||||
|
AgoraX market (in progress)
|
||||||
|
|
||||||
|
# Earn Hush bounty
|
||||||
|
|
||||||
|
Developers can earn bounty by fixing bugs or solving feature requests listed in `Issues->Label`:
|
||||||
|
- https://git.hush.is/hush/hush3/issues
|
||||||
|
- https://git.hush.is/hush/SilentDragon/issues
|
||||||
|
- https://git.hush.is/hush/SilentDragonLite/issues
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
# Support and Socials
|
||||||
|
|
||||||
|
* Telegram: [https://hush.is/tg](https://hush.is/tg)
|
||||||
|
* Matrix: [https://hush.is/matrix](https://hush.is/matrix)
|
||||||
|
* Twitter: [https://hush.is/twitter](https://hush.is/twitter)
|
||||||
|
* PeerTube [https://hush.is/peertube](https://hush.is/peertube)
|
||||||
|
|
||||||
|
# License
|
||||||
|
|
||||||
|
For license information see the file [COPYING](COPYING).
|
||||||
90
SECURITY.md
90
SECURITY.md
@@ -1,90 +0,0 @@
|
|||||||
## Reporting a Vulnerability
|
|
||||||
|
|
||||||
You can use [Keybase](https://keybase.io/dukeleto) to find secure contact information.
|
|
||||||
|
|
||||||
You can also contact Duke directly via SilentDragon wallet, via "Contact Duke". Encrypted sensitive data
|
|
||||||
in memo fields in highly encouraged.
|
|
||||||
|
|
||||||
We kindly ask you to not publish or exploit any found vulnerabilities without at least contacting us first.
|
|
||||||
|
|
||||||
Fingerprint: F16219F4C23F91112E9C734A8DFCBF8E5A4D8019
|
|
||||||
|
|
||||||
```
|
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
Version: Keybase OpenPGP v2.0.8
|
|
||||||
Comment: https://keybase.io/crypto
|
|
||||||
|
|
||||||
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
|
|
||||||
=YSWs
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
```
|
|
||||||
8
build.sh
8
build.sh
@@ -9,11 +9,13 @@ set -eu -o pipefail
|
|||||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||||
./util/build.sh --disable-tests $@
|
./util/build.sh --disable-tests $@
|
||||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
./util/build-mac.sh --disable-tests $@
|
# code from ./util/build.sh needs to be ported to support --disable-tests
|
||||||
|
#./util/build-mac.sh --disable-tests $@
|
||||||
|
./util/build-mac.sh $@
|
||||||
elif [[ "$OSTYPE" == "msys"* ]]; then
|
elif [[ "$OSTYPE" == "msys"* ]]; then
|
||||||
./util/build-win.sh --disable-tests $@
|
./util/build-win.sh --disable-tests $@
|
||||||
#elif [[ "$OSTYPE" == "freebsd"* ]]; then
|
elif [[ "$OSTYPE" == "freebsd"* ]]; then
|
||||||
# placeholder
|
./util/build.sh --disable-tests $@
|
||||||
else
|
else
|
||||||
echo "Unable to detect your OS. What are you using?"
|
echo "Unable to detect your OS. What are you using?"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,3 +1,410 @@
|
|||||||
|
hush (3.10.2) stable; urgency=medium
|
||||||
|
|
||||||
|
* Upgraded WolfSSL to 5.2.0 on Linux and Mac: #380.
|
||||||
|
* Upgraded to 4.8.1 on Windows because newer versions do not compile on it
|
||||||
|
* Only Hush and DragonX will automatically connect to various seed nodes
|
||||||
|
* Updated i2p seed node: 8c8b6e88f0.
|
||||||
|
* Removed unused code.
|
||||||
|
* Fixed boost download link: 323d2134a1.
|
||||||
|
* Hush and DragonX full nodes take up a lot less memory and binaries are now
|
||||||
|
smaller due to the cryptoconditions removal, which means syncing, rescanning
|
||||||
|
and compiling is faster: #381.
|
||||||
|
* Removed CLI options related to CryptoConditions: -ac_cc, -ac_cclib,
|
||||||
|
-ac_ccenable, and -ac_ccactivate
|
||||||
|
* Large page support enabled, which can lead to a 1-2% speed increase in
|
||||||
|
mining depending on RAM and CPU.
|
||||||
|
* Various small optimizations such as making some variables static or const
|
||||||
|
and removing unnecessary conditionals.
|
||||||
|
* Mining now starts faster because instead of only using 2 threads to prepare
|
||||||
|
data needed to mine, it now uses all physical cores: 1b5422eb2d.
|
||||||
|
* RandomX mining now takes slightly less memory.
|
||||||
|
* Added script for scanning DragonX nodes: 0679468f60.
|
||||||
|
* More details about p2p encryption: ccc86839b9, a358acab0b, 4ed576a7e2.
|
||||||
|
* Added Fedora install process: #384.
|
||||||
|
* Added Arch install process: #393.
|
||||||
|
* Implemented better error messages: f64c10baa9, f71f8124c3.
|
||||||
|
* Improved hush_scanner and seed node contrib file: 16dd3aef74.
|
||||||
|
* Removed unused Makefile: #291.
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Tue, 05 Mar 2024 18:29:47 -0700
|
||||||
|
|
||||||
|
hush (3.10.1) stable; urgency=medium
|
||||||
|
|
||||||
|
* Fixed bug causing "payment to wrong pubkey" error when syncing a new node
|
||||||
|
* Faster syncing of Hush and DragonX full nodes
|
||||||
|
* Slightly less memory usage in each Equihash/RandomX mining thread
|
||||||
|
* Fixed compiling issues related to RandomX v1.2.1
|
||||||
|
* Improved RPC docs for getblocktemplate
|
||||||
|
* Removed the getdeprecationinfo RPC
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Tue, 02 Jan 2024 15:16:40 -0700
|
||||||
|
|
||||||
|
hush (3.10.0) stable; urgency=high
|
||||||
|
|
||||||
|
* Hush and all Hush Smart Chains now use less RAM #283
|
||||||
|
* Hush and all Hush Smart Chains now make it harder and more expensive for
|
||||||
|
an attacker to send shielded spam. This raises the cost in CPU 14d3ae1785
|
||||||
|
and transaction fees 2308db22ee for Denial-of-Service attacks.
|
||||||
|
* Bug fix: Fixed hush-cli stop not stopping the node during the "Building
|
||||||
|
Witnesses" rescan phase #330
|
||||||
|
* Bug fix: Fixed abortrescan couldn't be used when node starting up (RPC
|
||||||
|
warmup) and where it could not abort the rescan if it was in the "Building
|
||||||
|
Witnesses" phase #331
|
||||||
|
* Bug fix: Fixed z_mergetoaddress where docs said you could use ANY_ZADDR
|
||||||
|
but you couldn't 7eb9d75b94
|
||||||
|
* New RPC: z_listunspent now returns the text representation of a memo in
|
||||||
|
memoStr key
|
||||||
|
* New RPC: z_getstats which reports data about numer of shielded inputs (zins)
|
||||||
|
and shielded outputs (zouts) in transactions. 96ae2d61ca
|
||||||
|
* CVE fix: Upgraded curl to 8.4.0 #325 to fix CVE-2023-38545
|
||||||
|
* New documentation about using CJDNS with Hush
|
||||||
|
* Implemented decentralized Devtax
|
||||||
|
* Updated to latest RandomX v1.2.1 which includes mining optimizations
|
||||||
|
* Fixed RandomX mining memory leak and crash #324
|
||||||
|
* Fixed quoting bugs with dragonx-cli script
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Tue, 28 Nov 2023 16:47:59 -0700
|
||||||
|
|
||||||
|
hush (3.9.4) stable; urgency=medium
|
||||||
|
|
||||||
|
* Hush and DragonX nodes will now sync much faster
|
||||||
|
* DragonX now has checkpoints for faster & better chain security #243 #304
|
||||||
|
* Updated to the latest RandomX code
|
||||||
|
* Rate limiting for the processing of incoming address messages for
|
||||||
|
increased security. #272
|
||||||
|
* Removed unused function CWalletTx::GetRequestCount #273
|
||||||
|
* Removed mapRequest tracking that only affects Qt display. #274
|
||||||
|
* Randomized message processing peer order for increased privacy. #275
|
||||||
|
* Removed BIP35 mempool p2p message for increased privacy. #284
|
||||||
|
* Added additional community seed nodes
|
||||||
|
* Use custom jobs param when compiling boost for faster compile times #288
|
||||||
|
* Now builds with gcc13 thanks to testing from jahway #293
|
||||||
|
* Bug fix: -stratumallowip works with CIDR and netmask ranges again for solo
|
||||||
|
miners #270
|
||||||
|
* Bug fix: Detect missing autoreconf in build.sh #289
|
||||||
|
* Bug fix: Various assertions removed from BIP155 changes #297
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Sun, 02 Jul 2023 17:47:39 -0700
|
||||||
|
|
||||||
|
hush (3.9.3) stable; urgency=medium
|
||||||
|
|
||||||
|
* Difficulty bug affecting DRAGONX has been fixed
|
||||||
|
* RandomX mining hashrate increase of about 60X
|
||||||
|
* Optimized memory usage of RandomX mining
|
||||||
|
* Adds Tor v3 and i2p support (BIP155 also known as addrv2)
|
||||||
|
* New RPC: getrescaninfo - Says if node is rescanning with additional info
|
||||||
|
about progress
|
||||||
|
* New RPC: abortrescan - Stops rescanning if node is currently rescanning
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Mon, 13 Feb 2023 15:02:48 -0700
|
||||||
|
|
||||||
|
hush (3.9.2) stable; urgency=medium
|
||||||
|
|
||||||
|
* This release adds RandomX support in Hush Smart Chains (HSCs)
|
||||||
|
* A new feature called "zsweep" has been added, which defaults to disabled.
|
||||||
|
* Expired transactions will not be relayed & nodes doing so no longer banned
|
||||||
|
* Fix a rare coredump when nodes have many unconfirmed or expired transactions
|
||||||
|
* New RPC: getblockmerkletree, which shows full Merkle Tree for a block height
|
||||||
|
* New RPC: z_consolidationstatus will show config + stats about consolidation
|
||||||
|
* New RPC: z_anonsettxdelta : Returns delta (difference) in the anonset for a
|
||||||
|
given txid.
|
||||||
|
* New RPC: z_anonsetblockdelta : Returns delta (difference) in the anonset for
|
||||||
|
a given block.
|
||||||
|
* getrawtransaction RPC now returns a "size" key with the size in bytes of a
|
||||||
|
transaction
|
||||||
|
* sendmany RPC will now reject transactions that send to t-addresses
|
||||||
|
immediately, instead of them being rejected in mempool
|
||||||
|
* New contrib script: contrib/gen-zaddrs.pl - Generates z-addresses in bulk
|
||||||
|
* New contrib script: contrib/sdl_checkpoints.pl - Generate SDL checkpoints
|
||||||
|
using getblockmerkletree
|
||||||
|
* ZeroMQ support has been removed from Hush
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Tue, 27 Sep 2022 14:08:15 -0700
|
||||||
|
|
||||||
|
hush (3.9.1) stable; urgency=medium
|
||||||
|
|
||||||
|
* Fix RPC deadlocks, which caused the RPC interface to hang
|
||||||
|
* The listbanned RPC now returns a new key time_remaining which tells how many
|
||||||
|
seconds are remaining in the ban
|
||||||
|
* The rescan RPC now works correctly when given a height. This can be used to
|
||||||
|
do a partial rescan from a custom height, without restarting the node.
|
||||||
|
* Minimum disk space required for running full node increased to 1GB from 50MB
|
||||||
|
* Dockerfile has been updated
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Tue, 25 Jan 2022 06:39:18 -0700
|
||||||
|
|
||||||
|
hush (3.9.0) stable; urgency=high
|
||||||
|
|
||||||
|
* hushd, hush-cli, and hush-tx are now true binaries instead of shell scripts
|
||||||
|
* New official location for full node data is ~/.hush and existing full
|
||||||
|
nodes will continue to use the legacy ~/.komodo directory
|
||||||
|
* Hush full nodes will now attempt to talk to two more nodes by default:
|
||||||
|
node1.hush.land and node2.hush.land
|
||||||
|
* New RPC: listaddresses - Show all taddrs in this wallet.dat
|
||||||
|
* New RPC: rpcinfo - Shows stats about RPC internals
|
||||||
|
* These RPCs can now be run during RPC warmup: listaddresses, z_exportwallet,
|
||||||
|
signmessage, decoderawtransaction, and getnetworkinfo
|
||||||
|
* New doc/hushd.service to use hushd with systemd
|
||||||
|
* Optimize zaddrs by only building block's witness caches involving our wallet
|
||||||
|
connection on
|
||||||
|
* When RPC connection fails hush-cli now tells you which port it was trying to
|
||||||
|
connect to
|
||||||
|
* Calculation of HSC "network magic" has changed as of 3.9.0
|
||||||
|
* New Stratum API so you can Solo mine with your full node, enable it
|
||||||
|
with -stratum=1
|
||||||
|
* hush-smart-chain script now installed in Debian packages
|
||||||
|
* Now compatible on SBC (Single Board Computer) like PineBook, Rock64,
|
||||||
|
Raspberry Pi, etc.
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Thu, 21 Oct 2021 04:44:44 -0700
|
||||||
|
|
||||||
|
hush (3.8.0) stable; urgency=medium
|
||||||
|
|
||||||
|
* New Sietch feature: Randomized change output location
|
||||||
|
* New Sietch feature: Sietch-ified z_shieldcoinbase
|
||||||
|
* Implemented patch to fix how the longest chain is calculated, which could
|
||||||
|
prevent mining pools from making payout transactions
|
||||||
|
* plz_stop feature implemented for when RPC interface is not functioning
|
||||||
|
(such as filled by deadlocks) making it impossible to shut it down correctly
|
||||||
|
* -keepnotewitnesscache prevents Sapling Note Witness cache from being
|
||||||
|
deleted from wallet.dat on shutdown.
|
||||||
|
* -rescanheight can be used with -keepnotewitnesscache and -rescan to do a
|
||||||
|
partial rescan of history and avoid completely rebuilding the Witness Cache
|
||||||
|
* -zindex data is now stored on disk in the new zindex.dat file
|
||||||
|
* getpeerinfo now returns a relaytxes key which says if a remote node is
|
||||||
|
relaying transactions to your node
|
||||||
|
* Improvements to the RPC help documentation
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Sat, 10 Jul 2021 06:53:52 -0700
|
||||||
|
|
||||||
|
hush (3.7.1) stable; urgency=medium
|
||||||
|
|
||||||
|
* Removed more internals code related to unused Sprout transactions, making
|
||||||
|
Hush run and compile faster and use less memory.
|
||||||
|
* Now provides more useful error message when user attempts to make
|
||||||
|
transaction before the node is synced.
|
||||||
|
* z_sendmany RPC docs now show an example of a z2z transaction
|
||||||
|
* Deprecated alert p2p message no longer processed & nodes using it will be
|
||||||
|
banned
|
||||||
|
* try-before-evict ported from BTC core to help protect against Eclipse and
|
||||||
|
Sybil Attacks
|
||||||
|
* "Feeler connections" ported from BTC, which is another technique to make
|
||||||
|
Eclipse and Sybil Attacks harder and more expensive
|
||||||
|
* New RPC: z_getbalances returns a list of all zaddrs with non-zero balance.
|
||||||
|
* "Automagic z_sendmany" makes the RPC easier to use and also improves privacy
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Wed, 21 Apr 2021 14:18:12 -0700
|
||||||
|
|
||||||
|
hush (3.7.0) stable; urgency=medium
|
||||||
|
|
||||||
|
* Improved TLS error reporting
|
||||||
|
* Fix bug relating to calculating difficulty
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Thu, 01 Apr 2021 02:53:21 -0700
|
||||||
|
|
||||||
|
hush (3.6.3) stable; urgency=low
|
||||||
|
|
||||||
|
* Maintenance release, which is mostly the same as 3.6.2 but it fixes some
|
||||||
|
issues in Debian+Arch packages and binaries not able to find asmap.dat
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Fri, 26 Feb 2021 14:42:59 -0700
|
||||||
|
|
||||||
|
hush (3.6.2) stable; urgency=medium
|
||||||
|
|
||||||
|
* Autonomous System Map (asmap) bucketing by default
|
||||||
|
* New CLI flag -asmap is on by default, and can be turned off with -asmap=0
|
||||||
|
* debug.log is now shrunk to 15MB instead of 100MB
|
||||||
|
* The max size of debug.log can now be controlled via -maxdebugfilesize
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Sun, 21 Feb 2021 14:21:31 -0700
|
||||||
|
|
||||||
|
hush (3.6.1) stable; urgency=low
|
||||||
|
|
||||||
|
* WolfSSL upgraded to 4.6.0 and side-channel resistance enabled via
|
||||||
|
ECC_TIMING_RESISTANT
|
||||||
|
* Hush full nodes now exclusively communivate via P2P messages with TLS1.3 as
|
||||||
|
the option -tls=only has become default and cannot be turned off
|
||||||
|
* Improved error-handling and logging of TLS connections
|
||||||
|
* getpeerinfo now shows 3 new keys for each peer
|
||||||
|
* New developer documentation in DEVELOPING.md
|
||||||
|
* -whitelist and -whitelistaddress now called -allowlist and -allowlistaddress
|
||||||
|
* Minimum protocol version is now 1987420
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Wed, 27 Jan 2021 19:42:38 -0700
|
||||||
|
|
||||||
|
hush (3.6.0) stable; urgency=medium
|
||||||
|
|
||||||
|
* Fixes sync issues near block 340k caused by blocktime halving bug
|
||||||
|
* New official domain https://hush.is reflected everywhere
|
||||||
|
* New Hush DPoW Notaries replace KMD Notaries
|
||||||
|
* Increased in-memory UTXO cache db by 100MB (25%) to increase performance of
|
||||||
|
initial syncing
|
||||||
|
* Prevent Delayed-Proof-of-Work attack from Komodo Notaries
|
||||||
|
* New -dpow-start-height CLI flag used to reject all DPoW transactions (and
|
||||||
|
attacks) up to a certain height, as general defense against any DPoW attacks
|
||||||
|
* More secure + private TLS 1.3 implementation
|
||||||
|
* Switched to WolfSSL 4.5.0 instead of OpenSSL
|
||||||
|
* Nodes randomly choose between GCM-SHA384 and CHACHA20-POLY1305-SHA256 when
|
||||||
|
making connections to other nodes.
|
||||||
|
* Faster release binaries with -03
|
||||||
|
* Optimized and hardened memory pool code
|
||||||
|
* getblocktemplate RPC now provides better error reporting about whether there
|
||||||
|
are no peers or if it's not in sync
|
||||||
|
* Removed more Sprout code, which is tightly mixed into deep internals,
|
||||||
|
resulting in increased compile speed and reduced memory overhead
|
||||||
|
* New P2P protocol version. Peers only talk to 3.5.x nodes and newer
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Fri, 18 Dec 2020 02:07:35 -0700
|
||||||
|
|
||||||
|
hush (3.5.2) stable; urgency=low
|
||||||
|
|
||||||
|
* Re-released hushd under the GNU Public License Version 3 (GPLv3)
|
||||||
|
* The z_listreceivedaddress RPC now returns a memoStr key for the utf8 string
|
||||||
|
representation of a shielded memo, if it exists
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Thu, 22 Oct 2020 16:16:19 -0700
|
||||||
|
|
||||||
|
hush (3.5.1) stable; urgency=low
|
||||||
|
|
||||||
|
* TLS 1.3 support ported from ZEN with custom Hush tweaks
|
||||||
|
* All nodes will try using encrypted TLS connections with peers by default
|
||||||
|
* getinfo now returns a tls_connections key in JSON data
|
||||||
|
* -tls=only can be used to only use encrypted connections
|
||||||
|
* ASN map filtering of peers, ported from KMD + BTC Core
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Tue, 06 Oct 2020 07:43:47 -0700
|
||||||
|
|
||||||
|
hush (3.5.0) stable; urgency=medium
|
||||||
|
|
||||||
|
* Finalize changes to support new Blocktime of 75 seconds
|
||||||
|
* Updated the Hush Halving schedule, i.e. Emission Curve, for the next ~120
|
||||||
|
years (the next 30 halvings)
|
||||||
|
* The Hush Block Reward will go to zero at Block 50740000 in the year 2140
|
||||||
|
* Greatly improved Sietch implementation with "amnesia zdust" addresses
|
||||||
|
* Sietch zdust outputs now always contain "random/encrypted" data
|
||||||
|
* -wallet CLI option supports wallets outside the datadir and relative paths
|
||||||
|
* -txsend CLI option ported from Zcash upstream to help with i2p integration
|
||||||
|
* Improved aarch64 support for Raspberry Pi 4
|
||||||
|
* Removed the proton optional dependency
|
||||||
|
* GetAdjustedTime() replaced with GetTime()
|
||||||
|
* Correctly keep track of ChainShieldedSpends for z_getchaintxstats
|
||||||
|
* timeoffset key in getpeerinfo and getnetworkifo deprecated and now always 0
|
||||||
|
* More remnants of dead Sprout/JoinSplit code removed
|
||||||
|
* Added a z_listreceivedaddress RPC which internals never had RPC access
|
||||||
|
* Fixes and improvements to deletetx=1, still considered experimental
|
||||||
|
* Checkpoints updated up to Block 300K
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Wed, 23 Sep 2020 22:03:17 -0700
|
||||||
|
|
||||||
|
hush (3.4.0) stable; urgency=high
|
||||||
|
|
||||||
|
* New Season 4 KMD Notary pubkeys have been updated (as of Block 245555)
|
||||||
|
* ENFORCED PRIVACY (aka z2z) merged & set to take effect at Block 340000
|
||||||
|
* All remaining internals code relating to Sprout has been deleted
|
||||||
|
* The new Subatomic Dapp has been ported from KMD, which supports z2z swaps
|
||||||
|
* Implemented own mirror of Boost in our build system
|
||||||
|
* Merged various fixes relating to CryptoConditions from KMD upstream
|
||||||
|
* Optimizations and bug fixes to Sapling Consolidation
|
||||||
|
* Fixes CVE-2018-20586 from KMD (which ported it from BTC)
|
||||||
|
* Added z_getnotescount RPC
|
||||||
|
* Updated ccache dependency to 3.7.9
|
||||||
|
* Ported the -txexpirynotify CLI option from ZEC upstream
|
||||||
|
* Added rescan RPC for wallets to initiate a rescan without importing a key
|
||||||
|
and without restarting
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Thu, 18 Jun 2020 09:35:31 -0700
|
||||||
|
|
||||||
|
hush (3.3.2) stable; urgency=medium
|
||||||
|
|
||||||
|
* ARMv8 support added
|
||||||
|
* Sapling Zaddr Consolidation, which reduces the size of wallets and
|
||||||
|
increases performance for service providers
|
||||||
|
* New CLI options added to hushd - refer to release notes for specifics
|
||||||
|
* New RPCs: z_getinfo, z_listsentbyaddress, z_listreceivedbyaddress,
|
||||||
|
getalldata
|
||||||
|
* New -opretmintxfee ported from KMD upstream
|
||||||
|
* ThreadNotifyWallets refactor ported from ZEC upstream
|
||||||
|
* Deletion of libsnark internal library
|
||||||
|
* Shielded index (zindex) statistics of coinbase and organic
|
||||||
|
transactions/payments corrected
|
||||||
|
* Updated dependencies: curl, boost, native_ccache, openssl, and proton
|
||||||
|
* Removed more Sprout-only RPC's (zcbenchmark, zcrawjoinsplit) and code
|
||||||
|
* Various improvements to RPC documentation
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Wed, 08 Apr 2020 12:21:44 -0700
|
||||||
|
|
||||||
|
hush (3.3.1) stable; urgency=low
|
||||||
|
|
||||||
|
* Maintenance release fixes a non-consensus bug in sendmany which prevented
|
||||||
|
it from working.
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Sat, 18 Jan 2020 09:16:21 -0700
|
||||||
|
|
||||||
|
hush (3.3.0) stable; urgency=high
|
||||||
|
|
||||||
|
* New "Sietch" functionality protects against new metadata attacks
|
||||||
|
* New ability to launch Hush Smart Chains with a single command
|
||||||
|
* Fixes CVE-2019-18936 in UniValue dependency: bitcoin/bitcoin#17742
|
||||||
|
* New experimental Shielded Index (-zindex) which keeps track of many stats
|
||||||
|
seen via the new getchaintxstats RPC including shielded payments,
|
||||||
|
anonymity set size and many other things.
|
||||||
|
* New experimental z_listnullifiers RPC which returns Sapling nullifiers.
|
||||||
|
* Updates + fixes to all CryptoConditions smart contracts from KMD 0.5.0
|
||||||
|
* Updates NSPV/Superlite code from KMD 0.5.0
|
||||||
|
* Update 3rd party KMD Notary node pubkeys moving Hush from a run-time
|
||||||
|
fork of KMD to a source code fork
|
||||||
|
* Enable creation of z-only (like Pirate) Hush Smart Chains via -ac_private=1
|
||||||
|
* Removed more Sprout-specific code, making hushd faster & easier to maintain
|
||||||
|
* Allow hush-cli stop to be run during RPC warmup
|
||||||
|
* Update to libsodium 1.0.18
|
||||||
|
* Removes VerusHash from the source code
|
||||||
|
* Removed large amounts of Proof-of-Stake-related code not used in Hush
|
||||||
|
* Ported AFL fuzzing features to our build system from Zcash
|
||||||
|
* Changed max debug.log size from 10MB to 100MB
|
||||||
|
* Added checkpoints for every 1000th Hush block
|
||||||
|
* New contrib/checkpoints.pl script to automatically generate checkpoints
|
||||||
|
* Deleted QT wallet code inherited from Bitcoin, which was old and broken
|
||||||
|
* z_exportwallet can now optionally not rescan
|
||||||
|
* New SHA256 SSE4 routines ported from KMD (which was ported from BTC),
|
||||||
|
enabled with --enable-experimental-asm=yes
|
||||||
|
* debug.log no longer containts a log2_stake column
|
||||||
|
* New --hardfork-height CLI option for devs+notaries for testing
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Fri, 03 Jan 2020 10:13:17 -0700
|
||||||
|
|
||||||
|
hush (3.2.3) stable; urgency=low
|
||||||
|
|
||||||
|
* Update build dependencies to use own forks of libgmp, libsnark, libsodium
|
||||||
|
* New RPC keys are now returned in getblockchaininfo : longestchain and
|
||||||
|
notarized which are now used by the SDL backend
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Sat, 14 Dec 2019 04:59:59 -0700
|
||||||
|
|
||||||
|
hush (3.2.2) stable; urgency=medium
|
||||||
|
|
||||||
|
* Fix CVE-2017-18350 from ZEC and windows portability fix from KMD upstream
|
||||||
|
* Removed some Sprout code
|
||||||
|
* Fixed some rare edge case bugs in Sapling param finding code
|
||||||
|
* New detection of "corrupt" Sapling params (invalid sizes) to helps give
|
||||||
|
users the correct error in a GUI wallet (corrupt versus no params)
|
||||||
|
* Fix Sapling params to support Mac DMGs being installed to /Applications
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Tue, 26 Nov 2019 12:17:17 -0700
|
||||||
|
|
||||||
|
hush (3.2.1) stable; urgency=low
|
||||||
|
|
||||||
|
* Fixes issues discovered in Hush 3.2.0
|
||||||
|
* New DEVELOPING.md document for advice working on Hush codebase
|
||||||
|
* Updated to latest upstream SuperLite/nSPV features
|
||||||
|
* Merged in latest cryptocondition/Antara module updates from KMD upstream
|
||||||
|
* Fixed a bug that corrupts the block index on second startup
|
||||||
|
* Improved code to locate installed Sapling params, since Debian packages
|
||||||
|
install them into /usr/share/hush
|
||||||
|
* Updated DNSSeeds
|
||||||
|
* Fix fees associated with transactions in the mempool with fSkipExpiry=0
|
||||||
|
|
||||||
|
-- Hush Core <myhushteam@gmail.com> Tue, 29 Oct 2019 22:34:35 -0700
|
||||||
|
|
||||||
hush (3.2.0) stable; urgency=medium
|
hush (3.2.0) stable; urgency=medium
|
||||||
|
|
||||||
* 3.2.0.1 release.
|
* 3.2.0.1 release.
|
||||||
|
|||||||
@@ -13,4 +13,6 @@ Vcs-Browser: https://git.hush.is/hush/hush3
|
|||||||
Package: hush
|
Package: hush
|
||||||
Architecture: amd64 arm64
|
Architecture: amd64 arm64
|
||||||
Depends: ${shlibs:Depends}
|
Depends: ${shlibs:Depends}
|
||||||
Description: Hush cryptocoin full node. Speak And Transact Freely. Hush inherits from Bitcoin Protocol and Zcash Protocol and is focused on private communications.
|
Description: Cryptocoin full node for Hush
|
||||||
|
Speak And Transact Freely with Hush, which inherits from Bitcoin Protocol and
|
||||||
|
Zcash Protocol and is focused on private communications.
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
BIPs that are implemented by Hush (up-to-date up to **v1.1.0**):
|
|
||||||
|
|
||||||
* Numerous historic BIPs were present in **v1.0.0** at launch; see [the protocol spec](https://github.com/zcash/zips/blob/master/protocol/protocol.pdf) for details.
|
|
||||||
* [`BIP 111`](https://github.com/bitcoin/bips/blob/master/bip-0111.mediawiki): `NODE_BLOOM` service bit added, but only enforced for peer versions `>=170004` as of **v1.1.0** ([PR #2814](https://github.com/zcash/zcash/pull/2814)).
|
|
||||||
BIN
doc/hush/earnhush.png
Normal file
BIN
doc/hush/earnhush.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
BIN
doc/hush/hush0.png
Normal file
BIN
doc/hush/hush0.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
@@ -251,7 +251,7 @@ LIBHUSH_H = \
|
|||||||
|
|
||||||
obj/build.h: FORCE
|
obj/build.h: FORCE
|
||||||
@$(MKDIR_P) $(builddir)/obj
|
@$(MKDIR_P) $(builddir)/obj
|
||||||
@$(top_srcdir)/share/genbuild.sh $(abs_top_builddir)/src/obj/build.h \
|
@$(top_srcdir)/util/genbuild.sh $(abs_top_builddir)/src/obj/build.h \
|
||||||
$(abs_top_srcdir)
|
$(abs_top_srcdir)
|
||||||
libbitcoin_util_a-clientversion.$(OBJEXT): obj/build.h
|
libbitcoin_util_a-clientversion.$(OBJEXT): obj/build.h
|
||||||
|
|
||||||
|
|||||||
@@ -1796,29 +1796,40 @@ void hush_args(char *argv0)
|
|||||||
fprintf(stderr,".oO Starting %s Full Node (Extreme Privacy!) with genproc=%d notary=%d\n",name.c_str(),HUSH_MININGTHREADS, IS_HUSH_NOTARY);
|
fprintf(stderr,".oO Starting %s Full Node (Extreme Privacy!) with genproc=%d notary=%d\n",name.c_str(),HUSH_MININGTHREADS, IS_HUSH_NOTARY);
|
||||||
|
|
||||||
vector<string> HUSH_nodes = {};
|
vector<string> HUSH_nodes = {};
|
||||||
|
vector<string> DRAGONX_nodes = {};
|
||||||
// Only HUSH3 and DRAGONX connect to these by default, other HACs must opt-in via -connect/-addnode
|
// Only HUSH3 and DRAGONX connect to these by default, other HACs must opt-in via -connect/-addnode
|
||||||
const bool ishush3 = strncmp(name.c_str(), "HUSH3",5) == 0 ? true : false;
|
const bool ishush3 = strncmp(name.c_str(), "HUSH3",5) == 0 ? true : false;
|
||||||
const bool isdragonx = strncmp(name.c_str(), "DRAGONX",7) == 0 ? true : false;
|
const bool isdragonx = strncmp(name.c_str(), "DRAGONX",7) == 0 ? true : false;
|
||||||
|
|
||||||
LogPrint("net", "%s: ishush3=%d isdragonx=%d\n", __func__, ishush3, isdragonx);
|
LogPrint("net", "%s: ishush3=%d isdragonx=%d\n", __func__, ishush3, isdragonx);
|
||||||
if (ishush3 || isdragonx) {
|
if (ishush3) {
|
||||||
HUSH_nodes = {"node1.hush.is","node2.hush.is","node3.hush.is",
|
HUSH_nodes = {"node1.hush.is","node2.hush.is","node3.hush.is",
|
||||||
"node4.hush.is","node5.hush.is","node6.hush.is",
|
"node4.hush.is","node5.hush.is","node6.hush.is",
|
||||||
"node7.hush.is","node8.hush.is","node1.hush.land",
|
"node7.hush.is","node8.hush.is","node1.hush.land",
|
||||||
"node2.hush.land", "node3.hush.land",
|
"node2.hush.land","node3.hush.land","node4.hush.land",
|
||||||
"node4.hush.land", "node5.hush.land"};
|
"node5.hush.land","node6.hush.land","node7.hush.land"};
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isdragonx) {
|
||||||
|
DRAGONX_nodes = {"node1.dragonx.is","node2.dragonx.is","node3.dragonx.is",
|
||||||
|
"node4.dragonx.is","node5.dragonx.is","node6.dragonx.is"};
|
||||||
}
|
}
|
||||||
|
|
||||||
vector<string> more_nodes = mapMultiArgs["-addnode"];
|
vector<string> more_nodes = mapMultiArgs["-addnode"];
|
||||||
if (more_nodes.size() > 0) {
|
if (more_nodes.size() > 0) {
|
||||||
fprintf(stderr,"%s: Adding %lu more nodes via custom -addnode arguments\n", __func__, more_nodes.size() );
|
fprintf(stderr,"%s: Adding %lu more nodes via custom -addnode arguments\n", __func__, more_nodes.size() );
|
||||||
}
|
}
|
||||||
// Add default HUSH nodes after custom addnodes, if applicable
|
// Add default HUSH and DRAGONX nodes after custom addnodes, if applicable
|
||||||
if(HUSH_nodes.size() > 0) {
|
if(HUSH_nodes.size() > 0) {
|
||||||
LogPrint("net", "%s: adding %d hostname-based nodes\n", __func__, HUSH_nodes.size() );
|
LogPrint("net", "%s: adding %d HUSH3 hostname-based nodes\n", __func__, HUSH_nodes.size() );
|
||||||
more_nodes.insert( more_nodes.end(), HUSH_nodes.begin(), HUSH_nodes.end() );
|
more_nodes.insert( more_nodes.end(), HUSH_nodes.begin(), HUSH_nodes.end() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(DRAGONX_nodes.size() > 0) {
|
||||||
|
LogPrint("net", "%s: adding %d DRAGONX hostname-based nodes\n", __func__, DRAGONX_nodes.size() );
|
||||||
|
more_nodes.insert( more_nodes.end(), DRAGONX_nodes.begin(), DRAGONX_nodes.end() );
|
||||||
|
}
|
||||||
|
|
||||||
mapMultiArgs["-addnode"] = more_nodes;
|
mapMultiArgs["-addnode"] = more_nodes;
|
||||||
HUSH_STOPAT = GetArg("-stopat",0);
|
HUSH_STOPAT = GetArg("-stopat",0);
|
||||||
MAX_REORG_LENGTH = GetArg("-maxreorg",MAX_REORG_LENGTH);
|
MAX_REORG_LENGTH = GetArg("-maxreorg",MAX_REORG_LENGTH);
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ size_t nCoinCacheUsage = 5000 * 300;
|
|||||||
uint64_t nPruneTarget = 0;
|
uint64_t nPruneTarget = 0;
|
||||||
// If the tip is older than this (in seconds), the node is considered to be in initial block download.
|
// If the tip is older than this (in seconds), the node is considered to be in initial block download.
|
||||||
int64_t nMaxTipAge = DEFAULT_MAX_TIP_AGE;
|
int64_t nMaxTipAge = DEFAULT_MAX_TIP_AGE;
|
||||||
bool ishush3 = strncmp(SMART_CHAIN_SYMBOL, "HUSH3",5) == 0 ? true : false;
|
const bool ishush3 = strncmp(SMART_CHAIN_SYMBOL, "HUSH3",5) == 0 ? true : false;
|
||||||
int32_t nFirstHalvingHeight = 340000;
|
int32_t nFirstHalvingHeight = 340000;
|
||||||
|
|
||||||
unsigned int expiryDelta = DEFAULT_TX_EXPIRY_DELTA;
|
unsigned int expiryDelta = DEFAULT_TX_EXPIRY_DELTA;
|
||||||
@@ -6886,7 +6886,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
|||||||
LogPrintf("dropmessagestest DROPPING RECV MESSAGE\n");
|
LogPrintf("dropmessagestest DROPPING RECV MESSAGE\n");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
auto p2pdebug = GetArg("-p2pdebug",0);
|
const bool p2pdebug = GetArg("-p2pdebug",0);
|
||||||
|
|
||||||
if(p2pdebug)
|
if(p2pdebug)
|
||||||
fprintf(stderr,"%s: netmsg: %s from %s\n", __func__, strCommand.c_str(), pfrom->addr.ToString().c_str() );
|
fprintf(stderr,"%s: netmsg: %s from %s\n", __func__, strCommand.c_str(), pfrom->addr.ToString().c_str() );
|
||||||
@@ -6913,7 +6913,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
|||||||
CAddress addrFrom;
|
CAddress addrFrom;
|
||||||
uint64_t nNonce = 1;
|
uint64_t nNonce = 1;
|
||||||
int nVersion; // use temporary for version, don't set version number until validated as connected
|
int nVersion; // use temporary for version, don't set version number until validated as connected
|
||||||
int minVersion = MIN_PEER_PROTO_VERSION;
|
const int minVersion = ishush3 ? MIN_HUSH_PEER_PROTO_VERSION : MIN_PEER_PROTO_VERSION;
|
||||||
vRecv >> nVersion >> pfrom->nServices >> nTime >> addrMe;
|
vRecv >> nVersion >> pfrom->nServices >> nTime >> addrMe;
|
||||||
if (nVersion == 10300)
|
if (nVersion == 10300)
|
||||||
nVersion = 300;
|
nVersion = 300;
|
||||||
|
|||||||
@@ -31,6 +31,8 @@
|
|||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
#include <univalue.h>
|
#include <univalue.h>
|
||||||
|
|
||||||
|
extern uint16_t ASSETCHAINS_P2PPORT,ASSETCHAINS_RPCPORT;
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace hush;
|
using namespace hush;
|
||||||
|
|
||||||
@@ -276,8 +278,8 @@ UniValue addnode(const UniValue& params, bool fHelp, const CPubKey& mypk)
|
|||||||
"1. \"node\" (string, required) The node (see getpeerinfo for nodes)\n"
|
"1. \"node\" (string, required) The node (see getpeerinfo for nodes)\n"
|
||||||
"2. \"command\" (string, required) 'add' to add a node to the list, 'remove' to remove a node from the list, 'onetry' to try a connection to the node once\n"
|
"2. \"command\" (string, required) 'add' to add a node to the list, 'remove' to remove a node from the list, 'onetry' to try a connection to the node once\n"
|
||||||
"\nExamples:\n"
|
"\nExamples:\n"
|
||||||
+ HelpExampleCli("addnode", "\"192.168.0.6:18030\" \"onetry\"")
|
+ HelpExampleCli("addnode", "\"192.168.0.6:" + to_string(ASSETCHAINS_P2PPORT) + "\" \"onetry\"")
|
||||||
+ HelpExampleRpc("addnode", "\"192.168.0.6:18030\", \"onetry\"")
|
+ HelpExampleRpc("addnode", "\"192.168.0.6:" + to_string(ASSETCHAINS_P2PPORT) + "\", \"onetry\"")
|
||||||
);
|
);
|
||||||
|
|
||||||
string strNode = params[0].get_str();
|
string strNode = params[0].get_str();
|
||||||
@@ -320,8 +322,8 @@ UniValue disconnectnode(const UniValue& params, bool fHelp, const CPubKey& mypk)
|
|||||||
"\nArguments:\n"
|
"\nArguments:\n"
|
||||||
"1. \"node\" (string, required) The node (see getpeerinfo for nodes)\n"
|
"1. \"node\" (string, required) The node (see getpeerinfo for nodes)\n"
|
||||||
"\nExamples:\n"
|
"\nExamples:\n"
|
||||||
+ HelpExampleCli("disconnectnode", "\"192.168.0.6:18030\"")
|
+ HelpExampleCli("disconnectnode", "\"192.168.0.6:" + to_string(ASSETCHAINS_P2PPORT) + "\"")
|
||||||
+ HelpExampleRpc("disconnectnode", "\"192.168.0.6:18030\"")
|
+ HelpExampleRpc("disconnectnode", "\"192.168.0.6:" + to_string(ASSETCHAINS_P2PPORT) + "\"")
|
||||||
);
|
);
|
||||||
|
|
||||||
CNode* pNode = FindNode(params[0].get_str());
|
CNode* pNode = FindNode(params[0].get_str());
|
||||||
|
|||||||
@@ -29,8 +29,8 @@ SendManyRecipient newSietchRecipient(string zaddr) {
|
|||||||
// Sietch zouts have random data in their memos so they are indistinguishable from
|
// Sietch zouts have random data in their memos so they are indistinguishable from
|
||||||
// encrypted data being stored in the memo field
|
// encrypted data being stored in the memo field
|
||||||
char hex[] = {'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'};
|
char hex[] = {'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'};
|
||||||
// memo field is 512 bytes or 1024 hex chars
|
// memo field is 512 bytes or 1024 hex chars plus a null byte
|
||||||
char str[1024];
|
char str[1025];
|
||||||
for(int i=0;i<1024;i++) {
|
for(int i=0;i<1024;i++) {
|
||||||
str[i] = hex[GetRandInt(16)];
|
str[i] = hex[GetRandInt(16)];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,8 +26,13 @@ static const int PROTOCOL_VERSION = 1987426;
|
|||||||
static const int INIT_PROTO_VERSION = 209;
|
static const int INIT_PROTO_VERSION = 209;
|
||||||
//! In this version, 'getheaders' was introduced.
|
//! In this version, 'getheaders' was introduced.
|
||||||
static const int GETHEADERS_VERSION = 31800;
|
static const int GETHEADERS_VERSION = 31800;
|
||||||
//! disconnect from peers older than this proto version
|
|
||||||
|
//! disconnect from peers older than this proto version (HUSH mainnet)
|
||||||
|
static const int MIN_HUSH_PEER_PROTO_VERSION = 1987426;
|
||||||
|
|
||||||
|
//! disconnect from peers older than this proto version (HACs)
|
||||||
static const int MIN_PEER_PROTO_VERSION = 1987420;
|
static const int MIN_PEER_PROTO_VERSION = 1987420;
|
||||||
|
|
||||||
//! nTime field added to CAddress, starting with this version;
|
//! nTime field added to CAddress, starting with this version;
|
||||||
//! if possible, avoid requesting addresses nodes older than this
|
//! if possible, avoid requesting addresses nodes older than this
|
||||||
static const int CADDR_TIME_VERSION = 31402;
|
static const int CADDR_TIME_VERSION = 31402;
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ cp $SRC_PATH/src/dragonx-cli $DEB_BIN
|
|||||||
cp $SRC_PATH/src/dragonxd $DEB_BIN
|
cp $SRC_PATH/src/dragonxd $DEB_BIN
|
||||||
|
|
||||||
cp $SRC_PATH/src/hush-arrakis-chain $DEB_BIN
|
cp $SRC_PATH/src/hush-arrakis-chain $DEB_BIN
|
||||||
#cp $SRC_DEB/changelog $DEB_DOC/changelog.Debian
|
cp $SRC_DEB/changelog $DEB_DOC
|
||||||
cp $SRC_DEB/copyright $DEB_DOC
|
cp $SRC_DEB/copyright $DEB_DOC
|
||||||
cp -r $SRC_DEB/examples $DEB_DOC
|
cp -r $SRC_DEB/examples $DEB_DOC
|
||||||
# Copy manpages
|
# Copy manpages
|
||||||
|
|||||||
@@ -46,13 +46,6 @@ PREFIX="$(pwd)/depends/$TRIPLET"
|
|||||||
|
|
||||||
make "$@" -C ./depends/ V=1 NO_QT=1
|
make "$@" -C ./depends/ V=1 NO_QT=1
|
||||||
|
|
||||||
#BUILD CCLIB
|
|
||||||
WD=$PWD
|
|
||||||
cd src/cc
|
|
||||||
echo $PWD
|
|
||||||
./makecustom
|
|
||||||
cd $WD
|
|
||||||
|
|
||||||
# Build RandomX
|
# Build RandomX
|
||||||
cd src/RandomX
|
cd src/RandomX
|
||||||
if [ -d "build" ]
|
if [ -d "build" ]
|
||||||
|
|||||||
@@ -18,13 +18,6 @@ cd ..
|
|||||||
|
|
||||||
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site CXXFLAGS="-DPTW32_STATIC_LIB -DCURL_STATICLIB -fopenmp -pthread" ./configure --prefix="${PREFIX}" --host=x86_64-w64-mingw32 --enable-static --disable-shared
|
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site CXXFLAGS="-DPTW32_STATIC_LIB -DCURL_STATICLIB -fopenmp -pthread" ./configure --prefix="${PREFIX}" --host=x86_64-w64-mingw32 --enable-static --disable-shared
|
||||||
|
|
||||||
# Build CryptoConditions stuff
|
|
||||||
WD=$PWD
|
|
||||||
cd src/cc
|
|
||||||
echo $PWD
|
|
||||||
./makecustom
|
|
||||||
cd $WD
|
|
||||||
|
|
||||||
# Build RandomX
|
# Build RandomX
|
||||||
cd src/RandomX
|
cd src/RandomX
|
||||||
if [ -d "build" ]
|
if [ -d "build" ]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# any CLI args given to this script will be passed along
|
# any CLI args given to this script will be passed along
|
||||||
# example: ./test_randomx -debug=randomx
|
# example: ./test_randomx -debug=randomx
|
||||||
./src/hushd -ac_randomx_interval=10 -ac_randomx_lag=3 -ac_halving=20 -ac_algo=randomx -ac_name=RANDOMX10 -ac_private=1 -ac_blocktime=20 -ac_reward=500000000 -ac_supply=55555 -gen=1 -genproclimit=1 -testnode=1 $@
|
../src/hushd -ac_randomx_interval=10 -ac_randomx_lag=3 -ac_halving=20 -ac_algo=randomx -ac_name=RANDOMX10 -ac_private=1 -ac_blocktime=20 -ac_reward=500000000 -ac_supply=55555 -gen=1 -genproclimit=1 -testnode=1 $@
|
||||||
|
|
||||||
# to run via the debugger
|
# to run via the debugger
|
||||||
# type "run" when gdb prompt appears
|
# type "run" when gdb prompt appears
|
||||||
Reference in New Issue
Block a user