ipns indexing Node DHT & Zen nano DHT

This commit is contained in:
qo-op 2020-05-19 22:01:47 +02:00
parent e8cff93034
commit c9105da738
2 changed files with 4 additions and 4 deletions

View File

@ -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/```

View File

@ -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...