Are NIP01, NIP65 messages to be seen as global or relay specific. #1772
-
Imagine a user Alice, posting a NIP01 profile to a set of well known, "public" relays. And then she post a different profile to a set of more private relays. How shall Bob that has access to both the public relays and hence get the first event and the more private relays and also get the 2:nd event treat these to events? Should he store both profiles and use them in a contextual capacity, or should he discard the older event based on created_at value? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
He should discard the older event based on the created_at value, because kind=0 user metadata is a replaceable event. Which relay an event comes from is not material in almost all respects, unless you are operating a relay-centric application on top of nostr such as NIP-29 or anything that specifies a relay. NIP-65 kind 10002 messages are definitely global and not relay-specific. |
Beta Was this translation helpful? Give feedback.
-
I think it would be very good to have different profiles in different relays. Not in the current world with the current microblogging clients, of course, these should probably not care and won't care. But a different type of client with a different use case might. NIP-29, for example, could make use of such niceties without hurting anyone. |
Beta Was this translation helpful? Give feedback.
He should discard the older event based on the created_at value, because kind=0 user metadata is a replaceable event.
Which relay an event comes from is not material in almost all respects, unless you are operating a relay-centric application on top of nostr such as NIP-29 or anything that specifies a relay.
NIP-65 kind 10002 messages are definitely global and not relay-specific.