From 9410b9cbfa37645923ceae95db81b359ba24e2f2 Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Sat, 29 Jul 2023 11:50:15 +0300 Subject: [PATCH] Update libsecp256k1 and python-bitcointx --- install.sh | 11 ++++++----- pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index da6897649..246eb6a51 100755 --- a/install.sh +++ b/install.sh @@ -325,13 +325,14 @@ libsecp256k1_build() libsecp256k1_install() { - secp256k1_lib_tar='490022745164b56439688b0fc04f9bd43578e5c3' - secp256k1_lib_sha="4c87e32bff6815fb632a0ffd5bc89f2f7dfce11bd8501f1c779cf1e8e354c3c9" - secp256k1_lib_url='https://github.com/bitcoin-core/secp256k1/archive' - if ! dep_get "${secp256k1_lib_tar}.tar.gz" "${secp256k1_lib_sha}" "${secp256k1_lib_url}"; then + secp256k1_version="0.4.0" + secp256k1_lib_tar="v$secp256k1_version.tar.gz" + secp256k1_lib_sha="d7c956606e7f52b7703fd2967cb31d2e21ec90c0b440ff1cc7c7d764a4092b98" + secp256k1_lib_url='https://github.com/bitcoin-core/secp256k1/archive/refs/tags' + if ! dep_get "${secp256k1_lib_tar}" "${secp256k1_lib_sha}" "${secp256k1_lib_url}"; then return 1 fi - pushd "secp256k1-${secp256k1_lib_tar}" || return 1 + pushd "secp256k1-$secp256k1_version" || return 1 if libsecp256k1_build; then $make install else diff --git a/pyproject.toml b/pyproject.toml index e83cfc02d..bd536138f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ dependencies = [ [project.optional-dependencies] jmbitcoin = [ - "python-bitcointx==1.1.3", + "python-bitcointx==1.1.4", ] jmclient = [ "argon2_cffi==21.3.0",