Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: quadrillaume on February 09, 2014, 10:32:44 AM



Title: Updating wallet checkpoints
Post by: quadrillaume on February 09, 2014, 10:32:44 AM
Hello guys, i'm trying to update my client , i edited the checkpoint.cpp file with the block number and the hash, i also changed the version.cpp. I also wanted to change the difficulty retarget time. The compilation of the new QT, and the daemon version was done but when i'm trying to launch and to sync the client with the node, it crashes.

To update a client (i decided to change the difficulty retarget time), i added a checkpoint, is there another thing to do ?

Code:
   static MapCheckpoints mapCheckpoints =
        boost::assign::map_list_of // Yo dawg, this is the secret. Checkpoint 0 hash == Genesis block hash.
        (         0, uint256("0x68f6283d61e7f8b6ae0965d8873743197c72e5f54a447c9977d714cfa45b5d9c"))
        (       15350, uint256("0x03d3fcdb7fb61543dad51002f15d689d88dd5f1debb8cc4c176a9e7adebe1f57"))
 ;


Did i forget something for the update ?


Thank you