upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/27.md
diff options
context:
space:
mode:
authorRicardo Arturo Cabral Mejía <me@ricardocabral.io>2022-08-16 23:15:17 -0400
committerGitHub <noreply@github.com>2022-08-16 23:15:17 -0400
commit072783319dd969efe5c5d47a44a499ec66afd449 (patch)
treeade41d42ed44c9736c2d4551423dde55d372c3ea /27.md
parent1228533c24b02595a77d84cf66151ce52eafd4ba (diff)
chore: minor fixes
Diffstat (limited to '27.md')
-rw-r--r--27.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/27.md b/27.md
index 1b1a937..d8a236e 100644
--- a/27.md
+++ b/27.md
@@ -18,7 +18,8 @@ of an `m` tag is case-sensitive.
18A client SHOULD send events containing `m` tags only to relays that explicitly 18A client SHOULD send events containing `m` tags only to relays that explicitly
19support NIP-27. A NIP-16 supporting client MAY test for the capability by 19support NIP-27. A NIP-16 supporting client MAY test for the capability by
20subscribing twice to a relay with and without the tag filter `#m` respectively 20subscribing twice to a relay with and without the tag filter `#m` respectively
21and sending an ephemeral event with a random `m` tag of equal value. 21and sending an ephemeral event with a random `m` tag of equal value and assert
22it was only received by the right subscription.
22 23
23## Events 24## Events
24 25
@@ -29,7 +30,7 @@ Suppose that Alice wants to multicast an event to a very special multicast group
29that covers specific topics. The multicast group is identified by the following 30that covers specific topics. The multicast group is identified by the following
30string: `00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048` 31string: `00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048`
31 32
32Alice would construct the following message and sends it to her favorite relay 33Alice would construct the following message and send it to her favorite relay
33which happens to support multicasting: 34which happens to support multicasting:
34 35
35```json 36```json
@@ -56,7 +57,7 @@ an array of multicast groups as values.
56Suppose that Bob and Charlie both share Alice's interest and would like to stay 57Suppose that Bob and Charlie both share Alice's interest and would like to stay
57up to date. Both would construct the following message to subscribe: 58up to date. Both would construct the following message to subscribe:
58 59
59``` 60```json
60[ 61[
61 "REQ", 62 "REQ",
62 "<subscriptionId>", 63 "<subscriptionId>",