You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge petertodd#277: Add fallback to pure-python ripemd160
3a5ec11 remove openssl fallback for ripemd160, always use pure-python implementation (windsok)
27fa0e8 Add fallback to pure-python ripemd160 (windsok)
Pull request description:
Newer versions of OpenSSL have removed support for `ripemd160` by default which results in an `ValueError: unsupported hash type ripemd160` exception being raised any time the `Hash160` function is used within `python-bitcoinlib`.
See bitcoin/bitcoin#23710 for further details of the issue.
This PR adds a fallback to a pure-python implementation of ripemd160. The code is taken from bitcoin/bitcoin#23716, and the implementation here is based on diybitcoinhardware/embit@2e293b0
Top commit has no ACKs.
Tree-SHA512: f4cdbc413e262d6c9dd1692b57743c57e217f90dbf7c3ce699a8f1dfacb86ba422d7990098e623a37b2512b307800aac7ee7614d8e31e568c769899730089da8
0 commit comments