Fix bootstrap

This commit is contained in:
qo-op 2021-05-10 23:09:27 +02:00
parent 3378462c00
commit a48d536bd2
1 changed files with 5 additions and 2 deletions

View File

@ -141,8 +141,6 @@ if [[ $bootnode != "" ]]; then
~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/secret.dunikey -n "https://data.gchange.fr" stars -p $g1node -n 1
### DELETE
# ~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/secret.dunikey -n "https://data.gchange.fr" unstars -p $g1node
## ADD TO BOOTSTRAP
ipfs bootstrap add $bootnode
fi
done
@ -271,6 +269,11 @@ ipfs config --json Experimental.P2pHttpProxy true
# EMPTY IPFS BOOTSTRAP - Gchange+ friends sends ipfstryme message ###########
ipfs bootstrap rm --all
for bootnode in $(cat ~/.zen/astrXbian/A_boostrap_nodes.txt | grep -Ev "#") # remove comments
do
## ADD TO BOOTSTRAP
ipfs bootstrap add $bootnode
done
# AVOID CONFLICT WITH KODI REMOTE
ipfs config Addresses.Gateway "/ip4/127.0.0.1/tcp/8181"