MCPcopy
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_nullMethod · 0.45
is_nullMethod · 0.45
stream_serializeMethod · 0.45
is_coinbaseMethod · 0.45
has_witnessMethod · 0.45
calc_weightMethod · 0.45
CheckTransactionFunction · 0.45
test_is_nullMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_is_nullMethod · 0.36