relay: SUPPORTED_NIPS omits NIP-45 (COUNT) despite an implemented handler
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 92/100
Research direction
Open crates/buzz-relay/src/nip11.rs and inspect the SUPPORTED_NIPS constant, then compare it with the implemented NIP-45 handler in crates/buzz-relay/src/handlers/count.rs. Add 45 to the advertised list and verify that the NIP-11 response now includes NIP-45 while the existing COUNT endpoints remain unchanged.
Written by the indexing model from the issue text.
Description
What's wrong
`crates/buzz-relay/src/nip11.rs` advertises `SUPPORTED_NIPS = [1,2,10,11,16,17,23,25,29,33,38,42,50,56]` — NIP-45 is not in the list.
But `crates/buzz-relay/src/handlers/count.rs` implements a working NIP-45 COUNT handler (POST /count and the WebSocket COUNT message are both live).
Impact
Clients that check NIP-11 capability advertisement before using COUNT will incorrectly conclude the relay doesn't support it and avoid a working feature.
Fix
Add 45 to SUPPORTED_NIPS in nip11.rs.
Provenance
Found during a documentation-corpus review of launchpad/docs/corpus/platforms/relay/nip-11.md (launchpad-26/buzz PR #1981). Not a documentation bug — the code itself under-advertises its own capability.
- Dominant language
- Rust
- Stars
- 33.7k
- Forks
- 4.4k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 239
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from block/buzz
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
workflow_sink's mention parser never masks code regions — @name inside a code span wakes the agent Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 Half a day Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
bitcoindevkit/bdk-ffi#1125 ·