diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-11-02 11:04:27 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-12-17 10:40:03 +0100 |
commit | fa526d8fb6ab8f2678a30d4536aa9c45218f5269 (patch) | |
tree | 2fb88279c3a1aa1cc532ef9119458dfa1244ab9d /src/node | |
parent | faff051560552d4405896e01920a18f698155a56 (diff) | |
download | bitcoin-fa526d8fb6ab8f2678a30d4536aa9c45218f5269.tar.xz |
Add dev doc to CCoinsStats::m_hash_type and make it const
Diffstat (limited to 'src/node')
-rw-r--r-- | src/node/coinstats.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/node/coinstats.h b/src/node/coinstats.h index 9e9503ff5d..1d95417d4f 100644 --- a/src/node/coinstats.h +++ b/src/node/coinstats.h @@ -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}; |