Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BTCGPU/BTCGPU
/ hash160
Function
hash160
test/functional/test_framework/script.py:22–23 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
20
OPCODE_NAMES = {}
21
22
def
hash160(s):
23
return
hashlib.new(
'ripemd160'
, sha256(s)).digest()
24
25
26
_opcode_instances = []
Callers
15
run_test
Method · 0.90
run_test
Method · 0.90
p2sh_address_to_script
Method · 0.90
p2pkh_address_to_script
Method · 0.90
test_v0_outputs_arent_spendable
Method · 0.90
test_standardness_v0
Method · 0.90
test_p2sh_witness
Method · 0.90
test_tx_relay_after_segwit_activation
Method · 0.90
test_uncompressed_pubkey
Method · 0.90
test_signature_version_1
Method · 0.90
test_non_standard_witness_blinding
Method · 0.90
test_non_standard_witness
Method · 0.90
Calls
1
sha256
Function · 0.85
Tested by
8
test_v0_outputs_arent_spendable
Method · 0.72
test_standardness_v0
Method · 0.72
test_p2sh_witness
Method · 0.72
test_tx_relay_after_segwit_activation
Method · 0.72
test_uncompressed_pubkey
Method · 0.72
test_signature_version_1
Method · 0.72
test_non_standard_witness_blinding
Method · 0.72
test_non_standard_witness
Method · 0.72