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

Class CMutableTxOut

bitcoin/core/__init__.py:263–270  ·  view source on GitHub ↗

A mutable CTxOut

Source from the content-addressed store, hash-verified

261
262@__make_mutable
263class CMutableTxOut(CTxOut):
264 """A mutable CTxOut"""
265 __slots__ = []
266
267 @classmethod
268 def from_txout(cls, txout):
269 """Create a fullly mutable copy of an existing TxOut"""
270 return cls(txout.nValue, txout.scriptPubKey)
271
272
273class CTxInWitness(ImmutableSerializable):

Callers 5

make_txoutFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected