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

Method from_txin

bitcoin/core/__init__.py:208–211  ·  view source on GitHub ↗

Create a fully mutable copy of an existing TxIn

(cls, txin)

Source from the content-addressed store, hash-verified

206
207 @classmethod
208 def from_txin(cls, txin):
209 """Create a fully mutable copy of an existing TxIn"""
210 prevout = CMutableOutPoint.from_outpoint(txin.prevout)
211 return cls(prevout, txin.scriptSig, txin.nSequence)
212
213
214class CTxOut(ImmutableSerializable):

Callers

nothing calls this directly

Calls 1

from_outpointMethod · 0.45

Tested by

no test coverage detected