News for hackers. Stuff that matters.
Re:Nostr: Notes and Other Stuff Transmitted by Relays by Cameri on Thursday January 26, 2023 @01:03PM (#34535794)
The spec doesn't say relays SHALL NOT talk to each other. YOU made that up. It says they don't talk to each other but it is not prevented.

You can mirror one relay to another easily:

echo '["REQ", "mirror" ,{}]' | websocat wss://source | jq -del '.[1]' | websocat wss://dest

Re:Nostr: Notes and Other Stuff Transmitted by Relays by sph on Thursday January 26, 2023 @01:49PM (#34536686)
> It says they don't talk to each other but it is not prevented

No protocol can prevent a piece of software from doing whatever they want.

The "shall not" is not absolute: the spec assumes and expects relays not to talk to each other. Nothing prevents you from creating a relay that connects to another relay, of course, but that would not be in the spirit of what Nostr is trying to achieve.