Global Feed Post Login
Replying to Avatar Lyn Alden

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?

Avatar
someone 1y ago

current state is a 'mixture of everything' probably. i think clients should have some 'bootstrap' relays but after the user becomes advanced they may let user decide and start saving that info on the relays. not many people care about relays. and some users really care about relays to the point of helping decentralize the network by using small relays.

i think it is a good idea to write as many relays as possible. and read from some relays which have less spam and as much as your mobile data allows.

Reply to this note

Please Login to reply.

Discussion

No replies yet.