Using a DHT to find content like in IPFS doesn't work because there's no point in trying to host your data in multiple places whose locations are decided algorithmically. The user needs to have direct control over which relays/servers they read/write to. However, I like the idea of using a DHT to host just the data about where someone posts their data, similar to what's done with PKDNS.
My only issue with the system is that it still feels over complicated to me. If the DHT network is truly decentralized, then anyone can spin up nodes and potentially perform a sybil attack. This isn't possible in PKARR (BitTorrent Mainline) only because the node's identifier is based on its IPv4 address, which is a centralized identifier. So, in the end, it's essentially a centralized group of servers.
So why not just have a federation of relays that host only NIP-65 (kind 10002) events
Login to reply
Replies (3)
IP addresses are centralised in some sense but they only really govern inbound connections. as i see it the main point of the relay architecture is exposing the potential for rendezvous points if all else fails.
supposedly ipv6 gives so many addresses that there doesn't need to be an authoritaah about who gets what numbers below the level where the standard issue is 16 bits of address space for anyone for practically peanuts.
moving the goalposts is a primary attack on any system. for IP networking this is addresses. for blockchains it's the agreed current time.
Long after Jack gets bored and all NIP-65 relays federatuon run out of funding and shut down, there will still be 8 million wildly distributed (geographically and organizationally) DHT nodes.
If that is not a difference... not sure what would be.
DHT is not only not complicated, they are simpler than even an http2.0 server, let alone websockets... you can implement a DHT client from scratch... what are we even talking about here.
At some point I might implement a DHT from scratch on live stream so people stop saying that DHTs are overly complicated.
DHT clients and routers are the most simple software I ever written.
View quoted note →