1
0
Fork 0
forked from lthn/blockchain
blockchain/src/currency_core/checkpoints_create.h

33 lines
1.1 KiB
C
Raw Normal View History

2018-12-27 18:50:45 +03:00
// Copyright (c) 2014-2018 Zano Project
// Copyright (c) 2014-2018 The Louisdor Project
// 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"
2020-02-19 19:26:40 +03:00
#define ADD_CHECKPOINT(h, hash) CHECK_AND_ASSERT(checkpoints.add_checkpoint(h, hash), false)
namespace currency
{
2018-12-27 18:50:45 +03:00
inline bool create_checkpoints(currency::checkpoints& checkpoints)
{
2020-02-19 19:26:40 +03:00
#ifdef TESTNET
2021-03-22 21:13:19 +03:00
// ADD_CHECKPOINT(50000, "cb05a7bdc7f78c5cdb6ef1048f85b27c569f44879233903ce5f5a4e5bd590a3d");
2020-02-19 19:26:40 +03:00
#else
// MAINNET
2020-03-04 21:19:45 +01:00
ADD_CHECKPOINT(425000, "46a6c36d5dec2d484d5e4845a8525ca322aafc06915ed9c8da2a241b51b7d1e8");
ADD_CHECKPOINT(525000, "8c1ac57e67448130207a224b2d6e33ccdc64d6dd1c59dbcf9ad2361dc0d07d51");
2020-07-02 16:02:13 +03:00
ADD_CHECKPOINT(600000, "d9fe316086e1aaea07d94082973ec764eff5fc5a05ed6e1eca273cee59daeeb4");
ADD_CHECKPOINT(900000, "2205b73cd79d4937b087b02a8b001171b73c34464bc4a952834eaf7c2bd63e86");
2020-02-19 19:26:40 +03:00
#endif
2018-12-27 18:50:45 +03:00
return true;
}
2020-02-19 19:26:40 +03:00
} // namespace currency