Skip to content

Add the NIP-86 unban, unallow and list methods - #145

Merged
kwsantiago merged 1 commit into
mainfrom
nip86-methods
Oct 6, 2026
Merged

kwsantiago merged 1 commit into
mainfrom
nip86-methods

Conversation

@kwsantiago

Copy link
Copy Markdown
Contributor

NIP-86 now defines unbanpubkey, unallowpubkey, unbanevent, unallowevent, listallowedevents and listdisallowedkinds. They are added to Method so relays can dispatch them.

Request.parse located method and params by substring search; it now uses the top-level scanner from #143, so a nested or string-embedded "method" cannot be mistaken for the real one, and a body with duplicate keys is rejected.

@coderabbitai

coderabbitai Bot commented Oct 6, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 14 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 047978eb-a2bd-48f6-9148-3d711e172a60
📥 Commits

Reviewing files that changed from the base of the PR and between 7df598b and 9678567.

📒 Files selected for processing (2)
  • CHANGELOG.md
  • src/nip86.zig
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@kwsantiago
kwsantiago merged commit 26d4379 into main Oct 6, 2026
3 checks passed
@kwsantiago
kwsantiago deleted the nip86-methods branch October 6, 2026 03:46
@kwsantiago kwsantiago mentioned this pull request Oct 6, 2026
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