src/main.cpp
// get proof of work blocks max spacing according to hard-coded conditions
get proof of work blocks max spacing according to hard-coded conditions
get proof of work blocks max spacing according to hard - coded conditions
int64_t inline GetTargetSpacingWorkMax(int nHeight, unsigned int nTime)
{
    if(nTime > TARGETS_SWITCH_TIME)
        return 3 * nStakeTargetSpacing; 
    if(fTestNet)
        return 3 * nStakeTargetSpacing; 
    return 12 * nStakeTargetSpacing; 
}
int64_t inline GetTargetSpacingWorkMax ( int nHeight , unsigned int nTime ) { if ( nTime > TARGETS_SWITCH_TIME ) return 3 * nStakeTargetSpacing ; if ( fTestNet ) return 3 * nStakeTargetSpacing ; return 12 * nStakeTargetSpacing ; }
get proof of work blocks max spacing according to hard-coded conditions
get proof of work blocks max spacing according to hard - coded conditions
// 30 minutes on mainNet since 20 Jul 2013 00:00:00 // 15 minutes on testNet // 2 hours otherwise