code: func (p *Peer) lookupUpstream(whichAsync int) *discoverd.Instance {
  	if whichAsync == 0 {
  		return p.Info().State.Sync
  	}
  	return p.Info().State.Async[whichAsync-1]
  }
docs: // Return the upstream peer for a given one of the async peers