mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Add dev doc to CCoinsStats::m_hash_type and make it const
This commit is contained in:
@@ -24,9 +24,10 @@ enum class CoinStatsHashType {
|
|||||||
NONE,
|
NONE,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CCoinsStats
|
struct CCoinsStats {
|
||||||
{
|
//! Which hash type to use
|
||||||
CoinStatsHashType m_hash_type;
|
const CoinStatsHashType m_hash_type;
|
||||||
|
|
||||||
int nHeight{0};
|
int nHeight{0};
|
||||||
uint256 hashBlock{};
|
uint256 hashBlock{};
|
||||||
uint64_t nTransactions{0};
|
uint64_t nTransactions{0};
|
||||||
|
|||||||
Reference in New Issue
Block a user