nostr-caesar is a policy decision maker for nostr relays.
Given an event, it returns 'true' or 'false' to the relay, instructing it whether or not to accept that EVENT.
Given a filter, it returns 'true' or 'false' to the relay, instructing it whether or not to accept that REQ.
This is JUST AN IDEA. In particular, I hard coded an example with no flexible configuration, representing how a personal relay might work. No relay supports this yet AFAIK but nostr-rs-relay is working towards gRPC support.
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.