Skip to content

Commit

Permalink
docs: replace LocalUtxo to LocalOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
15IITian committed Mar 5, 2024
1 parent 50c549b commit 8d04183
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ BDK and LDK together.
- `verify` flag removed from `TransactionDetails`.
- Add `get_internal_address` to allow you to get internal addresses just as you get external addresses.
- added `ensure_addresses_cached` to `Wallet` to let offline wallets load and cache addresses in their database
- Add `is_spent` field to `LocalUtxo`; when we notice that a utxo has been spent we set `is_spent` field to true instead of deleting it from the db.
- Add `is_spent` field to `LocalOutput`; when we notice that a utxo has been spent we set `is_spent` field to true instead of deleting it from the db.

### Sync API change

Expand Down Expand Up @@ -398,7 +398,7 @@ final transaction is created by calling `finish` on the builder.

### `add_foreign_utxo`

- Renamed `UTXO` to `LocalUtxo`
- Renamed `UTXO` to `LocalOutput`
- Added `WeightedUtxo` to replace floating `(UTXO, usize)`.
- Added `Utxo` enum to incorporate both local utxos and foreign utxos
- Added `TxBuilder::add_foreign_utxo` which allows adding a utxo external to the wallet.
Expand Down
2 changes: 1 addition & 1 deletion crates/bdk/src/wallet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2245,7 +2245,7 @@ impl<D> Wallet<D> {
Ok(psbt)
}

/// get the corresponding PSBT Input for a LocalUtxo
/// get the corresponding PSBT Input for a LocalOutput
pub fn get_psbt_input(
&self,
utxo: LocalOutput,
Expand Down

0 comments on commit 8d04183

Please sign in to comment.