LynAlden on Nostr: I have an #asknostr about Nostr. In a client, we select which relays to connect to. ...
I have an #asknostr about Nostr.
In a client, we select which relays to connect to. Is that list of relays that we have chosen to connect to stored on the client side, or does that list of relays become an event that gets sent to relays as well?
I assumed the latter, that my relay list is published to relays, because if I spin up my keys in a new client it seems to have the same relay connections. But then if I change the relays there in that new client, it doesn’t seem to change the relays on my other prior clients. I assume this is because of the basic Nostr fact that there is no global state and thus relays can have different information about the same user/keypair. Or is some of the relay network connection list stored locally on the client as well?
I guess a broader question is, what types of Nostr information are persistently stored locally on a client?
Published at
2024-07-13 13:02:04Event JSON
{
"id": "2ac65952b2df4bcdb62c2fe4e74d530ac98428894b83f7a2f8dbc44532114f0b",
"pubkey": "eab0e756d32b80bcd464f3d844b8040303075a13eabc3599a762c9ac7ab91f4f",
"created_at": 1720875724,
"kind": 1,
"tags": [
[
"t",
"asknostr"
]
],
"content": "I have an #asknostr about Nostr.\n\nIn a client, we select which relays to connect to. Is that list of relays that we have chosen to connect to stored on the client side, or does that list of relays become an event that gets sent to relays as well?\n\nI assumed the latter, that my relay list is published to relays, because if I spin up my keys in a new client it seems to have the same relay connections. But then if I change the relays there in that new client, it doesn’t seem to change the relays on my other prior clients. I assume this is because of the basic Nostr fact that there is no global state and thus relays can have different information about the same user/keypair. Or is some of the relay network connection list stored locally on the client as well?\n\nI guess a broader question is, what types of Nostr information are persistently stored locally on a client?",
"sig": "a8b1e6a97d2a316346356c0621f9169f5b565c67249a49e049461c2f98856a2791d72f966250673de76b843dbb6ffed0fe59d3810ad671925e8c97cb82de714e"
}