Skip to content

v1.3.0 release

Compare
Choose a tag to compare
@azuchi azuchi released this 07 Apr 07:43
· 79 commits to master since this release

This release includes the following changes:

  • Add Bitcoin::PSBT::Tx#to_h method to output each PSBT data in Hash format.
  • Add decodepsbt option in bitcoinrb-cli to decode Base64-format PSBT into JSON format.
  • Return address of Bitcoin::Script#to_h changed to return a single address.
  • Add BIP-322 message signing.
  • Elliptic curve operations changed to be performed in Jacobian coordinates using ecdsa_ext gem and bip-schnorr gem v 0.5.0.
  • Add private key length check in Bitcoin::Key#new.
    An incorrect public key was derived if a private key was specified with dropped digits that were not exactly 32 bytes and libsecp256k1 was used. This check ensures that an exception is thrown in such cases. The following code, which could also cause such cases, has been corrected:
    • Bitcion::ExtPubkey#derive
    • Bitcion::Taproot#tweak_private_key

Full Changelog: v1.2.1...v1.3.0