upleb.uk

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

summaryrefslogtreecommitdiff
path: root/docs/tutorials/first-audit.md
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-10 01:34:11 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-10 01:34:11 +0000
commit3f19ab476799071d11e5f61074b60e31511f68a2 (patch)
tree265a7f048b75d5b12f37d58e05f1db8cb35152d8 /docs/tutorials/first-audit.md
parentc9b3b3bd8a04de139bcb0d0b83bf819c367ee8c8 (diff)
fix: implement negentropy fallback to REQ+EOSE when negentropy fails
When negentropy sync fails (one or more filters fail during diff), the code previously left a pending batch and returned early, preventing any sync from happening. This caused the "No sync targets found" issue. Changes: - Track negentropy success with a boolean flag - On negentropy failure: clean up pending batch and fall through to REQ+EOSE - Log the fallback at info level for visibility - Restructure control flow so REQ+EOSE path executes after negentropy failure This ensures sync always completes using traditional REQ+EOSE when NIP-77 negentropy is unavailable or fails.
Diffstat (limited to 'docs/tutorials/first-audit.md')
0 files changed, 0 insertions, 0 deletions