I'm using the Rust implementation nostr-rs-relay.
I want to do two things with my relay:
1. Rate limit write events per pub key to 1 event per 60 seconds.
2. Identify and remove duplicate notes from the DB.
I don't want overbearing spam filters, I just want to prevent the most egregious examples.
