mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-01-04 13:45:50 -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user