Replies: 1 comment 1 reply
-
Clients can't assume they will receive an EOSE, but relays need to send it. For performance reasons, as a client you often want to only get existing events and then close the connection. You don't care to poll for upcoming events. Without an EOSE, you don't know when to stop listening, and can rely only on a timeout. So yes, it's considered essential. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When what was previously NIP-15 was merged into NIP-01, the following was imported:
This previously was not mandatory, of course, since it wasn't in NIP-01. Now, NIP-01 says nothing on whether relays are required to send this message once they have sent all events.
Is sending the EOSE message to be understood as a requirement for compliance?
(Of course, one should send it regardless).
Beta Was this translation helpful? Give feedback.
All reactions