NIP-34: remove unused refs tag extension (#2325)

Co-authored-by: fiatjaf <fiatjaf@gmail.com>
This commit is contained in:
DanConwayDev
2026-04-25 17:42:57 +01:00
committed by GitHub
parent f7cbaebcea
commit 7092ea99b2

10
34.md
View File

@@ -76,16 +76,6 @@ An optional source of truth for the state of branches and tags in a repository.
The `refs` tag may appear multiple times, or none.
The `refs` tag can be optionally extended to enable clients to identify how many commits ahead a ref is:
```jsonc
{
"tags": [
["refs/<heads|tags>/<branch-or-tag-name>", "<commit-id>", "<shorthand-parent-commit-id>", "<shorthand-grandparent>", ...],
]
}
```
## Patches and Pull Requests (PRs)
Patches and PRs can be sent by anyone to any repository. Patches and PRs to a specific repository SHOULD be sent to the relays specified in that repository's announcement event's `"relays"` tag. Patch and PR events SHOULD include an `a` tag pointing to that repository's announcement address.