Skip to content

Commit

Permalink
add checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
decentrahub committed Aug 11, 2020
1 parent 5e0b7e9 commit 70e4a3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,14 @@ static Checkpoints::MapCheckpoints mapCheckpoints =
(1253, uint256S("0x4b0f7e8e96622164d03b7e9e747f6d5bf85f9e7d3a106a0a5d4d3d04ab8d5984"))
(2689, uint256S("0xc6a751cfda2918c595770ce3a4734c37a6ffc1962485e74fd4008d4b43a8cf64"))
(5703, uint256S("0x5467c13ab07867ef6b0f0b43a36fa150904e183da64c0ba415305879bd5d531b"))
(9843, uint256S("0xfa3aeec6d30be012243b700dffaf3a856cb0f52b03ebc4b6a4aec6b4cee0a128"))
(15687, uint256S("0x9b6b003cda72cb768d09180231f1f75aba360ab6edf85d06fce8ef9d6f9eb751"))
;

static const Checkpoints::CCheckpointData data = {
&mapCheckpoints,
1596525210, // * UNIX timestamp of last checkpoint block
11416, // * total number of transactions between genesis and last checkpoint
1597137675, // * UNIX timestamp of last checkpoint block
31558, // * total number of transactions between genesis and last checkpoint
// (the tx=... number in the SetBestChain debug.log lines)
1400 // * estimated number of transactions per day after checkpoint
};
Expand Down
2 changes: 1 addition & 1 deletion src/leveldb/util/crc32c.cc
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ static const uint32_t table2_[256] = {
0xff34be1c, 0x5a752c62, 0xb05bec11, 0x151a7e6f,
0x61ea1a06, 0xc4ab8878, 0x2e85480b, 0x8bc4da75,
0xb7c7fd53, 0x12866f2d, 0xf8a8af5e, 0x5de93d20,
0x21205949, 0x8c58cb37, 0x66760b44, 0xc337993a,
0x29195949, 0x8c58cb37, 0x66760b44, 0xc337993a,
0x8f96c396, 0x2ad751e8, 0xc0f9919b, 0x65b803e5,
0x1148678c, 0xb409f5f2, 0x5e273581, 0xfb66a7ff,
0x26217bcd, 0x8360e9b3, 0x694e29c0, 0xcc0fbbbe,
Expand Down

0 comments on commit 70e4a3c

Please sign in to comment.