Bitcoin Core
24.1.0
P2P Digital Currency
src
kernel
chain.h
Go to the documentation of this file.
1
// Copyright (c) 2022 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_KERNEL_CHAIN_H
6
#define BITCOIN_KERNEL_CHAIN_H
7
8
class
CBlock
;
9
class
CBlockIndex
;
10
namespace
interfaces
{
11
struct
BlockInfo;
12
}
// namespace interfaces
13
14
namespace
kernel
{
16
interfaces::BlockInfo
MakeBlockInfo
(
const
CBlockIndex
* block_index,
const
CBlock
* data =
nullptr
);
17
}
// namespace kernel
18
19
#endif // BITCOIN_KERNEL_CHAIN_H
CBlock
Definition:
block.h:68
kernel
Definition:
coinstatsindex.h:13
interfaces::BlockInfo
Block data sent with blockConnected, blockDisconnected notifications.
Definition:
chain.h:81
interfaces
Definition:
dummywallet.cpp:10
CBlockIndex
The block chain is a tree shaped structure starting with the genesis block at the root...
Definition:
chain.h:151
kernel::MakeBlockInfo
interfaces::BlockInfo MakeBlockInfo(const CBlockIndex *index, const CBlock *data)
Return data from block index.
Definition:
chain.cpp:13
Generated on Tue May 16 2023 12:00:00 for Bitcoin Core by
1.8.14