nips/15.md

22 lines
748 B
Markdown
Raw Permalink Normal View History

2022-05-26 13:21:23 -04:00
NIP-15
======
End of Stored Events Notice
---------------------------
`final` `optional` `author:Semisol`
2022-05-26 13:21:23 -04:00
Relays may support notifying clients when all stored events have been sent.
2022-05-27 12:43:15 -04:00
If a relay supports this NIP, the relay SHOULD send the client a `EOSE` message in the format `["EOSE", <subscription_id>]` after it has sent all the events it has persisted and it indicates all the events that come after this message are newly published.
2022-05-26 13:21:23 -04:00
Client Behavior
---------------
Clients SHOULD use the `supported_nips` field to learn if a relay supports end of stored events notices.
2022-05-26 13:21:23 -04:00
Motivation
----------
The motivation for this proposal is to reduce uncertainty when all events have been sent by a relay to make client code possibly less complex.