code: func newTransactionManager(maxCursor uint64, dht *DHT) *transactionManager {
  	return &transactionManager{
  		RWMutex:      &sync.RWMutex{},
  		transactions: newSyncedMap(),
  		index:        newSyncedMap(),
  		maxCursor:    maxCursor,
  		queryChan:    make(chan *query, 1024),
  		dht:          dht,
  	}
  }
docs: // newTransactionManager returns new transactionManager pointer.