public TransactionOutput(TransactionOutput txOut, bool thawChildren) { ContractsCommon.NotNull(txOut, "txOut"); ContractsCommon.ChildThawed(Script, thawChildren); _value = txOut._value; _script = FreezableExtensions.ThawChild(txOut._script, thawChildren); }
public TransactionInput(TransactionInput txIn, bool thawChildren) { ContractsCommon.NotNull(txIn, "txIn"); ContractsCommon.ChildThawed(Source, thawChildren); ContractsCommon.ChildThawed(Script, thawChildren); _source = FreezableExtensions.ThawChild(txIn._source, thawChildren); _script = FreezableExtensions.ThawChild(txIn._script, thawChildren); _sequenceNumber = txIn._sequenceNumber; }