Hush Full Node software. We were censored from Github, this is where all development happens now.
https://hush.is
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.
|
|
|
#!/bin/bash
|
|
|
|
# Copyright (c) 2019 Hush developers
|
|
|
|
|
|
|
|
# set working directory to the location of this script
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
cd $DIR
|
|
|
|
|
|
|
|
# TESTING VALUES, DO NOT USE EXCEPT FOR DEVELOPMENT
|
|
|
|
NAME=HUSHT5
|
|
|
|
# this corresponds to FR address RHushEyeDm7XwtaTWtyCbjGQumYyV8vMjn
|
|
|
|
SCRIPT=76a9145eb10cf64f2bab1b457f1f25e658526155928fac88ac
|
|
|
|
|
|
|
|
# Chain parameters
|
|
|
|
BLOCKTIME=10
|
|
|
|
SUPPLY=6250000
|
|
|
|
FOUNDERS=1
|
|
|
|
CLIENTNAME=GoldenSandtrout
|
|
|
|
|
|
|
|
# CryptoConditions/Custom Consensus params
|
|
|
|
FAUCET=228
|
|
|
|
HEIR=234
|
|
|
|
CHANNEL=235
|
|
|
|
ORACLE=236
|
|
|
|
GATEWAY=241
|
|
|
|
DILITHIUM=
|
|
|
|
CCENABLE=$FAUCET,$HEIR,$CHANNEL,$ORACLE,$GATEWAY
|
|
|
|
|
|
|
|
KMD=${KOMODOD:-./komodod}
|
|
|
|
$KMD -ac_name=$NAME -ac_sapling=1 \
|
|
|
|
-ac_blocktime=$BLOCKTIME \
|
|
|
|
-ac_cc=2 -ac_ccenable=$CCENABLE \
|
|
|
|
-ac_founders=$FOUNDERS -ac_supply=$SUPPLY \
|
|
|
|
-clientname=$CLIENTNAME \
|
|
|
|
-ac_script=$SCRIPT "$@"
|