Skip to content

Commit fa526d8

Browse files
author
MarcoFalke
committed
Add dev doc to CCoinsStats::m_hash_type and make it const
1 parent faff051 commit fa526d8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/node/coinstats.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ enum class CoinStatsHashType {
2424
NONE,
2525
};
2626

27-
struct CCoinsStats
28-
{
29-
CoinStatsHashType m_hash_type;
27+
struct CCoinsStats {
28+
//! Which hash type to use
29+
const CoinStatsHashType m_hash_type;
30+
3031
int nHeight{0};
3132
uint256 hashBlock{};
3233
uint64_t nTransactions{0};

0 commit comments

Comments
 (0)