diff options
| author | Pieter Wuille <[email protected]> | 2016-05-06 20:47:12 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-05-17 20:04:46 +0200 |
| commit | 382c871d28b95cc52309a128edd8dc23822bcd60 (patch) | |
| tree | b1a769dd5188ad4785e73006941b4f20d5fdc82f /src/uint256.h | |
| parent | Add SipHash-2-4 primitives to hash (diff) | |
| download | discoin-382c871d28b95cc52309a128edd8dc23822bcd60.tar.xz discoin-382c871d28b95cc52309a128edd8dc23822bcd60.zip | |
Use SipHash-2-4 for CCoinsCache index
This is ~1.7x slower than the Lookup3-of-Xor-with-salt construct we were
using before, but it is a primitive designed for exactly this.
Diffstat (limited to 'src/uint256.h')
| -rw-r--r-- | src/uint256.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/uint256.h b/src/uint256.h index af1f3ab7d..dd8432d74 100644 --- a/src/uint256.h +++ b/src/uint256.h @@ -140,11 +140,6 @@ public: { return ReadLE64(data); } - - /** A more secure, salted hash function. - * @note This hash is not stable between little and big endian. - */ - uint64_t GetHash(const uint256& salt) const; }; /* uint256 from const char *. |