Why Nostr? What is Njump?
2023-11-07 07:33:48

Asone on Nostr: Yesterday, while working on my authorization server for my relay, I was wondering : ...

Yesterday, while working on my authorization server for my relay, I was wondering :

What would happen in clients if a #nostr #relay were to spoof some events.

Example :

Alice sends an event to relay B and C, let's say a simple "Hello world".

All relays accepts the event and stores it. However, relay C modifies the content of the event. When referring to the note, the content relay C would return would be "Hello Satoshi".

Therefore, a client connecting to those relays would receive two different events with the same Id.

How clients would/should behave ?
Author Public Key
npub10fd0ncqmzd6q3e7t9kzlh82asw2jj7kpn7hjvcrfhq4uyzc4dpvsxtvn3n