Add SegWit addresses and BIP32 support
Pre-release
Pre-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
andPublicKey
from_bip32()
methods no longer existAddressBuilder
no longer exists- Though SegWit addresses were supposed to be created and used through the
Address
class, now aSegWitAddress
class has been introduced for that purpose - The
ScriptPubKey
to_address()
method no longer expects an optionalbool
to specify segwit/non-segwit, it now expects asegwit_version
that defaults toNone