What is Nostr?
serapath
npub18y9…zg47
2024-12-04 02:30:43
in reply to nevent1q…dhp6

serapath on Nostr: I am not intimately familiar with cjdns and what gets stored in the DHT. Afaik its ...

I am not intimately familiar with cjdns and what gets stored in the DHT.

Afaik its not about anonymity but about performance.
Data is sent end to end encrypted.
Packets are routed based on their source to experiment with routing algos. Routing data comes from distributed hash table.

At the core it's:
1. Switch
2. Router
3. CryptoAuth

I assume some more relevant details can be found here:

https://github.com/cjdelisle/cjdns/blob/master/doc/Whitepaper.md#how

I assume it stored the pubkeys needed to communicate securly with a specific node and the IP address of that node derived from pubkey.

I assume, every node would publish their pubkey, IP address and pubkeys of nodes they are directly connected to.

This way, i could query the destination and slowly look up a neighbors pubkey they are connected to that is closest to my address and then lookup that and recurse until i actually find a connection to me and then send packets through that route.

This is something that could be relatively easily replicated on the hyperdht/hyperswarm dht as well :-)





Author Public Key
npub18y99ww94dkscfzwvvuk60sn9fyzqj66kpjj7cpvplp7fwchhvrwq93zg47