mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
20 lines
488 B
C++
20 lines
488 B
C++
// Copyright (c) 2024 The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_INTERFACES_TYPES_H
|
|
#define BITCOIN_INTERFACES_TYPES_H
|
|
|
|
#include <uint256.h>
|
|
|
|
namespace interfaces {
|
|
|
|
//! Hash/height pair to help track and identify blocks.
|
|
struct BlockRef {
|
|
uint256 hash;
|
|
int height = -1;
|
|
};
|
|
|
|
} // namespace interfaces
|
|
|
|
#endif // BITCOIN_INTERFACES_TYPES_H
|