mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
Merge pull request #10 from Semisol/master
NIP15: End of Stored Events Notice
This commit is contained in:
commit
c120b1746f
21
15.md
Normal file
21
15.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
NIP-15
|
||||
======
|
||||
|
||||
End of Stored Events Notice
|
||||
---------------------------
|
||||
|
||||
`draft` `optional` `author:Semisol`
|
||||
|
||||
Relays may support notifying clients when all stored events have been sent.
|
||||
|
||||
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.
|
||||
|
||||
Client Behavior
|
||||
---------------
|
||||
|
||||
Clients SHOULD use the `supported_nips` field to learn if a relay supports end of stored events notices.
|
||||
|
||||
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.
|
Loading…
Reference in New Issue
Block a user