diff options
| -rw-r--r-- | 88.md (renamed from 118.md) | 8 | ||||
| -rw-r--r-- | README.md | 3 |
2 files changed, 7 insertions, 4 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | # NIP-118 | 1 | # NIP-88 |
| 2 | 2 | ||
| 3 | ## Polls | 3 | ## Polls |
| 4 | 4 | ||
| @@ -15,7 +15,7 @@ The NIP makes the following tradeoffs. | |||
| 15 | 15 | ||
| 16 | ### Poll Event | 16 | ### Poll Event |
| 17 | 17 | ||
| 18 | The poll event is defined as a `kind:1068` event. | 18 | The poll event is defined as a `kind:1068` event. |
| 19 | 19 | ||
| 20 | - **content** key holds the label for the poll. | 20 | - **content** key holds the label for the poll. |
| 21 | 21 | ||
| @@ -24,7 +24,7 @@ Major tags in the poll event are: | |||
| 24 | 24 | ||
| 25 | - **option**: The option tags contain an OptionId(any alphanumeric) field, followed by an option label field. | 25 | - **option**: The option tags contain an OptionId(any alphanumeric) field, followed by an option label field. |
| 26 | - **relay**: One or multiple tags that the poll is expecting respondents to respond on. | 26 | - **relay**: One or multiple tags that the poll is expecting respondents to respond on. |
| 27 | - **polltype**: can be "singlechoice", "multiplechoice", or "rankedchoice". Polls that do not have a polltype should be considered a "singlechoice" poll. | 27 | - **polltype**: can be "singlechoice", "multiplechoice", or "rankedchoice". Polls that do not have a polltype should be considered a "singlechoice" poll. |
| 28 | 28 | ||
| 29 | 29 | ||
| 30 | Example Event | 30 | Example Event |
| @@ -89,4 +89,4 @@ In case of multiple events for a pubkey, the event with the largest timestamp sh | |||
| 89 | ### Curation | 89 | ### Curation |
| 90 | 90 | ||
| 91 | 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. | 91 | 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. |
| 92 | Clients can also employ other curation algorithms, like Proof Of Work and Web of Trust scores for result curations. \ No newline at end of file | 92 | Clients can also employ other curation algorithms, like Proof Of Work and Web of Trust scores for result curations. |
| @@ -82,6 +82,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos | |||
| 82 | - [NIP-75: Zap Goals](75.md) | 82 | - [NIP-75: Zap Goals](75.md) |
| 83 | - [NIP-78: Application-specific data](78.md) | 83 | - [NIP-78: Application-specific data](78.md) |
| 84 | - [NIP-84: Highlights](84.md) | 84 | - [NIP-84: Highlights](84.md) |
| 85 | - [NIP-88: Polls](88.md) | ||
| 85 | - [NIP-89: Recommended Application Handlers](89.md) | 86 | - [NIP-89: Recommended Application Handlers](89.md) |
| 86 | - [NIP-90: Data Vending Machines](90.md) | 87 | - [NIP-90: Data Vending Machines](90.md) |
| 87 | - [NIP-92: Media Attachments](92.md) | 88 | - [NIP-92: Media Attachments](92.md) |
| @@ -118,11 +119,13 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos | |||
| 118 | | `44` | Channel Mute User | [28](28.md) | | 119 | | `44` | Channel Mute User | [28](28.md) | |
| 119 | | `64` | Chess (PGN) | [64](64.md) | | 120 | | `64` | Chess (PGN) | [64](64.md) | |
| 120 | | `818` | Merge Requests | [54](54.md) | | 121 | | `818` | Merge Requests | [54](54.md) | |
| 122 | | `1018` | Poll Response | [88](88.md) | | ||
| 121 | | `1021` | Bid | [15](15.md) | | 123 | | `1021` | Bid | [15](15.md) | |
| 122 | | `1022` | Bid confirmation | [15](15.md) | | 124 | | `1022` | Bid confirmation | [15](15.md) | |
| 123 | | `1040` | OpenTimestamps | [03](03.md) | | 125 | | `1040` | OpenTimestamps | [03](03.md) | |
| 124 | | `1059` | Gift Wrap | [59](59.md) | | 126 | | `1059` | Gift Wrap | [59](59.md) | |
| 125 | | `1063` | File Metadata | [94](94.md) | | 127 | | `1063` | File Metadata | [94](94.md) | |
| 128 | | `1068` | Poll | [88](88.md) | | ||
| 126 | | `1311` | Live Chat Message | [53](53.md) | | 129 | | `1311` | Live Chat Message | [53](53.md) | |
| 127 | | `1617` | Patches | [34](34.md) | | 130 | | `1617` | Patches | [34](34.md) | |
| 128 | | `1621` | Issues | [34](34.md) | | 131 | | `1621` | Issues | [34](34.md) | |