aboutsummaryrefslogblamecommitdiff
path: root/src/cryptonote_core/checkpoints_create.h
blob: 32d15831fec5d92b0d05c2f39913dfbcd06f1d60 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                               
         





                                                                                                 


                
// 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)
  {      
    // 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");
    return true;
  }
}