This adds support for protected events Link: https://github.com/nostr-protocol/nips/pull/1030 Signed-off-by: William Casarin <jb55@jb55.com>
12 lines
275 B
TOML
12 lines
275 B
TOML
|
|
pipeline = ["protected_events", "whitelist", "ratelimit"]
|
|
|
|
[filters.ratelimit]
|
|
posts_per_minute = 8
|
|
whitelist = ["127.0.0.1"]
|
|
|
|
[filters.whitelist]
|
|
pubkeys = ["16c21558762108afc34e4ff19e4ed51d9a48f79e0c34531efc423d21ab435e93"]
|
|
ips = ["127.0.0.1"]
|
|
|
|
[filters.protected_events]
|