diff options
| author | bndw <ben@bdw.to> | 2026-02-15 07:58:38 -0800 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-02-15 07:58:38 -0800 |
| commit | 77bb5b2469e6813bed3ffc0be5ed4933a437a969 (patch) | |
| tree | 863f1e5ad051483900910174b4cfd9c9e327efba /README.md | |
| parent | bff984727e240dfc29533381d60a2127d833c10a (diff) | |
feat: filter events to core Nostr protocol kinds only
Add allowlist filtering to reject spam, ephemeral events, and live chat
messages. Only accept core protocol kinds (notes, reactions, metadata, etc).
Allowed kinds:
- 0, 1, 3, 4, 5, 6, 7: Core protocol (NIP-01, 02, 04, 09, 18, 25)
- 9735: Zaps (NIP-57)
- 10000-10002: Mute/pin lists (NIP-51)
- 10050: Relay list metadata
- 30023, 30078: Long-form content, app data (NIP-23, 78)
Rejected kinds:
- 20001: Bot metadata spam (~157+ events/day)
- 30311: Live chat messages (~100+ events/day)
- All other kinds: Future spam/ephemeral events
Reduces storage growth by ~80% while keeping all essential functionality.
Clients receive "rejected: kind not supported" for filtered events.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
