pow/round.js
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];
}
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];
}
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 ] ; }
coinbase begin old function
coinbase begin old function