Releases: chainside/btcpy
Releases · chainside/btcpy
Small improvements
Added
- Better python3 compatibility
is_valid()
method inBaseAddress
to check address validity- Factory for SegWit scripts, to better handle versioning
- Hash pinning in dependencies
Fixed
- Make some methods private in
ExtendedPublicKey
Backward compatibility
Breaks the following old functionalities:
- The
serialize_key()
method inExtendedPublicKey
has been made private (i.e. renamed to_serialize_key()
) - The
serialized_public()
method inExtendedPublicKey
has been made private (i.e. renamed to_serialized_public()
)
Segregated testing data
Moves unit testing data in separate JSON files
Testing and stream features
Fixes
- Minor fixes
Adds
- Additional unit tests for addresses
- Dump option to integration testing
- New hash functions on
Stream
HD derivation
Fixes
- Public key derivation
Adds
- README paragraph on HD derivation
- test suite on HD derivation
Test fix
Fixes
- Adapt recent API breaking changest to integration testing
Bugfix
Fixes
- A bug in new pubkey compression method
- A bug in script unhexlify
Backward compatibility
PublicKey
'scompress()
method now returns a new key instead of changing the existing one
Add SegWit addresses and BIP32 support
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
0.1.1
minor fix on download_url
0.1
add TOC and minor fixes to README