ping bootstrap
This commit is contained in:
parent
632f5474bf
commit
ae5e4421dd
|
@ -0,0 +1,8 @@
|
|||
for bootnode in $(cat ~/.zen/Astroport.ONE/A_boostrap_nodes.txt | grep -Ev "#");
|
||||
do
|
||||
ipfsnodeid=${bootnode##*/}
|
||||
ipfs ping -n 3 $bootnode
|
||||
[ $? = 0 ] && ipfs swarm connect $bootnode \
|
||||
|| echo "BAD NODE $bootnode"
|
||||
done
|
||||
|
Loading…
Reference in New Issue