forked from hush/hush3
Duke Leto
3 years ago
6 changed files with 47 additions and 172 deletions
@ -1,23 +0,0 @@ |
|||
#!/bin/bash |
|||
# Copyright (c) 2016-2021 The Hush developers |
|||
# Released under the GPLv3 |
|||
|
|||
# set working directory to the location of this script |
|||
# readlink -f does not always exist |
|||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
|||
cd $DIR |
|||
DIR="$( cd "$( dirname "$( readlink "${BASH_SOURCE[0]}" )" )" && pwd )" |
|||
cd $DIR |
|||
|
|||
NAME=HUSH3 |
|||
|
|||
CLI=${KOMODOCLI:-./komodo-cli} |
|||
if [ -f $CLI ]; then |
|||
$CLI -ac_name=$NAME "$@" |
|||
else |
|||
# We prefix our binary when installed |
|||
# system wide on Debain systems, to prevent clashes, |
|||
# because we are classy like that. Fuck jl777, The KYC Traitor. |
|||
CLI=hush-komodo-cli |
|||
$CLI -ac_name=$NAME "$@" |
|||
fi |
@ -1,11 +0,0 @@ |
|||
#!/bin/bash |
|||
# Copyright (c) 2016-2021 The Hush developers |
|||
# Released under the GPLv3 |
|||
|
|||
# set working directory to the location of this script |
|||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
|||
cd $DIR |
|||
|
|||
NAME=HUSHT |
|||
|
|||
./komodo-tx -ac_name=$NAME "$@" |
@ -1,99 +0,0 @@ |
|||
#!/bin/bash |
|||
# Copyright (c) 2016-2021 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 |
|||
|
|||
# set working directory to the location of this script |
|||
# readlink -f does not always exist |
|||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
|||
cd $DIR |
|||
DIR="$( cd "$( dirname "$( readlink "${BASH_SOURCE[0]}" )" )" && pwd )" |
|||
cd $DIR |
|||
|
|||
# Chain parameters |
|||
NAME=HUSH3 |
|||
|
|||
# this corresponds to FR address RHushEyeDm7XwtaTWtyCbjGQumYyV8vMjn |
|||
SCRIPT=76a9145eb10cf64f2bab1b457f1f25e658526155928fac88ac |
|||
|
|||
# Hush was and will always be: |
|||
# The First Pure Sapling Zcash Protocol chain! |
|||
SAPLING=1 |
|||
|
|||
# We use 3 "eras" of different supply curves |
|||
ERAS=3 |
|||
|
|||
# These values are historical and over-ridden by internals! |
|||
# Do not change these values, change internals. |
|||
BLOCKTIME=150 # Hush goes to 75s blocktime at Block 340K |
|||
REWARD=0,1125000000,562500000 |
|||
HALVING=129,340000,840000 |
|||
PERC=11111111 |
|||
END=128,340000,5422111 |
|||
|
|||
# 6250000 - (Sprout pool at block 500,000) |
|||
SUPPLY=6178674 |
|||
FOUNDERS=1 |
|||
CLIENTNAME=GoldenSandtrout |
|||
NODE1=node1.hush.is |
|||
NODE2=node2.hush.is |
|||
NODE3=node3.hush.is |
|||
NODE4=node4.hush.is |
|||
NODE5=node5.hush.is |
|||
NODE6=node6.hush.is |
|||
NODE7=node7.hush.is |
|||
NODE8=node8.hush.is |
|||
CCLIB=hush3 |
|||
|
|||
# CryptoConditions/Custom Consensus params |
|||
# CCs will effectively be turned off at Block 340K |
|||
# since transparent outputs will not be allowed, except |
|||
# for mining and dpow. CCs can be used on Hush Smart |
|||
# Chains that do not define ac_private=1 |
|||
FAUCET=228 |
|||
HEIR=234 |
|||
CHANNEL=235 |
|||
ORACLE=236 |
|||
GATEWAY=241 |
|||
CCENABLE=$FAUCET,$HEIR,$CHANNEL,$ORACLE,$GATEWAY |
|||
|
|||
KMD=${KOMODOD:-./komodod} |
|||
if [ -f $KMD ]; then |
|||
HUSH="TheFuture" |
|||
# echo "Found binary: $KMD" |
|||
else |
|||
KMD=hush-komodod |
|||
if [ -f $KMD ]; then |
|||
echo "Found binary: $KMD" |
|||
else |
|||
echo "ERROR: Could not find Komodo binary!!!" |
|||
exit 1 |
|||
fi |
|||
fi |
|||
|
|||
# jl777 dishonored his village and so Duke The Elder journeys on |
|||
# with the True Extreme Privacy Cypherpunks |
|||
$KMD -ac_name=$NAME \ |
|||
-ac_sapling=$SAPLING \ |
|||
-ac_reward=$REWARD \ |
|||
-ac_halving=$HALVING \ |
|||
-ac_end=$END \ |
|||
-ac_eras=$ERAS \ |
|||
-ac_blocktime=$BLOCKTIME \ |
|||
-ac_cc=2 \ |
|||
-ac_ccenable=$CCENABLE \ |
|||
-ac_founders=$FOUNDERS \ |
|||
-ac_supply=$SUPPLY \ |
|||
-ac_perc=$PERC \ |
|||
-clientname=$CLIENTNAME \ |
|||
-asmap \ |
|||
-addnode=$NODE1 \ |
|||
-addnode=$NODE2 \ |
|||
-addnode=$NODE3 \ |
|||
-addnode=$NODE4 \ |
|||
-addnode=$NODE5 \ |
|||
-addnode=$NODE6 \ |
|||
-addnode=$NODE7 \ |
|||
-addnode=$NODE8 \ |
|||
-ac_cclib=$CCLIB \ |
|||
-ac_script=$SCRIPT "$@" |
Loading…
Reference in new issue