Exemplo n.º 1
0
        protected override void Deserialize(Stream stream)
        {
            Source         = new TransactionOutpoint(stream);
            Script         = new Script(stream);
            SequenceNumber = ReadUInt32(stream);

            Freeze();
        }
Exemplo n.º 2
0
        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;
        }