BDK v1.0.0-alpha.4: Improved KeychainTxOutIndex API & Fixes

The BDK libraries aims to provide well engineered and reviewed components for Bitcoin based applications. The Bitcoin Dev Kit developers are in the process of releasing a v1.0 which is a fundamental re-write of how the library works.

BDK v1.0.0-alpha.4: Improved KeychainTxOutIndex API & Fixes
  • "BDK 1.00-alpha.4 is out"
  • "This bi-weekly alpha release fixes a chain module performance issue, revamps the KeychainTxOutIndex API to be safer, and moves the hardwaresigner module into it's own crate. We are getting very close to a beta."

What's new

Fixed

Changed

  • The old hardwaresigner module has been moved out of bdk and inside a new bdk_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. #1269
  • KeychainTxOutIndex no longer directly exposes SpkTxOutIndex methods via DeRef. This was problematic because SpkTxOutIndex 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

New Contributors

Full Changelogv1.0.0-alpha.3...v1.0.0-alpha.4

Announcement / rchive
GitHub Repo