From ef43755c814fe70565d98fc58fb179aa095b1744 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 12 Sep 2023 20:16:21 +0200 Subject: [PATCH] remove --allow-offline --- API/SALT.sh | 2 +- RUNTIME/PLAYER.refresh.sh | 2 +- _12345.sh | 4 ++-- command.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/API/SALT.sh b/API/SALT.sh index aa548ce9..a38b0520 100755 --- a/API/SALT.sh +++ b/API/SALT.sh @@ -315,7 +315,7 @@ echo "" > ~/.zen/tmp/.ipfsgw.bad.twt # TODO move in 20h12.sh start=`date +%s` echo "¯\_༼༽_/¯ $IPFSNODEID $PLAYER SIGNALING" ROUTING=$(ipfs add -rwq ~/.zen/tmp/${IPFSNODEID}/* | tail -n 1 ) - ipfs name publish --allow-offline /ipfs/$ROUTING + ipfs name publish /ipfs/$ROUTING echo "DONE" end=`date +%s` dur=`expr $end - $start` diff --git a/RUNTIME/PLAYER.refresh.sh b/RUNTIME/PLAYER.refresh.sh index 8a9f0034..7a6c144a 100755 --- a/RUNTIME/PLAYER.refresh.sh +++ b/RUNTIME/PLAYER.refresh.sh @@ -239,7 +239,7 @@ for PLAYER in ${PLAYERONE[@]}; do ~/.zen/game/players/${PLAYER}/ipfs/moa/.chain.$(cat ~/.zen/game/players/${PLAYER}/ipfs/moa/.moats) TW=$(ipfs add -Hq ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html | tail -n 1) - ipfs name publish --allow-offline -t 24h --key=${PLAYER} /ipfs/${TW} + ipfs name publish --key=${PLAYER} /ipfs/${TW} [[ $DIFF ]] && echo ${TW} > ~/.zen/game/players/${PLAYER}/ipfs/moa/.chain echo ${MOATS} > ~/.zen/game/players/${PLAYER}/ipfs/moa/.moats diff --git a/_12345.sh b/_12345.sh index fa00e218..ac09b5d2 100755 --- a/_12345.sh +++ b/_12345.sh @@ -175,7 +175,7 @@ while true; do && echo ${SWARMSIZE} > ~/.zen/tmp/swarm/.bsize \ && SWARMH=$(ipfs add -rwq ~/.zen/tmp/swarm/* | tail -n 1 ) \ && echo "=== ~/.zen/tmp/swarm EVOLVED : PUBLISHING NEW STATE ===" \ - && ipfs name publish --key "MySwarm_${IPFSNODEID}" --allow-offline /ipfs/${SWARMH} + && ipfs name publish --key "MySwarm_${IPFSNODEID}" /ipfs/${SWARMH} ############################################# ###################################### @@ -201,7 +201,7 @@ while true; do && echo "${MOATS}" > ~/.zen/tmp/${IPFSNODEID}/_MySwarm.moats \ && MYCACHE=$(ipfs add -rwq ~/.zen/tmp/${IPFSNODEID}/* | tail -n 1 ) \ && echo "PUBLISHING NEW BALISE STATE FOR STATION /ipns/${IPFSNODEID} INDEXES = $BSIZE octets" \ - && ipfs name publish --allow-offline /ipfs/${MYCACHE} + && ipfs name publish /ipfs/${MYCACHE} end=`date +%s` echo "(*__*) MySwam Update ($BSIZE B) duration was "`expr $end - $start`' seconds. '$(date) diff --git a/command.sh b/command.sh index 83e1568a..b17ee653 100755 --- a/command.sh +++ b/command.sh @@ -157,7 +157,7 @@ select fav in "${choices[@]}"; do ~/.zen/game/players/$PLAYER/ipfs/moa/.chain.$(cat ~/.zen/game/players/$PLAYER/ipfs/moa/.moats) TW=$(ipfs add -Hq ~/.zen/game/players/$PLAYER/ipfs/moa/index.html | tail -n 1) - ipfs name publish --allow-offline --key=$PLAYER /ipfs/$TW + ipfs name publish --key=$PLAYER /ipfs/$TW echo $TW > ~/.zen/game/players/$PLAYER/ipfs/moa/.chain echo $MOATS > ~/.zen/game/players/$PLAYER/ipfs/moa/.moats