From: Steve Myers Date: Sat, 20 Mar 2021 18:42:00 +0000 (-0700) Subject: Fix 0.5.1-dev CHANGELOG.md X-Git-Tag: v0.6.0~17 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/struct.EncoderStringWriter.html?a=commitdiff_plain;h=b12e358c1dd374e592f7cd9fbdc0416cfe78ab22;p=bdk Fix 0.5.1-dev CHANGELOG.md --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ca5317f..2e9c964b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 #### Added - Added ability to analyze a `PSBT` to check which and how many signatures are already available +### Wallet +#### Changed +- `get_new_address()` refactored to `get_address(AddressIndex::New)` to support different `get_address()` index selection strategies + +#### Added +- Added `get_address(AddressIndex::LastUnused)` which returns the last derived address if it has not been used or if used in a received transaction returns a new address +- Added `get_address(AddressIndex::Peek(u32))` which returns a derived address for a specified descriptor index but does not change the current index +- Added `get_address(AddressIndex::Reset(u32))` which returns a derived address for a specified descriptor index and resets current index to the given value + ## [v0.5.0] - [v0.4.0] ### Misc @@ -19,12 +28,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Wallet #### Changed - `FeeRate` constructors `from_sat_per_vb` and `default_min_relay_fee` are now `const` functions -- `get_new_address()` refactored to `get_address(AddressIndex::New)` to support different `get_address()` index selection strategies - -#### Added -- Added `get_address(AddressIndex::LastUnused)` which returns the last derived address if it has not been used or if used in a received transaction returns a new address -- Added `get_address(AddressIndex::Peek(u32))` which returns a derived address for a specified descriptor index but does not change the current index -- Added `get_address(AddressIndex::Reset(u32))` which returns a derived address for a specified descriptor index and resets current index to the given value ## [v0.4.0] - [v0.3.0]