async def _respond_peers_common(self, request, peer_src, is_full_node) -> None:
    peers_adjusted_timestamp = []
    is_misbehaving = False
    if (len(request.peer_list) > MAX_PEERS_RECEIVED_PER_REQUEST):
        is_misbehaving = True
    if is_full_node:
        if (peer_src is None):
            return None
        async with self.lock:
            if (peer_src.host not in self.received_count_from_peers):
                self.received_count_from_peers[peer_src.host] = 0
            self.received_count_from_peers[peer_src.host] += len(request.peer_list)
            if (self.received_count_from_peers[peer_src.host] > MAX_TOTAL_PEERS_RECEIVED):
                is_misbehaving = True
    if is_misbehaving:
        return None
    for peer in request.peer_list:
        if ((peer.timestamp < 100000000) or (peer.timestamp > (time.time() + (10 * 60)))):
            current_peer = TimestampedPeerInfo(peer.host, peer.port, uint64(int((time.time() - (((5 * 24) * 60) * 60)))))
        else:
            current_peer = peer
        if (not is_full_node):
            current_peer = TimestampedPeerInfo(peer.host, peer.port, uint64(0))
        peers_adjusted_timestamp.append(current_peer)
    assert (self.address_manager is not None)
    if is_full_node:
        (await self.address_manager.add_to_new_table(peers_adjusted_timestamp, peer_src, ((2 * 60) * 60)))
    else:
        (await self.address_manager.add_to_new_table(peers_adjusted_timestamp, None, 0))
async def _respond_peers_common(self, request, peer_src, is_full_node) -> None:
    peers_adjusted_timestamp = []
    is_misbehaving = False
    if (len(request.peer_list) > MAX_PEERS_RECEIVED_PER_REQUEST):
        is_misbehaving = True
    if is_full_node:
        if (peer_src is None):
            return None
        async with self.lock:
            if (peer_src.host not in self.received_count_from_peers):
                self.received_count_from_peers[peer_src.host] = 0
            self.received_count_from_peers[peer_src.host] += len(request.peer_list)
            if (self.received_count_from_peers[peer_src.host] > MAX_TOTAL_PEERS_RECEIVED):
                is_misbehaving = True
    if is_misbehaving:
        return None
    for peer in request.peer_list:
        if ((peer.timestamp < 100000000) or (peer.timestamp > (time.time() + (10 * 60)))):
            current_peer = TimestampedPeerInfo(peer.host, peer.port, uint64(int((time.time() - (((5 * 24) * 60) * 60)))))
        else:
            current_peer = peer
        if (not is_full_node):
            current_peer = TimestampedPeerInfo(peer.host, peer.port, uint64(0))
        peers_adjusted_timestamp.append(current_peer)
    assert (self.address_manager is not None)
    if is_full_node:
        (await self.address_manager.add_to_new_table(peers_adjusted_timestamp, peer_src, ((2 * 60) * 60)))
    else:
        (await self.address_manager.add_to_new_table(peers_adjusted_timestamp, None, 0))