MCPcopy Index your code
hub / github.com/petertodd/python-bitcoinlib / is_null

Method is_null

bitcoin/core/__init__.py:314–317  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

312 object.__setattr__(self, 'vtxinwit', vtxinwit)
313
314 def is_null(self):
315 for n in range(len(self.vtxinwit)):
316 if not self.vtxinwit[n].is_null(): return False
317 return True
318
319 # FIXME this cannot be a @classmethod like the others because we need to
320 # know how many items to deserialize, which comes from len(vin)

Callers

nothing calls this directly

Calls 1

is_nullMethod · 0.45

Tested by

no test coverage detected