git://git.novaco.in
/
NovacoinLibrary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a712c1a
)
CTransaction.Hash property
author
CryptoManiac
<balthazar@yandex.ru>
Sat, 22 Aug 2015 21:58:50 +0000 (
00:58
+0300)
committer
CryptoManiac
<balthazar@yandex.ru>
Sat, 22 Aug 2015 21:58:50 +0000 (
00:58
+0300)
Novacoin/CTransaction.cs
patch
|
blob
|
history
diff --git
a/Novacoin/CTransaction.cs
b/Novacoin/CTransaction.cs
index
792c426
..
d2e6e7b
100644
(file)
--- a/
Novacoin/CTransaction.cs
+++ b/
Novacoin/CTransaction.cs
@@
-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