bitcoindevkit / bitcoindevkit/bdk-ffi
fix!: reject zero Electrum batch sizes and Esplora concurrency
Open
- Dominant language
- Rust
- Stars
- 127
- Forks
- 81
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 5
Description
Reject Electrum `batch_size = 0` and Esplora `parallel_requests = 0` before consuming `FullScanRequest` or `SyncRequest`, because these values currently return success without scanning the requested data and leave the request unusable.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Electrum and Esplora handling paths for FullScanRequest and SyncRequest. Trace where batch_size and parallel_requests are read, then verify zero values are rejected before either request is consumed and that nonzero values retain existing scanning behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend-api-design
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100