diff options
| author | hodlbod <jstaab@protonmail.com> | 2024-09-30 09:47:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-30 09:47:10 -0700 |
| commit | e830a73cbd9a39e28757c11b208731773baac089 (patch) | |
| tree | 0e1accb4d17f311a67b3835af469b0af44bd9ff3 | |
| parent | a736e629be5c4c9125d98bdb4965851d8110c483 (diff) | |
| parent | ce2234e0baac9d64f7044ec1c4a5cc7210fd2fc2 (diff) | |
Merge pull request #1523 from coracle-social/clarify-filters
Clarify tag filters
| -rw-r--r-- | 01.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -81,7 +81,7 @@ This NIP defines 3 standard tags that can be used across all event kinds with th | |||
| 81 | - for an addressable event: `["a", <kind integer>:<32-bytes lowercase hex of a pubkey>:<d tag value>, <recommended relay URL, optional>]` | 81 | - for an addressable event: `["a", <kind integer>:<32-bytes lowercase hex of a pubkey>:<d tag value>, <recommended relay URL, optional>]` |
| 82 | - for a normal replaceable event: `["a", <kind integer>:<32-bytes lowercase hex of a pubkey>:, <recommended relay URL, optional>]` | 82 | - for a normal replaceable event: `["a", <kind integer>:<32-bytes lowercase hex of a pubkey>:, <recommended relay URL, optional>]` |
| 83 | 83 | ||
| 84 | As a convention, all single-letter (only english alphabet letters: a-z, A-Z) key tags are expected to be indexed by relays, such that it is possible, for example, to query or subscribe to events that reference the event `"5c83da77af1dec6d7289834998ad7aafbd9e2191396d75ec3cc27f5a77226f36"` by using the `{"#e": ["5c83da77af1dec6d7289834998ad7aafbd9e2191396d75ec3cc27f5a77226f36"]}` filter. | 84 | As a convention, all single-letter (only english alphabet letters: a-z, A-Z) key tags are expected to be indexed by relays, such that it is possible, for example, to query or subscribe to events that reference the event `"5c83da77af1dec6d7289834998ad7aafbd9e2191396d75ec3cc27f5a77226f36"` by using the `{"#e": ["5c83da77af1dec6d7289834998ad7aafbd9e2191396d75ec3cc27f5a77226f36"]}` filter. Only the first value in any given tag is indexed. |
| 85 | 85 | ||
| 86 | ### Kinds | 86 | ### Kinds |
| 87 | 87 | ||