Skip to content

Commit

Permalink
renumber polls NIP to 88.
Browse files Browse the repository at this point in the history
this one: #1346
  • Loading branch information
fiatjaf committed Sep 17, 2024
1 parent 4bf0c01 commit d534bad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 118.md → 88.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# NIP-118
# NIP-88

## Polls

Expand All @@ -15,7 +15,7 @@ The NIP makes the following tradeoffs.

### Poll Event

The poll event is defined as a `kind:1068` event.
The poll event is defined as a `kind:1068` event.

- **content** key holds the label for the poll.

Expand All @@ -24,7 +24,7 @@ Major tags in the poll event are:

- **option**: The option tags contain an OptionId(any alphanumeric) field, followed by an option label field.
- **relay**: One or multiple tags that the poll is expecting respondents to respond on.
- **polltype**: can be "singlechoice", "multiplechoice", or "rankedchoice". Polls that do not have a polltype should be considered a "singlechoice" poll.
- **polltype**: can be "singlechoice", "multiplechoice", or "rankedchoice". Polls that do not have a polltype should be considered a "singlechoice" poll.


Example Event
Expand Down Expand Up @@ -89,4 +89,4 @@ In case of multiple events for a pubkey, the event with the largest timestamp sh
### Curation

The clients may configure fetching results by specific people. This can be achieved by creating `kind:30000` follow sets, and fetching results only from the follow set.
Clients can also employ other curation algorithms, like Proof Of Work and Web of Trust scores for result curations.
Clients can also employ other curation algorithms, like Proof Of Work and Web of Trust scores for result curations.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
- [NIP-75: Zap Goals](75.md)
- [NIP-78: Application-specific data](78.md)
- [NIP-84: Highlights](84.md)
- [NIP-88: Polls](88.md)
- [NIP-89: Recommended Application Handlers](89.md)
- [NIP-90: Data Vending Machines](90.md)
- [NIP-92: Media Attachments](92.md)
Expand Down Expand Up @@ -118,11 +119,13 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
| `44` | Channel Mute User | [28](28.md) |
| `64` | Chess (PGN) | [64](64.md) |
| `818` | Merge Requests | [54](54.md) |
| `1018` | Poll Response | [88](88.md) |
| `1021` | Bid | [15](15.md) |
| `1022` | Bid confirmation | [15](15.md) |
| `1040` | OpenTimestamps | [03](03.md) |
| `1059` | Gift Wrap | [59](59.md) |
| `1063` | File Metadata | [94](94.md) |
| `1068` | Poll | [88](88.md) |
| `1311` | Live Chat Message | [53](53.md) |
| `1617` | Patches | [34](34.md) |
| `1621` | Issues | [34](34.md) |
Expand Down

0 comments on commit d534bad

Please sign in to comment.