Bitcoin Core  29.1.0
P2P Digital Currency
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 {
15  int height = -1;
16 };
17 
18 } // namespace interfaces
19 
20 #endif // BITCOIN_INTERFACES_TYPES_H
Hash/height pair to help track and identify blocks.
Definition: types.h:13
256-bit opaque blob.
Definition: uint256.h:201
uint256 hash
Definition: types.h:14