monero/src/cryptonote_core/checkpoints_create.h

24 lines
915 B
C
Raw Normal View History

2014-03-04 00:07:58 +02:00
// Copyright (c) 2012-2013 The Cryptonote developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include "checkpoints.h"
#include "misc_log_ex.h"
#define ADD_CHECKPOINT(h, hash) CHECK_AND_ASSERT(checkpoints.add_checkpoint(h, hash), false);
namespace cryptonote {
inline bool create_checkpoints(cryptonote::checkpoints& checkpoints)
2014-05-03 19:19:43 +03:00
{
// Checkpointing disabled until we can make the client not fast-sync
// without checking PoW at some point. Otherwise we may be exposed
// to blockchain corruption attacks. Need to investigate this further.
// 8-5-14
// ADD_CHECKPOINT(22231, "7cb10e29d67e1c069e6e11b17d30b809724255fee2f6868dc14cfc6ed44dfb25");
// ADD_CHECKPOINT(29556, "53c484a8ed91e4da621bb2fa88106dbde426fe90d7ef07b9c1e5127fb6f3a7f6");
2014-03-04 00:07:58 +02:00
return true;
}
}