chore: minor fixes

This commit is contained in:
Ricardo Arturo Cabral Mejía 2022-08-16 23:15:17 -04:00 committed by GitHub
parent 1228533c24
commit 072783319d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
27.md
View File

@ -18,7 +18,8 @@ of an `m` tag is case-sensitive.
A client SHOULD send events containing `m` tags only to relays that explicitly A client SHOULD send events containing `m` tags only to relays that explicitly
support NIP-27. A NIP-16 supporting client MAY test for the capability by support NIP-27. A NIP-16 supporting client MAY test for the capability by
subscribing twice to a relay with and without the tag filter `#m` respectively subscribing twice to a relay with and without the tag filter `#m` respectively
and sending an ephemeral event with a random `m` tag of equal value. and sending an ephemeral event with a random `m` tag of equal value and assert
it was only received by the right subscription.
## Events ## Events
@ -29,7 +30,7 @@ Suppose that Alice wants to multicast an event to a very special multicast group
that covers specific topics. The multicast group is identified by the following that covers specific topics. The multicast group is identified by the following
string: `00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048` string: `00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048`
Alice would construct the following message and sends it to her favorite relay Alice would construct the following message and send it to her favorite relay
which happens to support multicasting: which happens to support multicasting:
```json ```json
@ -56,7 +57,7 @@ an array of multicast groups as values.
Suppose that Bob and Charlie both share Alice's interest and would like to stay Suppose that Bob and Charlie both share Alice's interest and would like to stay
up to date. Both would construct the following message to subscribe: up to date. Both would construct the following message to subscribe:
``` ```json
[ [
"REQ", "REQ",
"<subscriptionId>", "<subscriptionId>",