Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ SegwitV0SignatureHash
Function
SegwitV0SignatureHash
test/functional/test_framework/script.py:885–886 ·
view source on GitHub ↗
(*args, **kwargs)
Source
from the content-addressed store, hash-verified
883
return
ss
884
885
def
SegwitV0SignatureHash(*args, **kwargs):
886
return
hash256(SegwitV0SignatureMsg(*args, **kwargs))
887
888
class
TestFrameworkScript(unittest.TestCase):
889
def
test_bn2vch(self):
Callers
4
sign_p2pk_witness_input
Function · 0.90
test_uncompressed_pubkey
Method · 0.90
test_signature_version_1
Method · 0.90
prepare_tx_signed_with_sighash
Method · 0.90
Calls
2
SegwitV0SignatureMsg
Function · 0.85
hash256
Function · 0.70
Tested by
2
test_uncompressed_pubkey
Method · 0.72
test_signature_version_1
Method · 0.72