code: func (node *ClientNode) RequestProcessed(reqID, index, maxCost, realCost uint64) (bv uint64) {
  	node.lock.Lock()
  	defer node.lock.Unlock()
  
  	now := node.cm.clock.Now()
  	node.update(now)
  	node.cm.processed(node, maxCost, realCost, now)
  	bv = node.bufValue + node.sumCost - node.accepted[index]
  	if node.log != nil {
  		node.log.add(now, fmt.Sprintf("processed  reqID=%d  bv=%d  maxCost=%d  realCost=%d  sumCost=%d  oldSumCost=%d  reportedBV=%d", reqID, node.bufValue, maxCost, realCost, node.sumCost, node.accepted[index], bv))
  	}
  	delete(node.accepted, index)
  	return
  }
docs: // RequestProcessed should be called when the request has been processed