CTransaction.Hash property
authorCryptoManiac <balthazar@yandex.ru>
Sat, 22 Aug 2015 21:58:50 +0000 (00:58 +0300)
committerCryptoManiac <balthazar@yandex.ru>
Sat, 22 Aug 2015 21:58:50 +0000 (00:58 +0300)
Novacoin/CTransaction.cs

index 792c426..d2e6e7b 100644 (file)
@@ -162,7 +162,17 @@ namespace Novacoin
             }
         }
 
+        /// <summary>
+        /// Transaction hash
+        /// </summary>
+        public Hash256 Hash
+        {
+            get { return Hash256.Compute256(Bytes); }
+        }
 
+        /// <summary>
+        /// A sequence of bytes, which corresponds to the current state of CTransaction.
+        /// </summary>
         public IList<byte> Bytes
         {
             get