Title: Need help to set new checkpoints Post by: Dr.Bob on February 16, 2014, 01:24:25 PM Hi all im new with altcoins,i have compile my own altcoin all running fine.
But now i want to know how to set new checkpoints,where i can get the new hash and block index? Code: static MapCheckpoints mapCheckpoints = Thanks for any help. Title: Re: Need help to set new checkpoints Post by: elbandi on February 16, 2014, 04:12:55 PM If i good remembert, run the daemon with -rescan or -checkblock=0.
this prints the blocks data to debug.log file. you can read the block id. you need to change this too: Quote static const CCheckpointData data = { &mapCheckpoints, 1383887110, // * UNIX timestamp of last checkpoint block 2179203, // * total number of transactions between genesis and last checkpoint // (the tx=... number in the SetBestChain debug.log lines) 8000.0 // * estimated number of transactions per day after checkpoint }; |