Method
__init__
(self, prev_tx, prev_index, script_sig=None, sequence=0xffffffff)
Source from the content-addressed store, hash-verified
| 250 | class TxIn: |
| 251 | |
| 252 | def __init__(self, prev_tx, prev_index, script_sig=None, sequence=0xffffffff): |
| 253 | self.prev_tx = prev_tx |
| 254 | self.prev_index = prev_index |
| 255 | if script_sig is None: |
| 256 | self.script_sig = Script() |
| 257 | else: |
| 258 | self.script_sig = script_sig |
| 259 | self.sequence = sequence |
| 260 | |
| 261 | def __repr__(self): |
| 262 | return '{}:{}'.format( |
Callers
nothing calls this directly
Tested by
no test coverage detected