diff options
author | Jim Posen <jimpo@coinbase.com> | 2018-01-23 16:33:26 -0800 |
---|---|---|
committer | Jim Posen <jim.posen@gmail.com> | 2018-08-25 10:02:37 -0700 |
commit | 558c536e35a25594881693e6ff01d275c88d7af1 (patch) | |
tree | 37e7fd3ee010219eee6f2206efd4c58843b5ed0d /src/blockfilter.h | |
parent | cf70b550054eed36f194eaa13f4a9cb31e32df38 (diff) | |
download | bitcoin-558c536e35a25594881693e6ff01d275c88d7af1.tar.xz |
blockfilter: Implement GCSFilter Match methods.
Diffstat (limited to 'src/blockfilter.h')
-rw-r--r-- | src/blockfilter.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blockfilter.h b/src/blockfilter.h index 7809e6875a..d45d31046f 100644 --- a/src/blockfilter.h +++ b/src/blockfilter.h @@ -36,6 +36,9 @@ private: std::vector<uint64_t> BuildHashedSet(const ElementSet& elements) const; + /** Helper method used to implement Match and MatchAny */ + bool MatchInternal(const uint64_t* sorted_element_hashes, size_t size) const; + public: /** Constructs an empty filter. */ |