cameri / nostream

A Nostr Relay written in TypeScript
MIT License
729 stars 188 forks source link

Implement Retention Policies from NIP-11a #205

Open cameri opened 1 year ago

cameri commented 1 year ago

Is your feature request related to a problem? Please describe. Implement retention policies.

Describe the solution you'd like Allow relay operator to configure the retention policy in time or count of events per kind or kind ranges. Display retention policy in relay information document as per NIP-11a.

Additional context https://github.com/nostr-protocol/nips/pull/163/files#diff-e2738305ed5e49cb3b4cb1295e8028c000b203b4e74a4c5fe599dc884e7a92d3R116