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

Class CScriptTruncatedPushDataError

test/functional/test_framework/script.py:381–385  ·  view source on GitHub ↗

Invalid pushdata due to truncation

Source from the content-addressed store, hash-verified

379 pass
380
381class CScriptTruncatedPushDataError(CScriptInvalidError):
382 """Invalid pushdata due to truncation"""
383 def __init__(self, msg, data):
384 self.data = data
385 super().__init__(msg)
386
387
388# This is used, eg, for blockchain heights in coinbase scripts (bip34)

Callers 1

raw_iterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected