code: function getCoinbaseByRoundIndex(roundIndex){
      if(roundIndex < 1 || roundIndex > constants.ROUND_TOTAL_ALL)
          return 0;
  	return constants.ROUND_COINBASE[Math.ceil(roundIndex/constants.ROUND_TOTAL_YEAR)-1];
  }
docs: coinbase begin old function