Esempio n. 1
0
 /// <summary>Populates stream with items that will be used during hash calculation.</summary>
 protected override void ReadWriteHashingStream(BitcoinStream stream)
 {
     base.ReadWriteHashingStream(stream);
     if (this.HasSmartContractFields)
     {
         stream.ReadWrite(ref this.hashStateRoot);
         stream.ReadWrite(ref this.receiptRoot);
         stream.ReadWriteCompressed(ref this.logsBloom);
     }
 }