diff --git a/README.md b/README.md index cb38684..7df00b7 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ You can add any new filter you want by implementing the `NoteFilter` trait and r The `pipeline` config specifies the order in which filters are run. When the first `reject` or `shadowReject` action is hit, then the pipeline stops and returns the rejection error. ```toml -pipeline = ["protected_events", "kinds", "whitelist", "ratelimit"] +pipeline = ["protected_events", "kinds", "whitelist", "ratelimit", "forwarder"] [filters.ratelimit] posts_per_minute = 8 @@ -32,6 +32,10 @@ kinds = [30065, 1064] 1064 = "blocked: files on nostr is dumb" [filters.protected_events] + +[filters.forwarder] +relay = "ws://localhost:8080" +queue_size = 2000 ``` ## Installation