Releases: exonum/btc-transaction-utils
Releases · exonum/btc-transaction-utils
v0.5.0
-
bitcoin
dependency has been updated to the new major release0.17
. (#9)- Methods
secp_gen_keypair_with_rng
andsecp_gen_keypair
now require
bitcoin network type and returnPrivateKey
key instead ofSecretKey
. - Several methods no longer require
Secp256k1
context. secp256k1::PublicKey
replaced by thebitcoin::PublicKey
.
- Methods
v0.3.1: Requirements for dependencies have been relaxed. (#6)
- Requirements for dependencies have been relaxed. (#6)
Update dependencies
Breaking changes
bitcoin
dependency has been updated to the new major release0.14.1
. (#5)
API improvements
New features
- Added blank constructor to the
RedeemScriptBuilder
. (#3) - Implemented script pubkey creation in
p2wsh
andp2pk
modules. (#3)
Breaking changes
- Method
verify_signature
of theInputSigner
inp2wsh
andp2wpk
modules was changed to accept
Into<InputSignatureRef>
instead of raw bytes. This change made signature verification stricter
than before. (#4)
Initial release
BTC transaction utils is a small library that helps to create multisig addresses
and to swiftly sign some types of segwit transactions as well as to check the
existing signatures, if required.
Manipulations with segwit transactions are quite complicated, so the main goal
is to provide a simple and clear solution for the most common operations
as mentioned above.
Features
- Creating of the redeem script, which is used in the multisignature transactions.
- Creating and checking of the applied signatures of the
p2wsh
inputs. - Creating and checking of the applied signatures of the
p2wpk
inputs.
Note: This library supports only the SIGHASH_ALL
type of signatures.