From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wP4VOszUwGGT0AAAgWs5BA (envelope-from ) for ; Mon, 20 Dec 2021 20:09:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CJm/NczUwGFxAQAAB5/wlQ (envelope-from ) for ; Mon, 20 Dec 2021 19:09:00 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 86DF35F87 for ; Mon, 20 Dec 2021 20:09:00 +0100 (CET) Received: from localhost ([::1]:42056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzO1r-0000gs-OJ for larch@yhetil.org; Mon, 20 Dec 2021 14:08:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzLcm-0001iX-JJ for guix-devel@gnu.org; Mon, 20 Dec 2021 11:34:56 -0500 Received: from mail-41104.protonmail.ch ([185.70.41.104]:28975) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzLcj-0005X6-57 for guix-devel@gnu.org; Mon, 20 Dec 2021 11:34:56 -0500 Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by mail-41104.protonmail.ch (Postfix) with ESMTPS id 4JHbcn5GQWz4wxlb for ; Mon, 20 Dec 2021 10:37:13 +0000 (UTC) Date: Mon, 20 Dec 2021 10:36:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1639996572; bh=EoWqxaOr3FoGT2W7BlbUWkQGOJtR0fQCYas5h68OFeE=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=litdzcmrLSc6FDpYsQcre9pNun5n+0pFTSq8r1vl7RjlCWmGdWz4kmiwIxjZ2qDAy nNwUCGYIDfWuUBvhxjUyPDjUZdo6yM8WfPweArDWxaGDsRxQ+aQfUIK97i9/Vl0o6C RJ7ZyNSLts7zfRk3BwiIteK/eYNx3QyN1HV55R0AYgNZ2UFguX2avIZoVFvT7kb4/X bMUFWsGrmBijzNEvv/PY1EZoApd5BaLy6YpaOqGsNWf8vc6ibAnIzMAH0yPIZm8CfL g7ASdQ4IdslGIzq29K6JgTd/398vG+nLcBGIWGWFD//s5NLUxCKhOY0zPACfLoFem2 kkbFrcM94iGNg== To: "guix-devel@gnu.org" From: Attila Lendvai Subject: p2p distributed substitutes; Swarm Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.41.104; envelope-from=attila@lendvai.name; helo=mail-41104.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Attila Lendvai Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640027340; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=EoWqxaOr3FoGT2W7BlbUWkQGOJtR0fQCYas5h68OFeE=; b=ATX+3EIUi1d2aHeE5BtTTF+mAhaCcdZ34rFjx6CG9AE418z0NHv0+sdlf3OUiGtc37i+md HxCmws5pJxdjPJllgKT+mbyF9EC+Vg/C2Y/Jik0aFVnLVbM8sLmaIIKFnd6YrxD+HBSCA0 JfqsAmUHnJBLEYkfriTeSjgqjT3C9qb0/YpV9228FgFpeVVXCVtrFnyLwJvfOeaSeElp7B QrYq4dLRYVHix0DO6nbre9WUtu7qJ5yocSMq0NlogZn+ao2lq0JweNeGpHlpF3ny936u5n nyaqThjzH+dHrJaIbjUGGjlBv75jjnhcrcTEUf37qNz5AddHpeB9Iotu2qyfqw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640027340; a=rsa-sha256; cv=none; b=o1X45AuRzmFBxCrwrfZRWRQaFz5zdp4Q2EaSeZLXvDKCOzJUF2vN7T0UFEg65+FZZrvPMT NeS3FvnulxnV4KDEgAuSMQHtw3y9OIr86OF3kY7CatEmz2dVdvYZNul/JTkPJo4G32dk2k +muwPRvkK9hLXhgypMT/tj0WVDqSRsA5KwXxxP354gnFod/I7pcmfyj2BF35bB9ybYZskR zZbILsdW50Av93Hh3e0yi7fidaxUA1MZftH8XmerZHfm2AWyyk821zIKNoW5+fSuA+Pnsb Aa776Ldh6VSXzIKO/KZnHNmK+T57RdozNwGkaQxfWd2JcNOyYGF4e55O/JFRvw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b=litdzcmr; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.22 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b=litdzcmr; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 86DF35F87 X-Spam-Score: -7.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: IJ/FXazu7alR dear Guixers, i have put together a Swarm service for Guix, that can start up Bee nodes o= f https://www.ethswarm.org/ Swarm is a censorship resistant p2p storage solution with a content address= able API, not unlike IPFS, but with crypto based incentives. i'm considering adding Swarm as another backend to store and distribute sub= stitute binaries. i lack the necessary overview of Guix substitutes, but i'= m working closely with the Swarm developers. is there anything written up anywhere about this topic? what i'm looking fo= r is a very high-level bird's eye view of what components would be involved= in such an endeavor, and what would need to be implemented in them. is the architecture in question already prepared for multiple storage backe= nds? or would it involve a refactoring of the Guix infrastructure? i'm a seasoned CL coder, and getting accustomed in Scheme, too, but i'm a f= ew months new to the Guix codebase. as an answer i'd also appreciate any pointers to readings, including into t= he code, and even more so a wiki page where people interested in this proje= ct can draw the outlines, and coordinate on the implementation. - attila PGP:=C2=A05D5F 45C7 DFCD 0A39 PS: for now the Swarm service is in a PR for that other channel, because it= fetches the binaries of Bee and the go ethereum clients. it's on my TODO t= o smarten up the go importer and put together a source based package for th= em that would be eligible for Guix proper.