blockfilter.h raw
1 // Copyright (c) 2019 The Limenka developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5 #ifndef LIMENKA_TEST_UTIL_BLOCKFILTER_H
6 #define LIMENKA_TEST_UTIL_BLOCKFILTER_H
7
8 #include <blockfilter.h>
9
10 class CBlockIndex;
11 namespace node {
12 class BlockManager;
13 }
14
15 bool ComputeFilter(BlockFilterType filter_type, const CBlockIndex& block_index, BlockFilter& filter, const node::BlockManager& blockman);
16
17 #endif // LIMENKA_TEST_UTIL_BLOCKFILTER_H
18