avoid Qm nodes G1pub key convert
This commit is contained in:
parent
cd35c761a7
commit
cd691c12a2
|
@ -102,7 +102,8 @@ fi
|
||||||
# GET LIST of issuer(s) who likes me & A_boostrap_nodes.txt
|
# GET LIST of issuer(s) who likes me & A_boostrap_nodes.txt
|
||||||
IamINBOOTSTRAP=$(cat ~/.zen/astrXbian/A_boostrap_nodes.txt | grep "$IPFSNODEID") # AM I A BOOTSTRAP ?
|
IamINBOOTSTRAP=$(cat ~/.zen/astrXbian/A_boostrap_nodes.txt | grep "$IPFSNODEID") # AM I A BOOTSTRAP ?
|
||||||
ipfsnodeid=${IamINBOOTSTRAP##*/}
|
ipfsnodeid=${IamINBOOTSTRAP##*/}
|
||||||
IamBOOTSTRAP=$(~/.zen/astrXbian/zen/tools/ipfs_to_g1.py $ipfsnodeid) # Contains G1PUB
|
## FILTER Qm !
|
||||||
|
[[ ! "${ipfsnodeid:0:2}" == "Qm" ]] && IamBOOTSTRAP=$(~/.zen/astrXbian/zen/tools/ipfs_to_g1.py $ipfsnodeid) || IamBOOTSTRAP="" # Contains G1PUB
|
||||||
|
|
||||||
################## AUTO PINNING for BOOTSTRAP
|
################## AUTO PINNING for BOOTSTRAP
|
||||||
[[ $IamBOOTSTRAP ]] && ~/.zen/astrXbian/zen/tools/autoPINfriends.sh
|
[[ $IamBOOTSTRAP ]] && ~/.zen/astrXbian/zen/tools/autoPINfriends.sh
|
||||||
|
|
Loading…
Reference in New Issue