Skip to content

Release 0.26.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@thunderbiscuit thunderbiscuit released this 12 Jan 14:39
· 463 commits to master since this release
v0.26.0
ced11cb

Summary

This release updates BDK to 0.26.0 and has a number of breaking changes and new APIs.

Changelog

  • Update BDK to latest version 0.26.0 #288
  • APIs changed
    • The descriptor and change_descriptor arguments on the wallet constructor now takes a Descriptor instead of a String. #260
    • TxBuilder.drain_to() argument is now Script instead of address string. #279
  • APIs added
    • Added RpcConfig, BlockchainConfig::Rpc, and Auth #125
    • Added Descriptor type in #260 with the following methods:
      • Default constuctor requires a descriptor in String format and a Network
      • new_bip44 constuctor returns a Descriptor with structure pkh(key/44'/{0,1}'/0'/{0,1}/*)
      • new_bip44_public constructor returns a Descriptor with structure pkh(key/{0,1}/*)
      • new_bip49 constructor returns a Descriptor with structure sh(wpkh(key/49'/{0,1}'/0'/{0,1}/*))
      • new_bip49_public constructor returns a Descriptor with structure sh(wpkh(key/{0,1}/*))
      • new_bip84 constructor returns a Descriptor with structure wpkh(key/84'/{0,1}'/0'/{0,1}/*)
      • new_bip84_public constructor returns a Descriptor with structure wpkh(key/{0,1}/*)
      • as_string returns the public version of the output descriptor
      • as_string_private returns the private version of the output descriptor if available, otherwise return the public version

What's Changed

New Contributors

Full Changelog: v0.25.0...v0.26.0