[wallet] Add get_address(AddressIndex::Reset(u32)), update CHANGELOG

This commit is contained in:
Steve Myers
2021-03-10 15:58:58 -08:00
parent f3b475ff0e
commit 2d0f6c4ec5
2 changed files with 82 additions and 18 deletions

View File

@@ -17,7 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
#### 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
- 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]