-
Notifications
You must be signed in to change notification settings - Fork 412
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
BDK does not seem to always find all coins on-chain if the wallet has been in use for a while and we don't have a local database.
To Reproduce
- Use in-memory database.
- Have a wallet whose external descriptor has been used for more than CACHE_ADDR_BATCH_SIZE addresses.
I've made a private repository here (contains the testnet coin descriptor, please don't steal them 🙃 ) and invited a few select maintainers of this repository: https://github.com/thomaseizinger/bdk-missing-coins-bug
Expected behavior
BDK to always find all coins as long as they are within a specified stop_gap.
Build environment
- BDK tag/commit: 0.15.0
- OS+version: Linux thomas-thinkpad 5.10.89-1-MANJARO
- Rust/Cargo version: 1.57.0
- Rust/Cargo target: x86_64-unknown-linux-gnu
Additional context
I've tested this also with the esplora-ureq backend but without luck.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working