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

Class CScriptTruncatedPushDataError

qa/rpc-tests/test_framework/script.py:613–617  ·  view source on GitHub ↗

Invalid pushdata due to truncation

Source from the content-addressed store, hash-verified

611 pass
612
613class CScriptTruncatedPushDataError(CScriptInvalidError):
614 """Invalid pushdata due to truncation"""
615 def __init__(self, msg, data):
616 self.data = data
617 super(CScriptTruncatedPushDataError, self).__init__(msg)
618
619# This is used, eg, for blockchain heights in coinbase scripts (bip34)
620class CScriptNum(object):

Callers 1

raw_iterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected