diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2017-01-04 07:31:56 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2017-01-04 13:18:49 -0800 |
commit | 3641141c8f9bdc68fcc0792ce8842a8e33ea7320 (patch) | |
tree | defc323ff6b727e8b50bbe944b4671119fea30f2 /src/chainparams.h | |
parent | a4bac66cca62a5514579a15d198f3baa80683172 (diff) |
Move tx estimation data out of CCheckPointData
Diffstat (limited to 'src/chainparams.h')
-rw-r--r-- | src/chainparams.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/chainparams.h b/src/chainparams.h index 381bac12f9..8dbde9fc24 100644 --- a/src/chainparams.h +++ b/src/chainparams.h @@ -28,6 +28,9 @@ typedef std::map<int, uint256> MapCheckpoints; struct CCheckpointData { MapCheckpoints mapCheckpoints; +}; + +struct ChainTxData { int64_t nTimeLastCheckpoint; int64_t nTransactionsLastCheckpoint; double fTransactionsPerDay; @@ -73,6 +76,7 @@ public: const std::vector<unsigned char>& Base58Prefix(Base58Type type) const { return base58Prefixes[type]; } const std::vector<SeedSpec6>& FixedSeeds() const { return vFixedSeeds; } const CCheckpointData& Checkpoints() const { return checkpointData; } + const ChainTxData& TxData() const { return chainTxData; } protected: CChainParams() {} @@ -90,6 +94,7 @@ protected: bool fRequireStandard; bool fMineBlocksOnDemand; CCheckpointData checkpointData; + ChainTxData chainTxData; }; /** |