|
|
@ -28,6 +28,7 @@ SEEDNODE1=188.165.212.101 |
|
|
|
SEEDNODE2=136.243.227.142 |
|
|
|
SEEDNODE3=5.9.224.250 |
|
|
|
CCLIB=hush3 |
|
|
|
SAPLING=1 |
|
|
|
|
|
|
|
# CryptoConditions/Custom Consensus params |
|
|
|
FAUCET=228 |
|
|
@ -37,22 +38,35 @@ ORACLE=236 |
|
|
|
GATEWAY=241 |
|
|
|
CCENABLE=$FAUCET,$HEIR,$CHANNEL,$ORACLE,$GATEWAY |
|
|
|
|
|
|
|
#NOTE: This is not compatible with upstream KMD komodod, |
|
|
|
# but you can reuse one hush3 komodod binary in various |
|
|
|
# directories/repos on one server, to save disk space |
|
|
|
KMD=${KOMODOD:-./komodod} |
|
|
|
$KMD -ac_name=$NAME -ac_sapling=1 \ |
|
|
|
-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 \ |
|
|
|
-addnode=$SEEDNODE1 \ |
|
|
|
-addnode=$SEEDNODE2 \ |
|
|
|
-addnode=$SEEDNODE3 \ |
|
|
|
-ac_cclib=$CCLIB \ |
|
|
|
if [ -f $KMD ]; then |
|
|
|
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 |
|
|
|
|
|
|
|
|
|
|
|
$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 \ |
|
|
|
-addnode=$SEEDNODE1 \ |
|
|
|
-addnode=$SEEDNODE2 \ |
|
|
|
-addnode=$SEEDNODE3 \ |
|
|
|
-ac_cclib=$CCLIB \ |
|
|
|
-ac_script=$SCRIPT "$@" |
|
|
|