Bitcoin Core
28.99.0
P2P Digital Currency
src
test
util
blockfilter.h
Go to the documentation of this file.
1
// Copyright (c) 2019 The Bitcoin Core 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 BITCOIN_TEST_UTIL_BLOCKFILTER_H
6
#define BITCOIN_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
// BITCOIN_TEST_UTIL_BLOCKFILTER_H
BlockFilterType
BlockFilterType
Definition:
blockfilter.h:93
BlockFilter
Complete block filter struct as defined in BIP 157.
Definition:
blockfilter.h:115
CBlockIndex
The block chain is a tree shaped structure starting with the genesis block at the root,...
Definition:
chain.h:141
node::BlockManager
Maintains a tree of blocks (stored in m_block_index) which is consulted to determine where the most-w...
Definition:
blockstorage.h:136
node
Definition:
messages.h:20
blockfilter.h
ComputeFilter
bool ComputeFilter(BlockFilterType filter_type, const CBlockIndex &block_index, BlockFilter &filter, const node::BlockManager &blockman)
Definition:
blockfilter.cpp:15
Generated on Wed Dec 18 2024 20:00:14 for Bitcoin Core by
1.9.4