MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / CScriptTruncatedPushDataError

Class CScriptTruncatedPushDataError

test/functional/test_framework/script.py:358–362  ·  view source on GitHub ↗

Invalid pushdata due to truncation

Source from the content-addressed store, hash-verified

356 pass
357
358class CScriptTruncatedPushDataError(CScriptInvalidError):
359 """Invalid pushdata due to truncation"""
360 def __init__(self, msg, data):
361 self.data = data
362 super(CScriptTruncatedPushDataError, self).__init__(msg)
363
364# This is used, eg, for blockchain heights in coinbase scripts (bip34)
365class CScriptNum():

Callers 1

raw_iterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected