bitcoindevkit / bitcoindevkit/bdk-ffi

Far ahead address outputs missing

Open
#905 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
127
Forks
81
Avg merge
1d 2h
Merged PRs (30d)
5

Description

**Describe the enhancement**

User has a tx, that has outputs at address-index 28 and 1634. The wallet has addresses revealed until 600.

```
bdkwallet.apply_unconfirmed_txs([new_tx])
bdkwallet.reveal_addresses_to(1634)
outputs = bdkwallet.list_output()
```

outputs will only contain the output with address index 28. Not 1634.

**Workaround**

can solve by

```
bdkwallet.reveal_addresses_to(1634)
bdkwallet.apply_unconfirmed_txs([new_tx])
outputs = bdkwallet.list_output()
```

but would be nice if bdk was able to handle this switched order correctly

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.