From 4ffda01dbd51e97a644746c1d8f8d45539e49a01 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 25 Mar 2018 20:35:01 +0300 Subject: [PATCH] Test --- src/checkpoints.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/checkpoints.h b/src/checkpoints.h index 49aaa66d5..3e2cebf98 100644 --- a/src/checkpoints.h +++ b/src/checkpoints.h @@ -12,6 +12,13 @@ class CBlockIndex; struct CCheckpointData; +struct CCheckpointData { + MapCheckpoints mapCheckpoints; + int64_t nTimeLastCheckpoint; + int64_t nTransactionsLastCheckpoint; + double fTransactionsPerDay; +}; + /** * Block-chain checkpoints are compiled-in sanity checks. * They are updated every release or three. @@ -21,12 +28,6 @@ namespace Checkpoints typedef std::map MapCheckpoints; -struct CCheckpointData { - MapCheckpoints mapCheckpoints; - int64_t nTimeLastCheckpoint; - int64_t nTransactionsLastCheckpoint; - double fTransactionsPerDay; -}; bool CheckBlock(const CCheckpointData& data, int nHeight, const uint256& hash);