hey #[0] mind a question?

a relay doesn’t talk to another relay, it only talks to clients, according to nostr protocol. how filter.nostr.wine as a relay itself be an aggregator to talk/read with other relays?

Reply to this note

Please Login to reply.

Discussion

I'm 99% sure they are running a custom version of https://github.com/hoytech/strfry

thanks, not to seek judgment just curiosity of a non-pro. maybe i’ll dive into the codes to really understand the mechanism.

love nostr and a big hats off all contributors to this great protocol⚡️

Always have time for a question!

It’s true that the protocol is designed to function without any relay to relay communication, and it does, but of course it’s not the only option.

Anyone can make event requests to any relay that accepts connections. You could write a simple script that connected to a relay, asked for events, and stored them in a file. Then you could continually import that file to your relay.

As mentioned, we do indeed use Strfry (a nostr relay implementation written in C++) which allows us to simplify the above process of streaming events from other relays.

got the idea! thanks cheers🍷

annnd zapped! (lnurl-ly🤣)