Author

Topic: Need help to set new checkpoints (Read 560 times)

hero member
Activity: 525
Merit: 531
February 16, 2014, 11:12:55 AM
#2
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
    };
sr. member
Activity: 306
Merit: 250
February 16, 2014, 08:24:25 AM
#1
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 =
        boost::assign::map_list_of // Yo dawg, this is the secret. Checkpoint 0 hash == Genesis block hash.
        (         0, uint256("0x66647a017469253458fe0c727b7f324376a8d638e6c4355ac9b306913fefe80")),
                  ?, uint256("0x???????????????????????????????????????????????????????????????????????"))
        ;

Thanks for any help.
Jump to: