| 458 | } |
| 459 | |
| 460 | void ForEachBlockFilterIndex(std::function<void (BlockFilterIndex&)> fn) |
| 461 | { |
| 462 | for (auto& entry : g_filter_indexes) fn(entry.second); |
| 463 | } |
| 464 | |
| 465 | bool InitBlockFilterIndex(BlockFilterType filter_type, |
| 466 | size_t n_cache_size, bool f_memory, bool f_wipe) |