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

This commit is contained in:
MarcoFalke committed 2021-12-17 10:40:03 +01:00
1 parent faff051560
commit fa526d8fb6
1 file changed
+4 -3
+4 -3
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};