I'm still learning Tor and networking in general but feel that I have a working understanding, so apologies in advance if this post is just stupid.
I've recently fallen down a rabbit hole that started with the question "Can I host a website on the bitcoin network?" which basically evolved into "Can the bitcoin network function as the Tor network?"
Ignore for a second why you would want to do this if Tor already exists, or what the inherit benefit would be for doing this, because it's really just a question of "is this possible?"
Is there a protocol for hosting hidden services on the bitcoin network already? I think it would be a neat project to try working on if no one else has done so.
I imagine it working practically the same as Tor, my node would use onion routing to create circuits to introduction point nodes on the network. It would be cool if the hidden service descriptor's public key could be an address, it could be used as a URL to reach the node at some port serving HTML or whatever.
This way I can also just give someone a bitcoin address, they'd reference it on a hash-table and get back the nodes acting as introduction points to my hidden service. As with Tor they chose a rendezvous node, sending an authentication token and requesting that message be passed along to the introduction point, the introduction point passes it to my hidden service, my hidden service sends back the token and an approval message to the rendezvous node, the node acts as another hop in the circuit between the requester and my hidden service completing the connection.
Now back to the questions of "Why do this if Tor already exists?" and "What inherit benefit would this have for bitcoin, why does bitcoin need this ability?"
I don't have an answer other than it sounds fun, and I suppose it doesn't need this but I don't think it would be detrimental to bitcoin if it had this ability either, if anything it just adds additional functionality and creates an alternative to Tor hidden services. Mostly I just think it would be really cool to host a blog or something on the bitcoin network.
I would appreciate feedback, even if it's just to explain why this is a dumb idea. I'm still new to doing development in this space and still learning, I'm trying to see how things are related and learning hands on the inner workings of these systems and protocols, just figuring out what all is even possible.
I'm not even sure if any of this would be possible without introducing a new BIP or if it could be possible as a separate piece of software that is just dependent on bitcoin core. I don't believe that bitcoin core has the functionality to do this type of network communication and onion routing and it most certainly doesn't have a hash-table that would be needed to find the introduction points from the provided address.
Again any feedback would be greatly appreciated. Thank you.