2014-03-03 22:07:58 +00: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 16:19:43 +00:00
|
|
|
{
|
2014-05-08 15:12:54 +00: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-03 22:07:58 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|