git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Extend gettransaction RPC call result with hash of transaction metadata.
[novacoin.git]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index
0be23cc
..
f19bd87
100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-465,6
+465,11
@@
public:
return SerializeHash(*this);
}
+ uint256 GetMetaHash() const
+ {
+ return SignatureHash(CScript(), *this, 0, SIGHASH_ALL);
+ }
+
bool IsFinal(int nBlockHeight=0, int64 nBlockTime=0) const
{
// Time based nLockTime implemented in 0.1.6