Skip to content

Commit

Permalink
merge NIP-15 into NIP-01.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Apr 9, 2023
1 parent dee546e commit fb5b7c7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 25 deletions.
5 changes: 3 additions & 2 deletions 01.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ NIP-01
Basic protocol flow description
-------------------------------

`draft` `mandatory` `author:fiatjaf` `author:distbit` `author:scsibug` `author:kukks` `author:jb55`
`draft` `mandatory` `author:fiatjaf` `author:distbit` `author:scsibug` `author:kukks` `author:jb55` `author:semisol`

This NIP defines the basic protocol that should be implemented by everybody. New NIPs may add new optional (or mandatory) fields and messages and features to the structures and flows described here.

Expand Down Expand Up @@ -89,7 +89,8 @@ The `limit` property of a filter is only valid for the initial query and can be
Relays can send 2 types of messages, which must also be JSON arrays, according to the following patterns:

* `["EVENT", <subscription_id>, <event JSON as defined above>]`, used to send events requested by clients.
* `["NOTICE", <message>]`, used to send human-readable error messages or other things to clients.
* `["EOSE", <subscription_id>]`, used to indicate the _end of stored events_ and the beginning of events newly received in real-time.
* `["NOTICE", <message>]`, used to send human-readable error messages or other things to clients.

This NIP defines no rules for how `NOTICE` messages should be sent or treated.

Expand Down
21 changes: 0 additions & 21 deletions 15.md

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ NIPs stand for **Nostr Implementation Possibilities**. They exist to document wh
- [NIP-12: Generic Tag Queries](12.md)
- [NIP-13: Proof of Work](13.md)
- [NIP-14: Subject tag in text events.](14.md)
- [NIP-15: End of Stored Events Notice](15.md)
- [NIP-16: Event Treatment](16.md)
- [NIP-18: Reposts](18.md)
- [NIP-19: bech32-encoded entities](19.md)
Expand Down Expand Up @@ -96,7 +95,7 @@ NIPs stand for **Nostr Implementation Possibilities**. They exist to document wh
|--------|---------------------------------------------------------|-------------|
| EVENT | used to send events requested to clients | [1](01.md) |
| NOTICE | used to send human-readable messages to clients | [1](01.md) |
| EOSE | used to notify clients all stored events have been sent | [15](15.md) |
| EOSE | used to notify clients all stored events have been sent | [1](01.md) |
| OK | used to notify clients if an EVENT was successful | [20](20.md) |
| AUTH | used to send authentication challenges | [42](42.md) |
| COUNT | used to send requested event counts to clients | [45](45.md) |
Expand Down

0 comments on commit fb5b7c7

Please sign in to comment.