code: func (node *ClientNode) UpdateParams(params ServerParams) {
  	node.lock.Lock()
  	defer node.lock.Unlock()
  
  	now := node.cm.clock.Now()
  	node.update(now)
  	if params.MinRecharge >= node.params.MinRecharge {
  		node.updateSchedule = nil
  		node.updateParams(params, now)
  	} else {
  		for i, s := range node.updateSchedule {
  			if params.MinRecharge >= s.params.MinRecharge {
  				s.params = params
  				node.updateSchedule = node.updateSchedule[:i+1]
  				return
  			}
  		}
  		node.updateSchedule = append(node.updateSchedule, scheduledUpdate{time: now + mclock.AbsTime(DecParamDelay), params: params})
  	}
  }
docs: // UpdateParams updates the flow control parameters of a client node