Skip to content

Commit cd0c910

Browse files
committed
Use new data structures for devnet checkpointData/chainTxData
1 parent 2cdafa0 commit cd0c910

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/chainparams.cpp

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -483,13 +483,17 @@ class CDevNetParams : public CChainParams {
483483

484484
checkpointData = (CCheckpointData) {
485485
boost::assign::map_list_of
486-
( 0, uint256S("0x000008ca1832a4baf228eb1553c03d3a2c8e02399550dd6ea8d65cec3ef23d2e"))
487-
( 1, devnetGenesis.GetHash()),
488-
0,
489-
0,
490-
0
486+
( 0, uint256S("0x000008ca1832a4baf228eb1553c03d3a2c8e02399550dd6ea8d65cec3ef23d2e"))
487+
( 1, devnetGenesis.GetHash())
491488
};
492489

490+
chainTxData = ChainTxData{
491+
// Data as of block 0000024bc3f4f4cb30d29827c13d921ad77d2c6072e586c7f60d83c2722cdcc5 (height 2999)
492+
devnetGenesis.GetBlockTime(),
493+
2, // * total number of transactions between genesis and last checkpoint
494+
// (the tx=... number in the SetBestChain debug.log lines)
495+
0.01 // * estimated number of transactions per day after checkpoint
496+
};
493497
}
494498
};
495499
static CDevNetParams *devNetParams;

0 commit comments

Comments
 (0)