I have 2 applications I’m investigating for use under IPFS.
One is to protect content on various public sites from censorship, the other a private network.
I’m hoping ipfs-cluster could be used for both. Let me explain.
I have an IPFS server I setup “normally” (uses default bootstrap list) with lots of files I’ve saved from various public sites. Now I want to make those files available to a private ipfs-cluster network.
I realize that any other public IPFS nodes that have linked to content on my public IPFS server will be cut off from the content if it goes private. I really don’t care, b/c one of my buddies has already pulled that content and pinned it on his IPFS node, so mine can go away and be private.
The idea is to convert my public IPFS node to private by changing it to a bootstrap node, where other IPFS nodes can join the private network if they are given the private network swarm key.
My thinking is that the .ipfs/datastore and .ipfs/blocks hold the actual content, but don’t know if the hashes for the content I added would be invalidated or if they would be served to clients in the private network.
Thinking I could rename the .ipfs folder of my public node and create a new empty one, run ipfs init to generate a new peer identity (but not start the daemon). I would use that to replace the peer id in old .ipfs folder and rename it back to .ipfs and continue with the process described here for bootstrap creation. Would that work? Would the content replicate with new client IPFS nodes if provided the private swarm key?