Return-Path: Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 67D82C0032 for ; Tue, 1 Aug 2023 08:03:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 3598081EFC for ; Tue, 1 Aug 2023 08:03:11 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 3598081EFC Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=spacedout-nl.20221208.gappssmtp.com header.i=@spacedout-nl.20221208.gappssmtp.com header.a=rsa-sha256 header.s=20221208 header.b=PrO7+Vmi X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -1.399 X-Spam-Level: X-Spam-Status: No, score=-1.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a9Pfhbx6fvYF for ; Tue, 1 Aug 2023 08:03:10 +0000 (UTC) Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by smtp1.osuosl.org (Postfix) with ESMTPS id 8E94781EE9 for ; Tue, 1 Aug 2023 08:03:09 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 8E94781EE9 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4fe07f0636bso8672164e87.1 for ; Tue, 01 Aug 2023 01:03:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spacedout-nl.20221208.gappssmtp.com; s=20221208; t=1690876987; x=1691481787; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hsbYL1Rnw2nDaITbQtnz/xUUlUsUPvv299xbMoGbZzY=; b=PrO7+VmiHp1zTWv41LX+4qpv7C5Kd5OQ1dk6wLWHF7LrIk1a51P4shjM7NBYHJkzXb qnK68GBnlUz8xwXPotM4xj4Pn2urIAUQlFolkLRYzJPEGzGzPz2DIBAqeHBNDeYvEekI MiavmihzxnFwyy09qAomgI7tfVzcR6MhmWv4Z9PYNJoCOtPNRf/okrQ/e964k13hgUX0 Zc02XHWpEzvHVAvTNSDuRjz0G51SX94F4U3qTN/bmQOm6syW2E8YJizrntD7LpppCRaj QaksTAcN6DBYgwDCVbqgfZvs1hkMHVIyC3X7zzlF/gdaTGT0FlwWmRE74e/mWkYHZ4Cn kSxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690876987; x=1691481787; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hsbYL1Rnw2nDaITbQtnz/xUUlUsUPvv299xbMoGbZzY=; b=gzKeNPQ4tKurjQuXYJAZ99wYnRYw809bFpvoLPN4sJRzMgQ2RJmps3E/F/4q3RjqvP 2N84ay3XAlEmzlmeSAzSazWfv7/qJPj7cEpxhH88e2KnYFuWn+SSPmIhJ0kpJQXU+KrP tuIg/dopRbbIp608bfrwnRRi+Q1AVRaCvL5k9KiAIXBVSlkHjZM4ekMukW5izeEY3mhE tfv3IugJwi85evb3ObnEGH7PCBBSazjz8EQ0oYGPxuQiS+aEoM0XOrMCx3DhnbY6PTXO Y+8d8cqd+3SgmFXrSq5+jHbbfpnLAE/SJOVREOchAIcn/rL4s0fPIyz5Yp7HojhMAo1+ C8wA== X-Gm-Message-State: ABy/qLbSjOpaaDUKtV2MktWEaRGILs8301MuQ2L8BNbtw8D6W9mUua95 iQyesYG6uK1e9aNrEyPEbnPEesRBTXhQclup3JwkaeDY X-Google-Smtp-Source: APBJJlFsLj2BL7H7ilgzkEcYgP6Y33yOBRAjGkToCe3qHO8LmfioQAG+Si/gZCa7vqqHNRfU6iQaz+IfxdkSg7CPBRk= X-Received: by 2002:a2e:3618:0:b0:2b5:7a87:a85a with SMTP id d24-20020a2e3618000000b002b57a87a85amr2007898lja.13.1690876986748; Tue, 01 Aug 2023 01:03:06 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Reply-To: buzz@spacedout.nl From: Bastiaan van den Berg Date: Tue, 1 Aug 2023 10:02:55 +0200 Message-ID: To: Bitcoin Protocol Discussion Content-Type: multipart/alternative; boundary="0000000000002772b30601d7faee" X-Mailman-Approved-At: Tue, 01 Aug 2023 22:59:38 +0000 Subject: Re: [bitcoin-dev] Announcing Libforesta X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2023 08:03:11 -0000 --0000000000002772b30601d7faee Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am i correct in the following interpretations? - the utreexo bridge peers are the only real bitcoin nodes - you cant use -only- libfloresta to be a node , you cant mine with it, you cant do normal tx with it - you are targetting webbrowsers (???? , i'm really confused about the why of this) On Mon, Jul 31, 2023 at 9:11=E2=80=AFPM Davidson Souza via bitcoin-dev < bitcoin-dev@lists.linuxfoundation.org> wrote: > Hi, list. My name is Davidson, and I=E2=80=99m thrilled to share `libflor= esta` > with the Bitcoin devs mailing list! > > This is a derivate of a project I=E2=80=99ve been developing for a few mo= nths, > called `Floresta` (Portuguese for forest). An Utreexo powered, > Fully-Validating Bitcoin Full node with integrated watch-only wallet and > Electrum Server, meant to be a compact, simple, and ready to use full nod= e > for end users. > > After some feedbacks and thoughts, I=E2=80=99ve decided to turn it into a= series > of reusable libs that can be used in other applications in a > straightforward way. The main goal here is low-power devices, like SBC an= d > smartphones, but can be used in any environment. To achieve that, I=E2=80= =99m > writing the main logic in Rust and will generate bindings to the original > code and compiling to WASM, allowing it to run virtually anywhere. > > The project is in an early stage, but I=E2=80=99m using it on signet for = a while > now with no problems. Mainnet support is almost ready, but we need to sol= ve > some performance issues with bridge nodes and set some up, so you can hav= e > utreexo peers. > > > The project is available on [my GitHub]( > https://github.com/Davidson-Souza/Floresta) and I wrote an initial > [blogpost](https://blog.dlsouza.lol/2023/07/07/libfloresta.html) > explaining how to use it (in Rust). I=E2=80=99ll write more as the projec= t matures, > and I get it running on other platforms. Any feedback is welcome! > > ## Consensus > > > I know that alternative implementations is a spicy subject in Bitcoin > land, but this project **does not** reimplement the Bitcoin Consensus > machine from scratch. I=E2=80=99m using `libbitcoinconsenus` and plan to = use the > full `libbitcoinkernel` in the future. While this doesn=E2=80=99t guarant= ee > consistency, it minimizes misimplementations leading to splits. > > > I=E2=80=99m also making an extra effort into cross-test against Bitcoin C= ore to > find any inconsistencies before it causes any trouble. > > ## Acknowledges > > A special thanks to [Vinteum](https://vinteum.org/) for supporting my > work with utreexo and Floresta. > > Best regards, > Davidson Souza. > _______________________________________________ > bitcoin-dev mailing list > bitcoin-dev@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev > --0000000000002772b30601d7faee Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Am i correct in the following interpretations?

- th= e utreexo bridge peers are the only real bitcoin nodes
- you cant use -= only- libfloresta to be a node , you cant mine with it, you cant do normal = tx with it
- you are targetting webbrowsers (???? , i'm reall= y confused about the why of this)

On Mon, Jul 31, 2023 at 9:11=E2=80= =AFPM Davidson Souza via bitcoin-dev <bitcoin-dev@lists.linuxfoundation.org> wrote:=

= Hi, list. My name is Davidson, and I=E2=80=99m thril= led to share `libfloresta` with the Bitcoin devs mailing list!


This is a derivate of a project I=E2=80=99ve be= en developing for a few months, called `Floresta` (Portuguese for forest). = An Utreexo powered, Fully-Validating Bitcoin Full node with integrated watch-only wal= let and Electrum Server, meant to be a compact, simple, and ready to use fu= ll node for end users.

After some feedbacks and thoughts, I=E2=80=99ve= decided to turn it into a series of reusable libs that can be used in othe= r applications in a straightforward way. The main goal here is low-power devices, like SB= C and smartphones, but can be used in any environment. To achieve that, I= =E2=80=99m writing the main logic in Rust and will generate bindings to the= original code and compiling to WASM, allowing it to run virtually anywhere.

The project is in an early stage, but I=E2=80=99m using it on signet for a whi= le now with no problems. Mainnet support is almost ready, but we need to so= lve some performance issues with bridge nodes and set some up, so you can h= ave utreexo peers.


= The project is available on [my GitHub](https://github.com/Davidson-Souza/Floresta) and I wrote an initial [blogpost](https://blog.dlsouza.lol/2023/07= /07/libfloresta.html) explaining how to use it (in Rust). I=E2=80=99ll = write more as the project matures, and I get it running on other platforms.= Any feedback is welcome!


## Consensus


I know that alternative implementations is a spicy subject in Bitcoin land, = but this project **does not** reimplement the Bitcoin Consensus machine fro= m scratch. I=E2=80=99m using `libbitcoinconsenus` and plan to use the full = `libbitcoinkernel` in the future. While this doesn=E2=80=99t guarantee consistency, it minimizes misimplementation= s leading to splits.


= I=E2=80= =99m also making an extra effort into cross-test against Bitcoin Core to find a= ny inconsistencies before it causes any trouble.


= ## Acknowledges


= A special thanks to [Vinteum](https://vinteum.org/) for supporting my wo= rk with utreexo and Floresta.


Best regards,
Davidson Souza.
_______________________________________________
bitcoin-dev mailing list
= bitcoin-dev@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mail= man/listinfo/bitcoin-dev
--0000000000002772b30601d7faee--