filter: add protected_events filter

This adds support for protected events

Link: https://github.com/nostr-protocol/nips/pull/1030
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin 2024-07-09 10:14:33 -07:00
parent 20a8773631
commit e28454ac32
7 changed files with 55 additions and 4 deletions

View file

@ -1,5 +1,7 @@
mod protected_events;
mod ratelimit;
mod whitelist;
pub use protected_events::ProtectedEvents;
pub use ratelimit::RateLimit;
pub use whitelist::Whitelist;