Skip to content

Commit

Permalink
Update libsecp256k1 and python-bitcointx
Browse files Browse the repository at this point in the history
  • Loading branch information
kristapsk committed Sep 15, 2023
1 parent df7500a commit 7a8f922
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 6 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -320,13 +320,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.3.2"
secp256k1_lib_tar="v$secp256k1_version.tar.gz"
secp256k1_lib_sha="ef2e1061951b8cf94a7597b4e60fd7810613e327e25305e8d73dfdff67d12190"
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
4 changes: 3 additions & 1 deletion jmbitcoin/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@
license='GPL',
packages=['jmbitcoin'],
python_requires='>=3.7',
install_requires=['python-bitcointx==1.1.3'],
install_requires=[
'python-bitcointx @ https://github.com/Simplexum/python-bitcointx/archive/refs/heads/master.zip'
],
zip_safe=False)

0 comments on commit 7a8f922

Please sign in to comment.