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.
19 lines
427 B
19 lines
427 B
#!/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 }'`
|
|
|
|
if [ -z "$delay" ]; then delay=20; fi
|
|
|
|
./listassetchainparams | while read args; do
|
|
gen=""
|
|
if [ $[RANDOM % 10] == 1 ]; then
|
|
gen=" -gen"
|
|
fi
|
|
|
|
./komodod $gen $args $overide_args -pubkey=$pubkey -addnode=$seed_ip &
|
|
sleep $delay
|
|
done
|
|
|