Release 1.0.0-alpha.4
Pre-release
Pre-release
evanlinjin
released this
18 Jan 12:53
·
620 commits
to master
since this release
Summary
This release improves the KeychainTxOutIndex
API and contains a few bug fixes and performance improvements.
Changelog
Fixed
- Avoid using
BTreeMap::append
due to performance issues (refer to rust-lang/rust#34666 (comment)). #1274
Changed
- The old
hardwaresigner
module has been moved out ofbdk
and inside a newbdk_hwi
crate. #1161 - Wallet's peek-address logic is optimized by making use of
<SpkIterator as Iterator>::nth
. #1269 KeychainTxOutIndex
API is refactored to better differentiate between methods that return unbounded vs stored spks. #1269KeychainTxOutIndex
no longer directly exposesSpkTxOutIndex
methods viaDeRef
. This was problematic becauseSpkTxOutIndex
also contains lookahead spks which we want to hide. #1269
Added
- LocalChain::disconnect_from method to evict a chain of blocks starting from a given BlockId. #1276
SpkIterator::descriptor
method which gets a reference to the internal descriptor. #1269
What's Changed
- ref(hwi): Move hwi out of bdk by @danielabrozzoni in #1161
- Bump bdk_esplora and bdk_file_store versions for 1.0.0-alpha.3 release by @notmandatory in #1263
- Refactor
reveal_to_target
andnext_store_index
by @danielabrozzoni in #1261 - fix(example_electrum): init LocalChain from genesis by @ValuedMammal in #1264
- Avoid using
BTreeMap::append
by @evanlinjin in #1274 - Add
LocalChain::disconnect_from
method by @evanlinjin in #1276 - Revamp
KeychainTxOutIndex
API to be safer by @evanlinjin in #1269 - doc, example(bdk): fix derivation path in mnemonic_to_descriptors by @ValuedMammal in #1286
- Bump version to 1.0.0-alpha.4 by @notmandatory in #1282
New Contributors
- @ValuedMammal made their first contribution in #1264
Full Changelog: v1.0.0-alpha.3...v1.0.0-alpha.4