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
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

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};