Skip to content

Add relay support for NIP-51 lists#616

Open
tlongwell-block wants to merge 1 commit into
mainfrom
max/nip51-relay-allowlist
Open

Add relay support for NIP-51 lists#616
tlongwell-block wants to merge 1 commit into
mainfrom
max/nip51-relay-allowlist

Conversation

@tlongwell-block
Copy link
Copy Markdown
Collaborator

Summary

  • add core constants for initial NIP-51 list/set kinds plus NIP-65 relay list metadata
  • allow those kinds through relay ingest with UsersWrite scope
  • mark them global-only so stray h tags cannot channel-scope user-owned list state
  • cover the allowlist/global-only behavior with focused ingest tests

Test plan

  • cargo fmt
  • git diff --check
  • cargo test -p sprout-relay handlers::ingest --lib (28/28 passed)

Note: local pre-commit/pre-push hooks still hit unrelated existing frontend/tooling failures outside this Rust change (desktop-check a11y lint in HeadphonesNotice.tsx; pre-push also reports web/desktop build dependency/type-resolution failures). The Rust checks above pass for the touched code.

@tlongwell-block tlongwell-block force-pushed the max/nip51-relay-allowlist branch from 8311069 to ab5e8ad Compare May 19, 2026 13:46
Signed-off-by: Tyler Longwell <tlongwell@squareup.com>
@tlongwell-block tlongwell-block force-pushed the max/nip51-relay-allowlist branch from ab5e8ad to d783e80 Compare May 19, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant