mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-30 18:35:54 +02:00
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>
This commit is contained in:
@@ -54,7 +54,7 @@ struct AssumeutxoData {
|
||||
//!
|
||||
//! We need to hardcode the value here because this is computed cumulatively using block data,
|
||||
//! which we do not necessarily have at the time of snapshot load.
|
||||
unsigned int nChainTx;
|
||||
uint64_t nChainTx;
|
||||
|
||||
//! The hash of the base block for this snapshot. Used to refer to assumeutxo data
|
||||
//! prior to having a loaded blockindex.
|
||||
@@ -69,7 +69,7 @@ struct AssumeutxoData {
|
||||
*/
|
||||
struct ChainTxData {
|
||||
int64_t nTime; //!< UNIX timestamp of last known number of transactions
|
||||
int64_t nTxCount; //!< total number of transactions between genesis and that timestamp
|
||||
uint64_t nTxCount; //!< total number of transactions between genesis and that timestamp
|
||||
double dTxRate; //!< estimated number of transactions per second after that timestamp
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user