Bitcoin Core
28.99.0
P2P Digital Currency
src
interfaces
types.h
Go to the documentation of this file.
1
// Copyright (c) 2024 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_INTERFACES_TYPES_H
6
#define BITCOIN_INTERFACES_TYPES_H
7
8
#include <
uint256.h
>
9
10
namespace
interfaces
{
11
13
struct
BlockRef
{
14
uint256
hash
;
15
int
height
= -1;
16
};
17
18
}
// namespace interfaces
19
20
#endif
// BITCOIN_INTERFACES_TYPES_H
uint256
256-bit opaque blob.
Definition:
uint256.h:190
interfaces
Definition:
interfaces.cpp:41
interfaces::BlockRef
Hash/height pair to help track and identify blocks.
Definition:
types.h:13
interfaces::BlockRef::height
int height
Definition:
types.h:15
interfaces::BlockRef::hash
uint256 hash
Definition:
types.h:14
uint256.h
Generated on Wed Dec 18 2024 20:00:10 for Bitcoin Core by
1.9.4