aboutsummaryrefslogtreecommitdiff
path: root/src/chain.h
diff options
context:
space:
mode:
authorFabian Jahr <fjahr@protonmail.com>2024-03-14 22:14:44 +0100
committerFabian Jahr <fjahr@protonmail.com>2024-08-04 12:12:38 +0200
commitdc2938e9799d79696d1db2438ef33d90542d984b (patch)
tree0503f794e8118e6bde606d919b045972130cef05 /src/chain.h
parent2aff9a36c352640a263e8b5de469710f7e80eb54 (diff)
chainparams: Change nChainTx to uint64_t
Also update types of assumeutxo chainparams and some related local variables for consistency. Co-authored-by: russeree <reese.russell@ymail.com>
Diffstat (limited to 'src/chain.h')
-rw-r--r--src/chain.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/chain.h b/src/chain.h
index e8a8c066c8..101162f07c 100644
--- a/src/chain.h
+++ b/src/chain.h
@@ -173,8 +173,7 @@ public:
//! This value will be non-zero if this block and all previous blocks back
//! to the genesis block or an assumeutxo snapshot block have reached the
//! VALID_TRANSACTIONS level.
- //! Change to 64-bit type before 2024 (assuming worst case of 60 byte transactions).
- unsigned int nChainTx{0};
+ uint64_t nChainTx{0};
//! Verification status of this block. See enum BlockStatus
//!