From b12e358c1dd374e592f7cd9fbdc0416cfe78ab22 Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Sat, 20 Mar 2021 11:42:00 -0700 Subject: [PATCH] Fix 0.5.1-dev CHANGELOG.md --- CHANGELOG.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) 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]