A Python3 SegWit-compliant library which provides tools to handle Bitcoin data structures in a simple fashion.
is_valid()
method in BaseAddress
to check address validityExtendedPublicKey
Breaks the following old functionalities:
serialize_key()
method in ExtendedPublicKey
has been made private (i.e. renamed to _serialize_key()
)serialized_public()
method in ExtendedPublicKey
has been made private (i.e. renamed to _serialized_public()
)Moves unit testing data in separate JSON files
hd
, providing support for BIP32 HD derivationhd
module partially solves issue #1Breaks the following old functionalities:
PrivateKey
and PublicKey
from_bip32()
methods no longer existAddressBuilder
no longer existsAddress
class, now a SegWitAddress
class has been introduced for that purposeScriptPubKey
to_address()
method no longer expects an optional bool
to specify segwit/non-segwit, it now expects a segwit_version
that defaults to None