jimbojw / memorelay

In-memory Nostr relay.
Apache License 2.0
0 stars 0 forks source link

Implement NIP-18 reposts (enforcement) #26

Open jimbojw opened 1 year ago

jimbojw commented 1 year ago

NIP-18 describes notes of kind 6. Implement checks to enforce conformance to NIP-18:

Out of scope: Checking whether the reposted event exists and is correct. It is possible (perhaps frequent) that Memorelay could receive a repost event but not have knowledge of the original event being reposted. For that reason, it is not required to perform conformance checks on the target of the repost. Checking for internal consistence is sufficient.

Note: Issue a NOTICE message to a client if it posts a note which is not conformant.