diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-09 22:55:36 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-09 22:55:36 +0000 |
| commit | 615bfa0e3e892a22f1691a6a1172ea755a7c3149 (patch) | |
| tree | 2be46f2a647d5f9ba09d615dfd94c98ea6c9cfb0 /docs/tutorials/README.md | |
| parent | 953a4be45dda7477d3db8099722856eb11eb6bb2 (diff) | |
improve: detect and skip negentropy for unsupported relays
- Upgrade NOTICE log level to INFO when relay rejects negentropy (envelope/NEG- errors)
- Track NIP-77 support status per relay connection to avoid repeated failed attempts
- Mark relay as unsupported when NOTICE rejection or timeout occurs
- Skip negentropy on subsequent syncs during same connection session
- Reset support status on reconnect to allow retry after relay upgrades
This reduces log noise and eliminates 10-second timeout delays on each historic
sync attempt for relays that don't support NIP-77 negentropy.
Fixes negentropy-timeout-10-seconds issue by learning from relay behavior.
Diffstat (limited to 'docs/tutorials/README.md')
0 files changed, 0 insertions, 0 deletions