Use std::unordered_set
(hash set) instead of std::set
(tree set) in blockfilter interface, as suggested by @ryanofsky in #12254. This may result in a very minor speedup, but I haven’t measured.
This moves CSipHasher
to it’s own file crypto/siphash.h
, so that it can be used in the libbitcoin_util library without including hash.{h,cpp}
. I’m open to other suggestions on solving this issue if people would prefer to leave CSipHasher where it is.