add get_latest_block_height method