Btcpy Versions Save

A Python3 SegWit-compliant library which provides tools to handle Bitcoin data structures in a simple fashion.

0.2.6

6 years ago

Added

  • Better python3 compatibility
  • is_valid() method in BaseAddress 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 in ExtendedPublicKey has been made private (i.e. renamed to _serialize_key())
  • The serialized_public() method in ExtendedPublicKey has been made private (i.e. renamed to _serialized_public())

0.2.5

6 years ago

Moves unit testing data in separate JSON files

0.2.4

6 years ago

Fixes

  • Minor fixes

Adds

  • Additional unit tests for addresses
  • Dump option to integration testing
  • New hash functions on Stream

0.2.3

6 years ago

Fixes

  • Public key derivation

Adds

  • README paragraph on HD derivation
  • test suite on HD derivation

0.2.2

6 years ago

Fixes

  • Adapt recent API breaking changest to integration testing

0.2.1

6 years ago

Fixes

  • A bug in new pubkey compression method
  • A bug in script unhexlify

Backward compatibility

  • PublicKey's compress() method now returns a new key instead of changing the existing one

0.1

6 years ago

0.1.1

6 years ago

0.2

6 years ago

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