dont allow poll authors to vote on own polls, fix event table formatting

This commit is contained in:
toadlyBroodle 2023-04-07 08:00:56 +09:00
parent 900268c51a
commit 4782bd4a45
2 changed files with 4 additions and 2 deletions

2
69.md
View File

@ -66,6 +66,7 @@ A voting client:
* SHOULD NOT allow submission of zap events with amounts greater than `value_maximum` (when specified)
* SHOULD NOT allow submission of zap events with amounts less than `value_minimum` (when specified)
* SHOULD NOT allow submission of zap events after `closed_at` time (when specified)
* SHOULD NOT allow poll author to vote on their own polls
* SHOULD hide tally results, until after a user has zapped the note
## Zap vote format
@ -100,6 +101,7 @@ A tallying client:
* MUST ONLY include full satoshi value amounts in option tallies from ALL eligible zaps that meet ALL following criteria:
* MUST ONLY tally zaps that reference the original poll event by its `e` tag value
* MUST ONLY tally zaps sent to a `p` key specified in the original poll event
* MUST NOT tally zaps from the poll author's `p`
* MUST ONLY include zap amounts less than or equal to `value_maximum`, if specified
* MUST ONLY include zap amounts greater than or equal to `value_minimum`, if specified
* if both `value_maximum` and `value_minimum` are specified AND are equal:

View File

@ -71,8 +71,8 @@ NIPs stand for **Nostr Implementation Possibilities**. They exist to document wh
| 10002 | Relay List Metadata | [65](65.md) |
| 22242 | Client Authentication | [42](42.md) |
| 24133 | Nostr Connect | [46](46.md) |
| 30000 | Categorized People List | [51](51.md) |
| 30001 | Categorized Bookmark List | [51](51.md) |
| 30000 | Categorized People List | [51](51.md) |
| 30001 | Categorized Bookmark List | [51](51.md) |
| 30008 | Profile Badges | [58](58.md) |
| 30009 | Badge Definition | [58](58.md) |
| 30023 | Long-form Content | [23](23.md) |