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.
31 lines
654 B
31 lines
654 B
#!/bin/bash
|
|
set -eo pipefail
|
|
source ~/komodo/src/pubkey.txt
|
|
overide_args="${@}"
|
|
extra_args="-connect=172.16.16.11"
|
|
source skip
|
|
|
|
#wait for deamon to start
|
|
delay () {
|
|
started=0
|
|
while [[ $started -eq 0 ]]; do
|
|
sleep 5
|
|
komodo-cli $1 getbalance
|
|
outcome=$(echo $?)
|
|
if [[ $outcome -eq 0 ]]; then
|
|
started=1
|
|
fi
|
|
done
|
|
}
|
|
|
|
verusd $overide_args $extra_args -pubkey=$pubkey &
|
|
delay -ac_name=VRSC
|
|
|
|
~/komodo/src/listassetchainparams | while read args; do
|
|
if [[ " ${skip[@]} " =~ " ${args} " ]]; then
|
|
pointless=0
|
|
else
|
|
komodod $args $overide_args $extra_args -pubkey=$pubkey &
|
|
delay $(echo $args | awk '{print $2}')
|
|
fi
|
|
done
|
|
|