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

Method is_valid

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

Source from the content-addressed store, hash-verified

234 BytesSerializer.stream_serialize(self.scriptPubKey, f)
235
236 def is_valid(self):
237 if not MoneyRange(self.nValue):
238 return False
239 if not self.scriptPubKey.is_valid():
240 return False
241 return True
242
243 def __repr__(self):
244 if self.nValue >= 0:

Callers

nothing calls this directly

Calls 1

MoneyRangeFunction · 0.85

Tested by

no test coverage detected