chore(deps): update dependency btclib to v2020.12.19 #2

Open
renovate-bot wants to merge 1 commit from renovate/btclib-2020.x into master
Collaborator

This PR contains the following updates:

Package Change Age Confidence
btclib (source) ==2020.5.11==2020.12.19 age confidence

Release Notes

btclib-org/btclib (btclib)

v2020.12.19

Compare Source

Major changes includes:

  • added secp256k1 point multiplication based on efficient endomorphism
  • fixed ssa batch verification functions' logic
  • enforced snake_case variable naming convention,
    e.g. 'script_pub_key', etc.
  • added BIP32KeyOrigin, BIP32KeyPath, and BIP32KeyPaths
  • adopted str instead of bytes as default type
    for BIP32 keys, bms sigs, PSBTs, addresses, and WIFs;
    base58 and bech32 encodings keep returning bytes, like base64
  • cleaned up and refactored all dataclasses,
    now using serialize/deserialized and
    possibly b58encode/b58decode, b64encode/b64decode, etc.
  • renamed TxIn.witness as TxIn.script_witness
  • fixed Witness management in TxIn and Tx, including equality operator
  • consolidated sig_hash code into sig_hash module
  • added more script_pub_key functions: assert_p2pkh, is_p2pkh, etc.

v2020.11.23

Compare Source

Major changes includes:

  • updated BIP340 (Schnorr signature) implementation
    as per the latest changes in bitcoin core
  • refactored PsbtIn, PsbtOut, and Psbt
  • added legacy sighash
  • made btclib compatible with python 3.6
  • ssa.det_nonce now returns an int
  • moved tagged_hash from ssa into hashes module
  • added CurveGroup._y_aff_from_jac and removed unused methods
  • discontinued y_odd in favor of y_even as y-simmetry tiebreaker criterium
  • removed nonce input from dsa.sign and ssa.sign (only available from _sign functions)
  • cleaned up Exception handling, avoided bare/broad except
  • introduced btclib Exceptions that can be discriminated from regular Exceptions

v2020.11.10

Compare Source

Major changes includes:

  • removed TypedDict in favor of dataclass;
    this also restored the ability of using btclib with python 3.7
  • introduced dataclasses_json as requirement, used to
    serialize to file the json representation of dataclasses
  • Network is now a dataclass
  • bip32: BIP32KeyData is now a dataclass instead of dict, its data member
    have to be accessed accordingly. Consequently, where previously it was
    bip32.deserialize(xkey), now it is bip32.BIP32KeyData.deserialize(xkey)
  • bip32: added str_from_bip32_path and bytes_from_bip32_path
  • bip3: made bip32 index an int (not bytes) to avoid byteorder ambiguity.
    Consequently, where previously it was xkey_dict["index"][0] < 0x80,
    now it is xkey_dict.index < 0x80000000
  • bip32: local "./" derivation, opposed to absolute "m/" derivation,
    is not available anymore
  • bip32: indexes_from_bip32_path now returns list[int] instead of
    Tuple[list[bytes], bool] losing the "absolute derivation" bool
  • bms: serialize/deserialize have been renamed encode/decode as they
    include the base64 (de)encoding, not jut the plain (de)serialization
  • Block: fixed bug in difficulty calculation
  • introduced first beta version of HdKeyPaths, PartialSigs, PsbtIn,
    PsbtOut, and Psbt data classes and their associated helper functions
  • refactored Diffie-Hellman and ANSI-X9.63-KDF
  • introduced assorted elliptic curve point multiplication
    algorithms
  • script: renamed Token as ScriptToken
  • script: encode/decode have been renamed as serialize/deserialize
    as they were not encoding at all; the previous serialize/deserialize
    which had varint(len()) before serialized data are not available anymore
  • alias: few definitions have moved in their relevant modules from which
    they can be imported
  • pytest: enforced pytest > 6
  • pytest: using as many processes as the available CPU cores

v2020.8.21

Compare Source

Major changes includes:

  • added BlockHeader and Block data classes
  • added OutPoint, TxIn, TxOut, and TX data classes
  • added segwit_v0 sighash
  • added PsbtIn, PbstOut, and Psbt data classes for
    partially signed bitcoin transactions (BIP174)
  • moved from unitest to pytest, including revision
    of error messages and tests' logic

Configuration

📅 Schedule: Branch creation - "after 3am every weekday,every weekend" in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [btclib](https://btclib.org) ([source](https://github.com/btclib-org/btclib)) | `==2020.5.11` → `==2020.12.19` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/btclib/2020.12.19?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/btclib/2020.5.11/2020.12.19?slim=true) | --- ### Release Notes <details> <summary>btclib-org/btclib (btclib)</summary> ### [`v2020.12.19`](https://github.com/btclib-org/btclib/blob/HEAD/HISTORY.md#v20201219) [Compare Source](https://github.com/btclib-org/btclib/compare/v2020.11.23...v2020.12.19) Major changes includes: - added secp256k1 point multiplication based on efficient endomorphism - fixed ssa batch verification functions' logic - enforced snake\_case variable naming convention, e.g. 'script\_pub\_key', etc. - added BIP32KeyOrigin, BIP32KeyPath, and BIP32KeyPaths - adopted str instead of bytes as default type for BIP32 keys, bms sigs, PSBTs, addresses, and WIFs; base58 and bech32 encodings keep returning bytes, like base64 - cleaned up and refactored all dataclasses, now using serialize/deserialized and possibly b58encode/b58decode, b64encode/b64decode, etc. - renamed TxIn.witness as TxIn.script\_witness - fixed Witness management in TxIn and Tx, including equality operator - consolidated sig\_hash code into sig\_hash module - added more script\_pub\_key functions: assert\_p2pkh, is\_p2pkh, etc. ### [`v2020.11.23`](https://github.com/btclib-org/btclib/blob/HEAD/HISTORY.md#v20201123) [Compare Source](https://github.com/btclib-org/btclib/compare/v2020.11.10...v2020.11.23) Major changes includes: - updated BIP340 (Schnorr signature) implementation as per the latest changes in bitcoin core - refactored PsbtIn, PsbtOut, and Psbt - added legacy sighash - made btclib compatible with python 3.6 - ssa.det\_nonce now returns an int - moved tagged\_hash from ssa into hashes module - added CurveGroup.\_y\_aff\_from\_jac and removed unused methods - discontinued y\_odd in favor of y\_even as y-simmetry tiebreaker criterium - removed nonce input from dsa.sign and ssa.sign (only available from \_sign functions) - cleaned up Exception handling, avoided bare/broad except - introduced btclib Exceptions that can be discriminated from regular Exceptions ### [`v2020.11.10`](https://github.com/btclib-org/btclib/blob/HEAD/HISTORY.md#v20201110) [Compare Source](https://github.com/btclib-org/btclib/compare/v2020.8.21...v2020.11.10) Major changes includes: - removed TypedDict in favor of dataclass; this also restored the ability of using btclib with python 3.7 - introduced dataclasses\_json as requirement, used to serialize to file the json representation of dataclasses - Network is now a dataclass - bip32: BIP32KeyData is now a dataclass instead of dict, its data member have to be accessed accordingly. Consequently, where previously it was bip32.deserialize(xkey), now it is bip32.BIP32KeyData.deserialize(xkey) - bip32: added str\_from\_bip32\_path and bytes\_from\_bip32\_path - bip3: made bip32 index an int (not bytes) to avoid byteorder ambiguity. Consequently, where previously it was xkey\_dict\["index"]\[0] < 0x80, now it is xkey\_dict.index < 0x80000000 - bip32: local "./" derivation, opposed to absolute "m/" derivation, is not available anymore - bip32: indexes\_from\_bip32\_path now returns list\[int] instead of Tuple\[list\[bytes], bool] losing the "absolute derivation" bool - bms: serialize/deserialize have been renamed encode/decode as they include the base64 (de)encoding, not jut the plain (de)serialization - Block: fixed bug in difficulty calculation - introduced first beta version of HdKeyPaths, PartialSigs, PsbtIn, PsbtOut, and Psbt data classes and their associated helper functions - refactored Diffie-Hellman and ANSI-X9.63-KDF - introduced assorted elliptic curve point multiplication algorithms - script: renamed Token as ScriptToken - script: encode/decode have been renamed as serialize/deserialize as they were not encoding at all; the previous serialize/deserialize which had varint(len()) before serialized data are not available anymore - alias: few definitions have moved in their relevant modules from which they can be imported - pytest: enforced pytest > 6 - pytest: using as many processes as the available CPU cores ### [`v2020.8.21`](https://github.com/btclib-org/btclib/blob/HEAD/HISTORY.md#v2020821) [Compare Source](https://github.com/btclib-org/btclib/compare/v2020.5.11...v2020.8.21) Major changes includes: - added BlockHeader and Block data classes - added OutPoint, TxIn, TxOut, and TX data classes - added segwit\_v0 sighash - added PsbtIn, PbstOut, and Psbt data classes for partially signed bitcoin transactions (BIP174) - moved from unitest to pytest, including revision of error messages and tests' logic </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 3am every weekday,every weekend" in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45OS4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTkuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
chore(deps): update dependency btclib to v2020.12.19
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
4bec265d2a
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/btclib-2020.x:renovate/btclib-2020.x
git switch renovate/btclib-2020.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/btclib-2020.x
git switch renovate/btclib-2020.x
git rebase master
git switch master
git merge --ff-only renovate/btclib-2020.x
git switch renovate/btclib-2020.x
git rebase master
git switch master
git merge --no-ff renovate/btclib-2020.x
git switch master
git merge --squash renovate/btclib-2020.x
git switch master
git merge --ff-only renovate/btclib-2020.x
git switch master
git merge renovate/btclib-2020.x
git push origin master
Sign in to join this conversation.
No description provided.