Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jimmysong/programmingbitcoin
/ id
Method
id
code-ch08/tx.py:96–98 ·
view source on GitHub ↗
Human-readable hexadecimal of the transaction hash
(self)
Source
from the content-addressed store, hash-verified
94
)
95
96
def
id(self):
97
''
'Human-readable hexadecimal of the transaction hash'
''
98
return
self.hash().hex()
99
100
def
hash(self):
101
''
'Binary hash of the legacy serialization'
''
Callers
2
__repr__
Method · 0.95
fetch
Method · 0.45
Calls
2
hash
Method · 0.95
hex
Method · 0.45
Tested by
no test coverage detected