From 1b491454c2a3e58661053b4222b8c527f57927e5 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 9 May 2024 16:02:12 +0200 Subject: [PATCH] making private swarm Astroport.ONE code mutation --- ASTROBOT/_ForkUPlanetZERO.sh | 16 +++++++++++++++- _12345.sh | 1 + 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ASTROBOT/_ForkUPlanetZERO.sh b/ASTROBOT/_ForkUPlanetZERO.sh index 078e80f1..5893288e 100755 --- a/ASTROBOT/_ForkUPlanetZERO.sh +++ b/ASTROBOT/_ForkUPlanetZERO.sh @@ -234,11 +234,17 @@ if [[ ${#ZENSTATIONS[@]} -ge 3 ]]; then ## APPLY ?! ################################################## - # Let's check and prepare Astroport mutation... + # Let's engage Astroport.ONE code mutation... # tools/my.sh SECRETNAME=$(cat $HOME/.zen/game/players/${PLAYER}/.ipfs/${UPNAME}.swarm.key | tail -n 1) echo "SECRETNAME=$SECRETNAME" +####################################################################### + echo "# UPlanet Swarm Bootstrap Stations # +# https://ipfs.${UPNAME} ipfs.${UPNAME} +################################################################# +" > ~/.zen/tmp/${MOATS}/new_straps.list + # Prepare "new_straps.list" from WAN only for station in ${ZENSTATIONS[@]}; do [[ ! -s ~/.zen/tmp/swarm/${station}/myIPFS.txt ]] \ @@ -258,10 +264,18 @@ if [[ ${#ZENSTATIONS[@]} -ge 3 ]]; then done +## INTRODUCE NEW BOOSTRAP LIST +cp ~/.zen/tmp/${MOATS}/new_straps.list ~/.zen/MY_boostrap_nodes.txt +####################################################################### + # make G1PalPay refuse not from "UPlanet Master Key" primal TX # STABLE COIN : activate OpenCollective sync # and adapt 20H12.process.sh + ## UPNAME = domain.tld + # PACTHING Astroport.ONE code + grep -rl --exclude-dir='.git*' 'copylaradio.com' ./ | xargs sed -i "s~copylaradio.com~${UPNAME}~g" + # now we add key into ~/.ipfs/swarm.key #~ cp $HOME/.zen/game/players/${PLAYER}/.ipfs/${UPNAME}.swarm.key ~/.ipfs/swarm.key diff --git a/_12345.sh b/_12345.sh index 6d21c334..bcbeb9cf 100755 --- a/_12345.sh +++ b/_12345.sh @@ -84,6 +84,7 @@ while true; do MOATS=$(date -u +"%Y%m%d%H%M%S%4N") [[ ${myIP} == "" ]] && source "${MY_PATH}/tools/my.sh" ## correct 1st run DHCP latency echo "/ip4/${myIP}/tcp/4001/p2p/${IPFSNODEID}" > ~/.zen/tmp/${IPFSNODEID}/myIPFS.txt + [[ ! -z ${zipit} ]] && echo "/ip4/${zipit}/tcp/4001/p2p/${IPFSNODEID}" > ~/.zen/tmp/${IPFSNODEID}/myIPFS.txt lastrun=$(cat ~/.zen/tmp/${IPFSNODEID}/_MySwarm.moats) duree=$(expr ${MOATS} - $lastrun)