Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/petertodd/python-bitcoinlib
/ is_null
Method
is_null
bitcoin/core/__init__.py:110–111 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
108
f.write(struct.pack(b
"<I"
, self.n))
109
110
def
is_null(self):
111
return
((self.hash == b
'\x00'
*32) and (self.n == 0xffffffff))
112
113
def
__repr__(self):
114
if
self.is_null():
Callers
9
__repr__
Method · 0.95
is_null
Method · 0.45
is_null
Method · 0.45
stream_serialize
Method · 0.45
is_coinbase
Method · 0.45
has_witness
Method · 0.45
calc_weight
Method · 0.45
CheckTransaction
Function · 0.45
test_is_null
Method · 0.45
Calls
no outgoing calls
Tested by
1
test_is_null
Method · 0.36