Skip to content

Commit

Permalink
add checkpoint & chainwork
Browse files Browse the repository at this point in the history
  • Loading branch information
bobpepers committed Aug 14, 2018
1 parent 1b1b6d8 commit eb53090
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/chainparams.cpp
Expand Up @@ -152,7 +152,7 @@ class CMainParams : public CChainParams {
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].nTimeout = 999999999999ULL;

// The best chain should have at least this much work.
consensus.nMinimumChainWork = uint256S("0x00000000000000000000000000000000000000000000000000ccdd6352dd6462"); // runebase
consensus.nMinimumChainWork = uint256S("0x0000000000000000000000000000000000000000000000005725c66dbc277bc6"); // runebase

// By default assume that the signatures in ancestors of this block are valid.
consensus.defaultAssumeValid = uint256S("0x651109c0bd2e93ea44d3167ccb7bfeac71fc9d7c6a71c848c7b9ed9f22153a33"); //10000
Expand Down Expand Up @@ -202,13 +202,14 @@ class CMainParams : public CChainParams {
{ 0, uint256S("0x0000c5edbe6f9c21b0c77e568b8339dc5e8ffdf78fe14fd3b1a2ea51c7f710fd")},
{ 2000, uint256S("0x000078083638b47e82675d657be9a31f7d36119186fb14bfee72fe3e6d78d488")}, //END POW
{ 2583, uint256S("0x371e278ce135b6a63a0b10ba73c0a54b4745e5b95118362a75d77313095f1ce6")},
{ 21000, uint256S("0xea8336433fbd537144c2f7a7079829d624c3515f91220de186c02ff9dddd2366")},
}
};

chainTxData = ChainTxData{
// Data as of block a1bab8db27f26952ce94fff6563931943554e36fc3a23f99cc8513270d685b2c (height 92662)
1531765376, // * UNIX timestamp of last known number of transactions
4456, // * total number of transactions between genesis and that timestamp
1534230928, // * UNIX timestamp of last known number of transactions
41295, // * total number of transactions between genesis and that timestamp
// (the tx=... number in the SetBestChain debug.log lines)
0.125 // * estimated number of transactions per second after that timestamp
};
Expand Down

0 comments on commit eb53090

Please sign in to comment.