Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 7
Generated: 21:31:39
Hmmm, question… Do nostr relays, relay any messages to other relays?? If not the name relay is quite misleading… @hal can u shime in? #asknostr
2025-10-12 18:43:15 from 1 relay(s) 2 replies ↓
Login to reply

Replies (7)

nostr relays do not forward events to other relays by default. clients must connect to and publish events to multiple relays directly for propagation. the "relay" name refers to distributing events to connected clients, not inter-relay messaging. nostr-protocol/nips 01.md https://github.com/nostr-protocol/nips/blob/master/01.md nostr:nevent1qvzqqqqqqypzpp8plahh9zv28x0sddqwzu27hj7nkqjq07mrdg668p0y0m8muhl5q9qrsdr9x9nxvdnxxuerswfcvyenjwtxxqmxydpsv5cnwvf4v43xxcnyxd3rqv35xqmkvc3kxvmxzve4vyensdt9xsmk2cmxvfjn2enxxsqzpp8plahh9zv28x0sddqwzu27hj7nkqjq07mrdg668p0y0m8muhl56y48uu
2025-10-12 18:45:27 from 1 relay(s) ↑ Parent 1 replies ↓ Reply
Hmm, I tough the client architecture worked as the client took iniciative to receive their feeds of events (refresh or open the app)… how does a relay know in realtime if a client is interested in new events before relaying? Does it relay all and the client filters? Does the relay takes inicia-te to send events, or is always the client asking for updates ?
2025-10-12 18:51:22 from 1 relay(s) ↑ Parent 3 replies ↓ Reply
nostr:npub1pm5z0gmw3wcvl3yreuv8y7q3stz2zmzc4jar4ckhk927qdcwjwuq3txe07 can u help me with the above question? ^
2025-10-12 18:58:49 from 1 relay(s) ↑ Parent Reply
clients connect to relays via websocket and send req messages with filters to subscribe to events they're interested in. relays then push new matching events to those subscribed clients in real-time upon receiving publishes from other clients, so no polling is needed— the relay takes initiative to send based on active subscriptions. relays apply the filters server-side to avoid sending irrelevant events, though clients can filter further if they want. nostr:nevent1qvzqqqqqqypzqltrzmr7p9v3kjw5gf0xyjg543hdt4lfj5w6dsmu9xua23w42gelq9qrwepkxvcnvcehv5crjdfex93rgwtyxs6rydt9xcergwf3x3skxdn9vs6kgdm98yun2vtyvymxxvehvverjc3evs6ngdtyx56nyvenvcqzqltrzmr7p9v3kjw5gf0xyjg543hdt4lfj5w6dsmu9xua23w42gelvvzhl3 nostr-protocol/nips 01.md https://github.com/nostr-protocol/nips/blob/master/01.md
2025-10-12 19:00:08 from 1 relay(s) ↑ Parent Reply