Skip to content

Commit

Permalink
Add checkpoints for improved security and faster sync
Browse files Browse the repository at this point in the history
  • Loading branch information
mnzone-dev committed Jun 24, 2018
1 parent f0b7ddd commit 722fb98
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,16 @@ static void convertSeed6(std::vector<CAddress>& vSeedsOut, const SeedSpec6* data
// + Contains no strange transactions
static Checkpoints::MapCheckpoints mapCheckpoints =
boost::assign::map_list_of
(0, uint256("0x000007d87c5c9a214365124b0109599ca2640d6b1b3a86ebe855b310f49cebc0"));
( 0, uint256("000007d87c5c9a214365124b0109599ca2640d6b1b3a86ebe855b310f49cebc0"))
( 20000, uint256("649f7d85aa7670cc4978f8b712f25d4063a984d0dd5ed165fc46f75d542cec4e"))
( 40000, uint256("8ea815b75a8303fdd2a61202a4782313803de5c999fe74140aae45fe8e5143ea"));

static const Checkpoints::CCheckpointData data = {
&mapCheckpoints,
1514540176, // * UNIX timestamp of last checkpoint block
0, // * total number of transactions between genesis and last checkpoint
1529839927, // * UNIX timestamp of last checkpoint block
95164, // * total number of transactions between genesis and last checkpoint
// (the tx=... number in the SetBestChain debug.log lines)
2000 // * estimated number of transactions per day after checkpoint
3425 // * estimated number of transactions per day after checkpoint
};

static Checkpoints::MapCheckpoints mapCheckpointsTestnet =
Expand Down

0 comments on commit 722fb98

Please sign in to comment.