// To calculate unlock window, get the block hash at height-1337, convert the
{
// first 3 characters from hexadecimal to decimal, multiply by 2, and then add 288.
CHECK_AND_ASSERT_MES(b.miner_tx.unlock_time==height+CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW_V2,false,"coinbase transaction transaction has the wrong unlock time="
// Unlock minimum 1 day (288 blocks), maximum is ~29 days ((4095*2)+288 = 8478 blocks)
CHECK_AND_ASSERT_MES(b.miner_tx.unlock_time==height+60,false,"coinbase transaction transaction has the wrong unlock time="
CHECK_AND_ASSERT_MES(b.miner_tx.unlock_time==height+CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW,false,"coinbase transaction transaction has the wrong unlock time="