protected override void Deserialize(Stream stream) { Source = new TransactionOutpoint(stream); Script = new Script(stream); SequenceNumber = ReadUInt32(stream); Freeze(); }
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; }