scsibug / nostr-rs-relay

Mirror of https://sr.ht/~gheartsfield/nostr-rs-relay/
MIT License
593 stars 161 forks source link

NIP-114: ids_only filter #186

Open mmalmi opened 10 months ago

mmalmi commented 10 months ago

When a filter has ids_only: true, the subscription is served with ["HAVE", sub.id, event.id] messages instead of EVENT messages. This allows clients to only request the full events that they don't already have locally or received from another relay.