From 4782bd4a45fb91bb3144d1025d8eaba2b4b9708e Mon Sep 17 00:00:00 2001 From: toadlyBroodle Date: Fri, 7 Apr 2023 08:00:56 +0900 Subject: [PATCH] dont allow poll authors to vote on own polls, fix event table formatting --- 69.md | 2 ++ README.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/69.md b/69.md index 788b2a3f..e5e64e6e 100644 --- a/69.md +++ b/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: diff --git a/README.md b/README.md index 72465ffe..d991dd6f 100644 --- a/README.md +++ b/README.md @@ -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) |