A mutable CTxOut
| 261 | |
| 262 | @__make_mutable |
| 263 | class 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 | |
| 273 | class CTxInWitness(ImmutableSerializable): |
no outgoing calls
no test coverage detected