You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

checkpoints.h 661B

123456789101112131415161718192021222324252627
  1. // Copyright (c) 2009-2016 The Starwels developers
  2. // Distributed under the MIT software license, see the accompanying
  3. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
  4. #ifndef STARWELS_CHECKPOINTS_H
  5. #define STARWELS_CHECKPOINTS_H
  6. #include "uint256.h"
  7. #include <map>
  8. class CBlockIndex;
  9. struct CCheckpointData;
  10. /**
  11. * Block-chain checkpoints are compiled-in sanity checks.
  12. * They are updated every release or three.
  13. */
  14. namespace Checkpoints
  15. {
  16. //! Returns last CBlockIndex* in mapBlockIndex that is a checkpoint
  17. CBlockIndex* GetLastCheckpoint(const CCheckpointData& data);
  18. } //namespace Checkpoints
  19. #endif // STARWELS_CHECKPOINTS_H