Skip to content

Add SegWit addresses and BIP32 support

Pre-release
Pre-release
Compare
Choose a tag to compare
@SimoneBronzini SimoneBronzini released this 22 Sep 13:36
· 158 commits to master since this release

Added

  • Support for SegWit addresses
  • New module hd, providing support for BIP32 HD derivation

Fixed

  • The hd module partially solves issue #1

Backward compatibility

Breaks the following old functionalities:

  • PrivateKey and PublicKey from_bip32() methods no longer exist
  • AddressBuilder no longer exists
  • Though SegWit addresses were supposed to be created and used through the Address class, now a SegWitAddress class has been introduced for that purpose
  • The ScriptPubKey to_address() method no longer expects an optional bool to specify segwit/non-segwit, it now expects a segwit_version that defaults to None