Skip to content

Commit

Permalink
redeclare nChainTx to use uint64_t
Browse files Browse the repository at this point in the history
remove 2024 note
  • Loading branch information
russeree committed Jan 26, 2024
1 parent fa2bcf6 commit 10d4aa8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/chain.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,12 @@ class CBlockIndex

//! (memory only) Number of transactions in the chain up to and including this block.
//! This value will be non-zero only if and only if transactions for this block and all its parents are available.
//! Change to 64-bit type before 2024 (assuming worst case of 60 byte transactions).
//!
//! Note: this value is faked during use of a UTXO snapshot because we don't
//! have the underlying block data available during snapshot load.
//! @sa AssumeutxoData
//! @sa ActivateSnapshot
unsigned int nChainTx{0};
unsigned long long nChainTx{0};

//! Verification status of this block. See enum BlockStatus
//!
Expand Down

0 comments on commit 10d4aa8

Please sign in to comment.