forked from axiom-team/astroport
duniter-g1.p2p.legal
This commit is contained in:
parent
69e947b185
commit
91b8b57fdc
|
@ -104,4 +104,5 @@ done
|
||||||
longchain=$(ls -S $DIR/chains/ | head -n 1)
|
longchain=$(ls -S $DIR/chains/ | head -n 1)
|
||||||
cp $DIR/chains/$longchain $DIR/good.nodes.txt
|
cp $DIR/chains/$longchain $DIR/good.nodes.txt
|
||||||
# WRITE OUT shuffle Duniter Node Sync with longest chain
|
# WRITE OUT shuffle Duniter Node Sync with longest chain
|
||||||
echo $(shuf -n 1 $DIR/good.nodes.txt)
|
result=$(shuf -n 1 $DIR/good.nodes.txt)
|
||||||
|
[[ ! $result ]] && echo "duniter-g1.p2p.legal:443" || echo $result
|
||||||
|
|
Loading…
Reference in New Issue