mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-13 23:39:08 -05:00
dont allow poll authors to vote on own polls, fix event table formatting
This commit is contained in:
parent
900268c51a
commit
4782bd4a45
2
69.md
2
69.md
|
@ -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:
|
||||
|
|
|
@ -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) |
|
||||
|
|
Loading…
Reference in New Issue
Block a user