Beispiel #1
0
        item.hashCheckPoint = hashCheckPoint;
        item.nTime = nTime;

        return item;
    }

    //
    // What makes a good checkpoint block?
    // + Is surrounded by blocks with reasonable timestamps
    //   (no blocks before with a timestamp after, none after with
    //    timestamp before)
    // + Contains no strange transactions
    //
    static MapCheckpoints mapCheckpoints =
        boost::assign::map_list_of
        ( 0, initCheckpoint(hashGenesisBlock, 1386695449) )
        (14500, initCheckpoint(uint256("0x0000000dca006b6ddd1faff9606bd6f5d80bdfc4a872e8375fe3e941aad30e74"), 1388554748) )     
        (77500, initCheckpoint(uint256("0x0000000a792af4c7c8cd7535b9f2bd2a366c8bb7ef9582b90acedb0e0cba6269"), 1392475713) )
        (149825, initCheckpoint(uint256("0x00000034d18a80debe54b395ac5069571d1c7fc325c7e372c519aaa5c1f4380f"), 1397134677) )
        (202455, initCheckpoint(uint256("0x000000203848eb8eaf35dcf33aefa35b8668dc0ca98882fc47a466835d59a5a9"), 1402005827) )
     ;



    // TestNet has no checkpoints
    static MapCheckpoints mapCheckpointsTestnet =
        boost::assign::map_list_of
        ( 0, initCheckpoint(hashGenesisBlockTestNet, 1360105017) )
        ;

    bool CheckHardened(int nHeight, const uint256& hash)
Beispiel #2
0
    Checkpoint initCheckpoint(uint256 hashCheckPoint, unsigned int nTime)
    {
        return (struct Checkpoint){hashCheckPoint, nTime};
    }

    //
    // What makes a good checkpoint block?
    // + Is surrounded by blocks with reasonable timestamps
    //   (no blocks before with a timestamp after, none after with
    //    timestamp before)
    // + Contains no strange transactions
    //
    static MapCheckpoints mapCheckpoints =
        boost::assign::map_list_of
        (     0, initCheckpoint(hashGenesisBlock, 1386399123) )
        ( 10001, initCheckpoint(uint256("0x000000010e60f3e2fcac1ed5ec9bc59bb453e98375f63c13fb635960f0c83ec1"), 1386744728) )
        ( 30001, initCheckpoint(uint256("0x000000002fb0103aefd831bfc04e5faa0046a8f858c673b25cde2e303cb7f1f3"), 1387361751) )
        ( 50001, initCheckpoint(uint256("0x0000000060a6f49e5a54578b8b4e366cb67b67ff2404eaece9b8a8139d7be965"), 1388190323) )
        ( 70001, initCheckpoint(uint256("0x000000011915ab590fe4b85cb6657c58786eb31ebc674a8aa5eb6dce1382c779"), 1388804983) )
        (100001, initCheckpoint(uint256("0x3289eccbec732b0b0ba6cd29057ca18cc566598f29ca9eea36dbc385042c22bb"), 1389711065) )
        (110501, initCheckpoint(uint256("0x4b3dbc18478245e9d9c3a32645c52d18c014ae2b81588091975e362dd1f4810a"), 1389988261) )
        (750001, initCheckpoint(uint256("0x12f0929ccfb90dcdeb873560cd4cd21162dfb199e8dac3059cc2b7b001af1783"), 1403527121) )
        ;

    // TestNet has no checkpoints
    static MapCheckpoints mapCheckpointsTestnet =
        boost::assign::map_list_of
        ( 0, initCheckpoint(hashGenesisBlockTestNet, 1386399123) )
        ;