Global Feed Post Login
Replying to Avatar Mike Dilger ☑️

I hate the fact that in gossip:

[x] One or more relay urls are hard-coded into the source code

But I will at least be open about this fact and explain why.

1) Several relays require an Origin header or they won't work with gossip. Gossip isn't a web application, so it fakes this header but only for relays that are known to have this requirement. Perhaps it should instead always write this header.

2) We suggest relays to new people. For every major release I do extensive testing of popular and open relays and we hardcode the top 20 based on a somewhat complex scoring algorithm that was not gamed. Often relays in that list I have never heard of, but they go in there based on the rules.

Avatar
hodlbod 11mo ago

There's also the bootstrapping problem, which is unavoidable

Reply to this note

Please Login to reply.

Discussion

No replies yet.