code: def get_epoch_config( block_height ):
      
      global EPOCHS
      epoch_number = get_epoch_number( block_height )
  
      if epoch_number < 0 or epoch_number >= len(EPOCHS):
          log.error("FATAL: invalid epoch %s" % epoch_number)
          os.abort()
  
      return EPOCHS[epoch_number]
docs: Get the epoch constants for the given block height