diff options
| author | Adam Soltys <[email protected]> | 2026-09-12 22:15:10 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-12 22:15:10 -0700 |
| commit | d57962cb896b360295ec107afd50d2ce8701c401 (patch) | |
| tree | 4cdce2945263e310cda12197a5eb049fc8e64ad8 /tools | |
| parent | 6cbb1b0c3665191ad486dc43d70dfbd264780f19 (diff) | |
| download | coinosv3-d57962cb896b360295ec107afd50d2ce8701c401.tar.gz coinosv3-d57962cb896b360295ec107afd50d2ce8701c401.zip | |
The feed was showing half the posts it should.
Compared against a wider net over the same six hours and the same follow
list — 862 people, read off this wallet:
before: 165 notes from 38 people
after: 327 notes from 86 people, and nothing the wider net still finds
Four things were losing posts, in order of how much:
THE AUTHOR CAP. feedAuthors() stopped at 500. On an 862-follow list that
silently dropped 362 people, and 164 of the 166 posts the wider net found
were theirs. Gone: it takes everyone now, up to a couple of thousand, with
each REQ carrying at most 400 authors so no single filter is absurd.
THE DEFAULTS. relay.damus.io is the second-biggest relay this follow list
writes to — 249 of them — and it wasn't in our set. 232 follows publish no
relay list at all and lean entirely on those defaults, so they were being
asked for on two relays instead of three.
THE SOCKET CAP. Ten relays covered all but 66 follows; twenty-five covered
all but 26. It's 24 now — Amethyst runs near a hundred, and this is the same
idea kept to a number a phone can hold.
MALFORMED RELAY LISTS. One list in these follows crams three URLs into a
single r tag, space-separated. It passed our "starts with wss://" check,
reached the pool, threw Invalid URL — and every author covered by that relay
quietly returned nothing. Each URL has to parse now.
And a quote-post is no longer mistaken for a reply. NIP-10 marks a reply's e
tags 'root' or 'reply'; a quote's are 'mention', and NIP-18 quotes carry a q
tag. We were hiding every note with an e tag, which included the quote-posts
that now render as cards.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_019mrt228Upn9nNCwGixzSLx
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
