bitcoindevkit / bitcoindevkit/bdk-ffi
Prevent cancelled CbfClient.update() calls from losing queued blocks
Open
- Dominant language
- Rust
- Stars
- 127
- Forks
- 81
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 5
Description
`CbfClient.update()` directly exposes Kyoto’s non cancel safe update future. When a foreign coroutine is cancelled UniFFI can drop that future and lose queued block state.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the CbfClient.update() entry point and inspect how its Kyoto update future is exposed through UniFFI and reacts to cancellation from a foreign coroutine. Done means cancelling the call no longer drops queued block state; verify this with the relevant existing tests or a focused regression test if the repository provides a suitable test entry point.
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
- Needs clarification
- Newbie friendliness
- 45/100