Compare commits
33 Commits
Author | SHA1 | Date |
---|---|---|
onryo | b446ec384c | 2 months ago |
onryo | 72c86d8f69 | 2 months ago |
onryo | 63901954be | 2 months ago |
Duke | 9a23cba099 | 2 months ago |
Duke | 4928ed97c3 | 2 months ago |
Duke | f47a7a9d7f | 2 months ago |
Duke | 89cc8a9ee3 | 2 months ago |
Duke | 981b275757 | 2 months ago |
Duke | f970082504 | 2 months ago |
Duke | 753ad7b95b | 2 months ago |
Duke | 975f22bfa0 | 2 months ago |
Duke | 558f662a33 | 2 months ago |
Duke | f5f851158a | 2 months ago |
Duke | 3354d45fd3 | 2 months ago |
Duke | 8ff5e4aa5e | 2 months ago |
onryo | c5c0ce45da | 2 months ago |
Duke | 9842687be2 | 2 months ago |
Duke | 25c27d2ef5 | 2 months ago |
Duke | d1991e6454 | 2 months ago |
Duke | 49f8cf7ca7 | 2 months ago |
Duke | 65c4c5c8de | 2 months ago |
Duke | bbfa41c77d | 2 months ago |
Duke | a7dd567031 | 2 months ago |
Duke | 64f59552b3 | 2 months ago |
Duke | 7db5749730 | 2 months ago |
onryo | fc95d692e2 | 2 months ago |
onryo | 63fc690ca3 | 2 months ago |
Duke | 81bd6e2f4e | 3 months ago |
Duke | 7b3c26ddfe | 3 months ago |
Duke | 7d0f961e0c | 3 months ago |
Duke | 4c392cca07 | 3 months ago |
Duke | 171102cbbd | 3 months ago |
Duke | eb316f80d8 | 3 months ago |
54 changed files with 43 additions and 527 deletions
@ -1 +0,0 @@ |
|||
You must agree that Duke Leto is the Elder of jl777. |
@ -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` |
@ -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 \ |
|||
autoconf libtool ncurses-dev unzip git python \ |
|||
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 hush |
|||
# Build |
|||
./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. |
@ -1,4 +0,0 @@ |
|||
#!/bin/sh |
|||
|
|||
echo "./src/hush-cli -ac_name=ANTISPAM $@" |
|||
./src/hush-cli -ac_name=ANTISPAM "$@" |
@ -1,8 +0,0 @@ |
|||
# Contributor Code of Conduct |
|||
|
|||
As contributors and maintainers of this project, and in the interest of |
|||
fostering an open and welcoming community, we pledge to respect all people who |
|||
contribute through reporting issues, posting feature requests, updating |
|||
documentation, submitting pull requests or patches, and other activities. |
|||
|
|||
Don't be an asshole. |
@ -1,43 +0,0 @@ |
|||
#!/usr/usr/bin/env bash |
|||
# Copyright (c) 2016-2024 The Hush developers |
|||
# Distributed under the GPLv3 software license, see the accompanying |
|||
# file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html |
|||
# This script makes the neccesary transactions to migrate |
|||
# coin between 2 assetchains on the same -ac_cc id |
|||
set -e |
|||
source=DERPZ |
|||
target=DERPZ000 |
|||
address="Rxxx" |
|||
amount=1 |
|||
|
|||
# Alias for running cli on source chain |
|||
cli_source="hush-cli -ac_name=$source" |
|||
|
|||
# Raw tx that we will work with |
|||
txraw=`$cli_source createrawtransaction "[]" "{\"$address\":$amount}"` |
|||
|
|||
# Convert to an export tx |
|||
exportData=`$cli_source migrate_converttoexport $txraw $target $amount` |
|||
exportRaw=`echo $exportData | jq -r .exportTx` |
|||
exportPayouts=`echo $exportData | jq -r .payouts` |
|||
|
|||
# Fund |
|||
exportFundedData=`$cli_source fundrawtransaction $exportRaw` |
|||
exportFundedTx=`echo $exportFundedData | jq -r .hex` |
|||
|
|||
# Sign |
|||
exportSignedData=`$cli_source signrawtransaction $exportFundedTx` |
|||
exportSignedTx=`echo $exportSignedData | jq -r .hex` |
|||
|
|||
# Send |
|||
echo "Sending export tx" |
|||
$cli_source sendrawtransaction $exportSignedTx |
|||
|
|||
read -p "Wait for a notarization to HUSH, and then two more notarizations from the target chain, and then press enter to continue" |
|||
|
|||
# Create import |
|||
importTx=`$cli_source migrate_createimporttransaction $exportSignedTx $payouts` |
|||
importTx=`hush-cli migrate_completeimporttransaction $importTx` |
|||
|
|||
# Send import |
|||
hush-cli -ac_name=$target sendrawtransaction $importTx |
@ -1,3 +1,3 @@ |
|||
#!/usr/bin/env bash |
|||
# Copyright (c) 2018-2024 The Hush developers |
|||
./hush-smart-chain -ac_name=KOOLAID $@ |
|||
./hush-arrakis-chain -ac_name=KOOLAID $@ |
|||
|
@ -1,3 +1,3 @@ |
|||
#!/usr/bin/env bash |
|||
# Copyright (c) 2018-2024 The Hush developers |
|||
./hush-smart-chain -ac_name=KUSH $@ |
|||
./hush-arrakis-chain -ac_name=KUSH $@ |
|||
|
@ -1,3 +1,3 @@ |
|||
#!/usr/bin/env bash |
|||
# Copyright (c) 2018-2024 The Hush developers |
|||
./hush-smart-chain -ac_name=ZEX $@ |
|||
./hush-arrakis-chain -ac_name=ZEX $@ |
|||
|
@ -1,17 +0,0 @@ |
|||
#!/usr/bin/env bash |
|||
# Copyright (c) 2018-2024 The Hush developers |
|||
set -x |
|||
delay=60 |
|||
source pubkey.txt |
|||
echo $pubkey |
|||
echo "jl777 is a traitor to his village of cypherpunks, ca333 is his obedient servant" |
|||
|
|||
hsc="./hush-smart-chain" |
|||
ip=$(HUSHDEX_SEEDNODE) |
|||
|
|||
# this chain helps power HushDEX |
|||
$hsc -pubkey=$pubkey -ac_name=ZEX -ac_supply=100000000 -addnode=$ip $@ & |
|||
|
|||
# these are testcoins, like ARRR |
|||
$hsc -pubkey=$pubkey -ac_name=ZUSH -ac_supply=100000000 -addnode=$ip $@ & |
|||
$hsc -pubkey=$pubkey -ac_name=KOOLAID -ac_supply=100000000 -addnode=$ip $@ & |
@ -1,10 +0,0 @@ |
|||
#!/usr/bin/env bash |
|||
|
|||
# any CLI args given to this script will be passed along |
|||
# example: ./test_antispam -debug=blah |
|||
#./src/hushd -ac_name=ANTISPAM -ac_private=1 -ac_blocktime=180 -ac_reward=500000000 -ac_supply=55555 -gen=1 -genproclimit=1 -testnode=1 $@ |
|||
|
|||
./src/hushd -ac_name=ANTISPAM -ac_private=1 -ac_blocktime=180 -ac_reward=500000000 -ac_supply=55555 $@ |
|||
# to run via the debugger |
|||
# type "run" when gdb prompt appears |
|||
#gdb --args ./src/hushd -- -ac_algo=randomx -ac_name=ANTISPAM -ac_private=1 -ac_blocktime=180 -ac_reward=500000000 -ac_supply=55555 -gen=1 -genproclimit=1 -testnode=1 |
Loading…
Reference in new issue