REFRESH SELF NODE PUBLISHING

This commit is contained in:
qo-op 2020-04-28 00:09:16 +02:00
parent b7d46c5a23
commit 37aa7f9ad1
2 changed files with 5 additions and 1 deletions

View File

@ -35,6 +35,10 @@ _|_| | __) __)\/\//--\| \| | | \|_| | \|___)| |
'
# REFRESH SELF NODE PUBLISHING
ipfs add -rHq ~/.zen/ipfs
ipfs name publish --quieter /ipfs/$IWALLETS
# GET IPNS published wallets from ALL SWARM NODES ## TODO: IF NODES are MISSING, check ./wallets_swarm/.QmNODES...
ipfs get --output=$HOME/.zen/ipfs_swarm/ /ipns/$ipfsnodeid
count=1

View File

@ -46,5 +46,5 @@ for SSBFRIEND in $(cat /tmp/ssb-friends.json); do
#echo "Searching $SSBFRIEND"
INSWARM=$(grep -Rwl "$SSBFRIEND" ~/.zen/ipfs_swarm/.Qm*/G1SSB/_ssb.whoami | tail -n 1 | cut -f 4 -d '/')
[[ $INSWARM ]] && echo $INSWARM && TRYME=$(~/.zen/ipfs_swarm/$INSWARM/tryme.addr) && echo $TRYME
# Modify ipfs swarm peers with it ... TODO
# Modify ipfs swarm peers with it ... TODO and add to cron MINUTE
done