Replace all hashlib ripemd160 functions.

This commit is contained in:
tecnovert committed 2023-12-16 09:38:34 +02:00
1 parent 08f0156b75
commit 0a9db22828
11 files changed
+31 -23

No files matched your search

@@ -68,9 +68,6 @@ mininode_lock = RLock()
def sha256(s):
return hashlib.new('sha256', s).digest()
def ripemd160(s):
return hashlib.new('ripemd160', s).digest()
def hash256(s):
return sha256(sha256(s))
@@ -37,10 +37,6 @@ MAX_SCRIPT_OPCODES = 201
OPCODE_NAMES = {}
def hash160(s):
return hashlib.new('ripemd160', sha256(s)).digest()
_opcode_instances = []
class CScriptOp(int):
"""A single script opcode"""