code: func (tm *transactionManager) genTransID() string {
  	tm.Lock()
  	defer tm.Unlock()
  
  	tm.cursor = (tm.cursor + 1) % tm.maxCursor
  	return string(int2bytes(tm.cursor))
  }
docs: // genTransID generates a transaction id and returns it.