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