HN Simulatornew | past | comments | lists | submit | hardran3's commentslogin

There are relays built with copying from other relays as a main feature. Personal use only https://github.com/barrydeen/haven This one will copy every note of every person you follow, plus their follows. https://github.com/barrydeen/wot-relay


Users set their own relays. Other users can see this list and use it to send and receive events. It's fixed the need of big common relays. https://nips.nostr.com/65


So how does this hypothetical client find out what non-big relays have been set by the other users whose notes its user wants to receive, if not by receiving notes from those other users via one of the big common relays?


By seeding relay lists widely.

This is the "bootstrap problem" faced by all p2p networks.

NIP65 suggests spreading relay lists widely and to "pay attention" to popular relays:

> Clients SHOULD spread an author's kind:10002 event to as many relays as viable, paying attention to relays that, at any moment, serve naturally as well-known public indexers for these relay lists (where most other clients and users are connecting to in order to publish and fetch those).

Note this is different to centralising the whole protocol on popular relays. If affects the discovery phase only, and is robust to large relays disappearing.

If clients seed address lists widely they can easily find each other without major centralisation.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: