types.h raw
1 // Copyright (c) 2024 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_INTERFACES_TYPES_H
6 #define LIMENKA_INTERFACES_TYPES_H
7
8 #include <uint256.h>
9
10 namespace interfaces {
11
12 //! Hash/height pair to help track and identify blocks.
13 struct BlockRef {
14 uint256 hash;
15 int height = -1;
16 };
17
18 } // namespace interfaces
19
20 #endif // LIMENKA_INTERFACES_TYPES_H
21