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

Method __init__

bitcoin/core/__init__.py:222–224  ·  view source on GitHub ↗
(self, nValue=-1, scriptPubKey=script.CScript())

Source from the content-addressed store, hash-verified

220 __slots__ = ['nValue', 'scriptPubKey']
221
222 def __init__(self, nValue=-1, scriptPubKey=script.CScript()):
223 object.__setattr__(self, 'nValue', int(nValue))
224 object.__setattr__(self, 'scriptPubKey', scriptPubKey)
225
226 @classmethod
227 def stream_deserialize(cls, f):

Callers

nothing calls this directly

Calls 1

__setattr__Method · 0.80

Tested by

no test coverage detected