Skip to content

Commit

Permalink
Merge #1515: Update libsecp256k1 and python-bitcointx
Browse files Browse the repository at this point in the history
9410b9c Update libsecp256k1 and python-bitcointx (Kristaps Kaupe)

Pull request description:

  See Simplexum/python-bitcointx#75.

  This updates libsecp256k1 to latest v0.3.2 release and python-bitcointx to current master. Currently for testing purposes only, for merging into master we will need to wait for a new python-bitcointx release.

ACKs for top commit:
  AdamISZ:
    tACK 9410b9c
  roshii:
    tACK 9410b9c

Tree-SHA512: 4c87ed7b896445cb200deeb284ee6ef0aa52ce2bb88954d34dd8f13b76e3a0693aa8ee6f77f9172138e40dec44cff503d2168cce5092610b1a7a1d42530ea02b
  • Loading branch information
kristapsk committed Dec 10, 2023
2 parents 920a001 + 9410b9c commit e35405b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies = [

[project.optional-dependencies]
jmbitcoin = [
"python-bitcointx==1.1.3",
"python-bitcointx==1.1.4",
]
jmclient = [
"argon2_cffi==21.3.0",
Expand Down

0 comments on commit e35405b

Please sign in to comment.