Add dev doc to CCoinsStats::m_hash_type and make it const

This commit is contained in:
MarcoFalke
2021-11-02 11:04:27 +01:00
parent faff051560
commit fa526d8fb6

View File

@ -24,9 +24,10 @@ enum class CoinStatsHashType {
NONE,
};
struct CCoinsStats
{
CoinStatsHashType m_hash_type;
struct CCoinsStats {
//! Which hash type to use
const CoinStatsHashType m_hash_type;
int nHeight{0};
uint256 hashBlock{};
uint64_t nTransactions{0};