code: def outgoing_connections(self):
          
  
          # Outgoing connections are on the right
          return list(
              dropwhile(lambda c: c.direction != OUTGOING, self.connections)
          )
docs: Returns a list of all outgoing connections for this peer.