From c9105da7386ae207a6e4b9378883da7c294e3678 Mon Sep 17 00:00:00 2001 From: qo-op Date: Tue, 19 May 2020 22:01:47 +0200 Subject: [PATCH] ipns indexing Node DHT & Zen nano DHT --- g1sms/Readme.md | 4 ++-- zen/ipfs_SWARM_refresh.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/g1sms/Readme.md b/g1sms/Readme.md index aeb602f..b866513 100644 --- a/g1sms/Readme.md +++ b/g1sms/Readme.md @@ -174,8 +174,8 @@ Tag's can get PASSENGER wich is anything that can have an IPFS hash (an digital A video about local and ipfs backend description is coming... ### YES!! Your Station IPFS Database is using "echo, cat, ls, grep, sed, awk" ;) -Astroport is not using a single file (as this [basic example(https://books.google.fr/books?id=Xs9YDwAAQBAJ&lpg=PA22&ots=JvMupBSfGl&dq=database%20on%20file%20system%20grep%20awk&hl=fr&pg=PP1#v=onepage&q&f=false)]), - but directory datastructure, ipfs replication, ipns indexing too !! +Astroport is not using but could use a single file as this [Fields.awk flat file database](https://books.google.fr/books?id=Xs9YDwAAQBAJ&lpg=PA22&ots=JvMupBSfGl&dq=database%20on%20file%20system%20grep%20awk&hl=fr&pg=PP1#v=onepage&q&f=false)], + but into files and directory datastructure with ipfs replication and ipns indexing Node DHT & Zen nano DHT !! Your data is still in files on your disk! You do not depend on any "DB engine", You are the DB Master. Any 'DB tables' and data can be stored in ```$ASTROPORT/ipfs/.$IPFSNODEID/``` diff --git a/zen/ipfs_SWARM_refresh.sh b/zen/ipfs_SWARM_refresh.sh index 876f14c..5696040 100755 --- a/zen/ipfs_SWARM_refresh.sh +++ b/zen/ipfs_SWARM_refresh.sh @@ -72,8 +72,8 @@ do ### Is "ipfs_swarm/.$id/G1SSB/_ssb.whoami" my SSB friend?? ssbID=$(cat /home/$YOU/.zen/ipfs_swarm/.$id/G1SSB/_ssb.whoami) isMyFriend=$(grep -Rwl "$ssbID" /tmp/ssb-friends.txt) - [[ ! $isMyFriend ]] && echo "WARNING! $peer is NOT my SSB Friend... $ssbID" # TODO: PROD ACTIVATE # && ipfs swarm disconnect $peer && ipfs bootstrap rm $peer - + [[ ! $isMyFriend ]] && echo "WARNING! $count NOT my SSB Friend... $ssbID" # TODO Send sbotc message? + # TODO: PROD ACTIVATE # && ipfs swarm disconnect $peer && ipfs bootstrap rm $peer ## TODO: Use fail2ban if same node continue entering our swarm...