diff options
author | Pieter Wuille <pieter@wuille.net> | 2022-01-06 11:29:08 -0500 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2022-01-06 11:29:55 -0500 |
commit | 96ecd6fa3e0f53c3a25eb7c328220b819f8dde03 (patch) | |
tree | 3506cd32d7d05afc3813915a2ec90d1bbb93318d /src/blockfilter.cpp | |
parent | c6d15c45d971fb25551b7a66a2615e3f0bee999b (diff) | |
download | bitcoin-96ecd6fa3e0f53c3a25eb7c328220b819f8dde03.tar.xz |
scripted-diff: rename MapIntoRange to FastRange64
-BEGIN VERIFY SCRIPT-
sed -i -e 's/MapIntoRange/FastRange64/' src/blockfilter.cpp src/test/fuzz/golomb_rice.cpp src/util/fastrange.h
-END VERIFY SCRIPT-
Diffstat (limited to 'src/blockfilter.cpp')
-rw-r--r-- | src/blockfilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockfilter.cpp b/src/blockfilter.cpp index 566254d839..63a9ba498f 100644 --- a/src/blockfilter.cpp +++ b/src/blockfilter.cpp @@ -29,7 +29,7 @@ uint64_t GCSFilter::HashToRange(const Element& element) const uint64_t hash = CSipHasher(m_params.m_siphash_k0, m_params.m_siphash_k1) .Write(element.data(), element.size()) .Finalize(); - return MapIntoRange(hash, m_F); + return FastRange64(hash, m_F); } std::vector<uint64_t> GCSFilter::BuildHashedSet(const ElementSet& elements) const |