aboutsummaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2017-04-25 11:29:16 -0700
committerPieter Wuille <[email protected]>2017-05-26 13:24:25 -0700
commit7e0032290669fae5f52c256856c53038511c7db4 (patch)
tree99c8556e0817c0edb36d86cc3196073407539ae5 /src/hash.h
parentIntroduce CHashVerifier to hash read data (diff)
downloaddiscoin-7e0032290669fae5f52c256856c53038511c7db4.tar.xz
discoin-7e0032290669fae5f52c256856c53038511c7db4.zip
Add specialization of SipHash for 256 + 32 bit data
We'll need a version of SipHash for tuples of 256 bits and 32 bits data, when CCoinsViewCache switches from using txids to COutPoints as keys.
Diffstat (limited to 'src/hash.h')
-rw-r--r--src/hash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hash.h b/src/hash.h
index b8de19c0f..b9952d39f 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -241,5 +241,6 @@ public:
* .Finalize()
*/
uint64_t SipHashUint256(uint64_t k0, uint64_t k1, const uint256& val);
+uint64_t SipHashUint256Extra(uint64_t k0, uint64_t k1, const uint256& val, uint32_t extra);
#endif // BITCOIN_HASH_H