Expand description
The account’s relays: where it writes, where it reads and where it searches, shown as its lists have them and changed there.
The lists are the account’s relay list (NIP-65) and its other lists of
relays (see crate::nostr::relay_lists). They show as the event
store has them at once, and as the relays have them when they have
answered; until then nothing can be changed, since what is saved
replaces what a list names.
What a list keeps to itself takes the signer to read, which may ask a person about each request, so it is read when it is needed: the relays never connected to and the relays things are looked up on when the popup opens, since they are gone by all the time; the search relays when a search page opens; and the rest when the relays page does.
A search relay has to search, a relay direct messages are sent to has
to know who is asking for them, a relay other people write to, to
reach the account, has to take what they write, and a relay they read
the account’s notes on has to let them (see
Section::hindrances). While the page shows, the relays of those
sets are asked what they say of themselves (NIP-11), each once, and
what one says that gets in the way of what its set is for is said
under its name. One that doesn’t answer is not said anything of.
Relays are added and taken out on the page, and nothing is written until Save: the popup can close meanwhile, and what was changed is still there when it opens. Save has each list that names other relays than the page asked for again, changed and sent out, with everything else in it as it was. A first list is only written after saying so, as a first contact list is, and a list whose private part can’t be read is never written over.
Constants§
- ALWAYS_
READ 🔒 - The lists whose private part is read when the popup opens: they are gone by whatever is on show.