serapath on Nostr: why not? whatever is the underlying address... if i use my pubkey or hash of my ...
why not?
whatever is the underlying address...
if i use my pubkey or hash of my pubkey as 'key' and the 'value' i publish to the DHT is my address and the pubkeys of ppl i am connected to, then anyone could query the dht to lookup that information and then repeat the process with the pubkeys i am connected to to see who they are connected to and so on ...until i find a path from me to my target and then i can route my packet.
this is my understanding. i might be wrong - as i am not a cjdns expert, but the mechanism as such makes sense. in principle it would work.
Published at
2024-12-04 13:26:41Event JSON
{
"id": "f9dff3fc280aed8df4c10598de34d67fffab7e2e1569326c317dd783d2bea00c",
"pubkey": "390a5738b56da18489cc672da7c2654904096b560ca5ec0581f87c9762f760dc",
"created_at": 1733318801,
"kind": 1,
"tags": [
[
"p",
"390a5738b56da18489cc672da7c2654904096b560ca5ec0581f87c9762f760dc"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"e",
"00009df68301adf2bed8cd4ea7dd833b665e72264396f929d81cdd62af8ece8a",
"",
"root"
],
[
"e",
"00004a2e4b6d39b5c5e354ecae8305e371ff1d9be892dfae416383b4f2280ca6",
"",
"reply"
]
],
"content": "why not?\nwhatever is the underlying address...\n\nif i use my pubkey or hash of my pubkey as 'key' and the 'value' i publish to the DHT is my address and the pubkeys of ppl i am connected to, then anyone could query the dht to lookup that information and then repeat the process with the pubkeys i am connected to to see who they are connected to and so on ...until i find a path from me to my target and then i can route my packet.\n\nthis is my understanding. i might be wrong - as i am not a cjdns expert, but the mechanism as such makes sense. in principle it would work.\n",
"sig": "3395343a1c12320aeec311d43e5656c109a3e5969484e7f3c36e37180a6e3592dd651478d0a6370f07d02c4fa1891c083fd9b6fefc0f485f2fe191a7b11e20a4"
}