aboutsummaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2013-01-10 13:16:00 -0500
committerMatt Corallo <git@bluematt.me>2013-01-16 12:48:01 -0500
commit7ab026f4493b145f2255d816864cb1a3486e0788 (patch)
tree72a9b123331434c3ac8f2cf837692f6ec3413793 /src/hash.h
parent68feac96b67b80a4fe59c4f349b58af9c77e2709 (diff)
Add MurmurHash3 implementation to hash.h/add hash.cpp.
Diffstat (limited to 'src/hash.h')
-rw-r--r--src/hash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hash.h b/src/hash.h
index bc013139bb..eaa1780c04 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -10,6 +10,7 @@
#include <openssl/sha.h>
#include <openssl/ripemd.h>
+#include <vector>
template<typename T1>
inline uint256 Hash(const T1 pbegin, const T1 pend)
@@ -113,4 +114,6 @@ inline uint160 Hash160(const std::vector<unsigned char>& vch)
return hash2;
}
+unsigned int MurmurHash3(unsigned int nHashSeed, const std::vector<unsigned char>& vDataToHash);
+
#endif