]> Untitled Git - bdk-cli/commit
refactor(full_scan): share the stop-gap rejection check
authoremma31-dev <emmanuelfidel07@gmail.com>
Fri, 13 Nov 2026 12:05:07 +0000 (13:05 +0100)
committeremma31-dev <emmanuelfidel07@gmail.com>
Fri, 13 Nov 2026 12:06:19 +0000 (13:06 +0100)
commit12aae534965a678d7419e13dab8a235a3b751641
treec0354b80a721c61bcce97118b10c50153bc54b78
parentb6e54bf221f97a81167d33312f5305ebdca6a121
refactor(full_scan): share the stop-gap rejection check

The RPC and CBF arms carried an identical `--scan-stop-gap` rejection block,
each with its own `electrum`/`esplora` cfg. Move the check into a
`reject_stop_gap` helper next to `stop_gap` so there is one copy of the message
and one gate.

No behaviour change.
src/handlers/online.rs