upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/explanation/inline-authorization.md
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-21 13:20:14 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-21 13:45:30 +0000
commitfbcf2e3896b008f15f02a0df804405a346fd3656 (patch)
tree1ebe746658ed930c468361e88b4eba705cbffd5b /docs/explanation/inline-authorization.md
parent5913c5aab4d22fcb2984e9a34b439190639b346d (diff)
fix: fall back to REQ+EOSE when negentropy retry fails
When negentropy retry makes no progress (relay returns zero events), this indicates the relay's negentropy implementation is broken. Instead of marking the batch as failed, we now: 1. Mark the relay as not supporting NIP-77 so future batches skip negentropy and use REQ+EOSE directly 2. Fall back to REQ+EOSE using semantic filters (kind/author/tags) for the current batch, which may succeed where ID-based queries fail This addresses the issue where some relays (e.g., azzamo.net, snort.social) return event IDs during negentropy diff but fail to serve those events when requested by ID.
Diffstat (limited to 'docs/explanation/inline-authorization.md')
0 files changed, 0 insertions, 0 deletions