take empty list of known hashes into account