naco-api/internal/nostr
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nacorid 4f107da9ee
fix: harden Nostr client relay handling and error propagation
- budget relay queries across a shared 20s deadline (5s per relay) and
  dedupe events by ID across relays
- surface 'could not connect to any relay' when no query succeeded and
  abort early on relay-connect and stream-cancel errors
- guard zero/negative limits across all fetchers
- GetActor falls through relays and rejects empty profile metadata;
  SearchActors propagates relay errors instead of silently returning none
- NewNostrClient validates relay ws://wss:// schemes, trims, and dedupes
2026-09-09 23:17:56 +00:00
..
client.go fix: harden Nostr client relay handling and error propagation 2026-09-09 23:17:56 +00:00
client_test.go fix: harden Nostr client relay handling and error propagation 2026-09-09 23:17:56 +00:00