Hush Smart Chains updates
This commit is contained in:
@@ -1,20 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -eo pipefail
|
|
||||||
|
|
||||||
# You can now add delay line to pubkey.txt file
|
|
||||||
source pubkey.txt
|
|
||||||
overide_args="$@"
|
|
||||||
seed_ip=`getent hosts zero.kolo.supernet.org | awk '{ print $1 }'`
|
|
||||||
komodo_binary='./komodod'
|
|
||||||
|
|
||||||
if [ -z "$delay" ]; then delay=20; fi
|
|
||||||
|
|
||||||
./listassetchainparams | while read args; do
|
|
||||||
gen=""
|
|
||||||
if [ $[RANDOM % 10] == 1 ]; then
|
|
||||||
gen=" -gen -genproclimit=1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
$komodo_binary $gen $args $overide_args -pubkey=$pubkey -addnode=$seed_ip &
|
|
||||||
sleep $delay
|
|
||||||
done
|
|
||||||
@@ -1,17 +1,21 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Copyright (c) 2018-2020 The Hush developers
|
# Copyright (c) 2018-2020 The Hush developers
|
||||||
set -x
|
set -eo pipefail
|
||||||
delay=60
|
|
||||||
|
# You can now add delay line to pubkey.txt file
|
||||||
source pubkey.txt
|
source pubkey.txt
|
||||||
echo $pubkey
|
overide_args="$@"
|
||||||
echo "jl777 is a traitor to his village of cypherpunks, ca333 is his obedient servant"
|
seed_ip=$(SEEDNODE)
|
||||||
|
hsc='./hush-smart-chain'
|
||||||
|
|
||||||
hsc="./hush-smart-chain"
|
if [ -z "$delay" ]; then delay=20; fi
|
||||||
ip=$(HUSHDEX_SEEDNODE)
|
|
||||||
|
|
||||||
# this chain helps power HushDEX
|
./listassetchainparams | while read args; do
|
||||||
$hsc -pubkey=$pubkey -ac_name=ZEX -ac_supply=100000000 -addnode=$ip $@ &
|
gen=""
|
||||||
|
if [ $[RANDOM % 10] == 1 ]; then
|
||||||
|
gen=" -gen -genproclimit=1"
|
||||||
|
fi
|
||||||
|
|
||||||
# these are testcoins, like ARRR
|
$hsc $gen $args $overide_args -pubkey=$pubkey -addnode=$seed_ip &
|
||||||
$hsc -pubkey=$pubkey -ac_name=ZUSH -ac_supply=100000000 -addnode=$ip $@ &
|
sleep $delay
|
||||||
$hsc -pubkey=$pubkey -ac_name=KOOLAID -ac_supply=100000000 -addnode=$ip $@ &
|
done
|
||||||
|
|||||||
@@ -16,9 +16,7 @@
|
|||||||
"ac_script": "76a9145eb10cf64f2bab1b457f1f25e658526155928fac88ac",
|
"ac_script": "76a9145eb10cf64f2bab1b457f1f25e658526155928fac88ac",
|
||||||
"clientname": "GoldenSandtrout",
|
"clientname": "GoldenSandtrout",
|
||||||
"addnode": [
|
"addnode": [
|
||||||
"188.165.212.101",
|
"1.1.1.1"
|
||||||
"136.243.227.142",
|
|
||||||
"5.9.224.250"
|
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
17
src/smartchains.old
Executable file
17
src/smartchains.old
Executable file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Copyright (c) 2018-2020 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 $@ &
|
||||||
Reference in New Issue
Block a user