Return-Path: <buzztiaan@gmail.com>
Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 67D82C0032
 for <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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: <IA1P223MB04501EFD534B3A53708740E1CA05A@IA1P223MB0450.NAMP223.PROD.OUTLOOK.COM>
In-Reply-To: <IA1P223MB04501EFD534B3A53708740E1CA05A@IA1P223MB0450.NAMP223.PROD.OUTLOOK.COM>
Reply-To: buzz@spacedout.nl
From: Bastiaan van den Berg <buzz@spacedout.nl>
Date: Tue, 1 Aug 2023 10:02:55 +0200
Message-ID: <CACLj26+jLrXC29oKxZ2GmYTKvEn=iRTfxJMzCX3RkBLdD5YRBQ@mail.gmail.com>
To: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
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 <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=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

<div dir=3D"ltr">Am i correct in the following interpretations?<br><br>- th=
e utreexo bridge peers are the only real bitcoin nodes<div>- you cant use -=
only- libfloresta to be a node , you cant mine with it, you cant do normal =
tx with it</div><div>- you are targetting webbrowsers (???? , i&#39;m reall=
y confused about the why of this)</div></div><br><div class=3D"gmail_quote"=
><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Jul 31, 2023 at 9:11=E2=80=
=AFPM Davidson Souza via bitcoin-dev &lt;<a href=3D"mailto:bitcoin-dev@list=
s.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a>&gt; wrote:=
<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=3D"m=
sg-3408646806615099262">




<div dir=3D"ltr">
<p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt">=
<span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decoration:=
none;color:rgb(0,0,0)">Hi, list. My name is Davidson, and I=E2=80=99m thril=
led to share `libfloresta` with the
 Bitcoin devs mailing list!</span></p>
<div><span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decora=
tion:none;color:rgb(0,0,0)"><br>
</span></div>
<div><span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decora=
tion:none;color:rgb(0,0,0)">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.
<br>
</span></div>
<div><span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decora=
tion:none;color:rgb(0,0,0)"><br>
</span></div>
<div><span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decora=
tion:none;color:rgb(0,0,0)">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.</span></div>
<div><span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decora=
tion:none;color:rgb(0,0,0)"><br>
</span></div>
<p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt">
<span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decoration:=
none;color:rgb(0,0,0)"><span></span></span><span style=3D"font-size:11pt;fo=
nt-family:Arial,sans-serif;text-decoration:none;color:rgb(0,0,0)">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.</span></p>
<p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt">
<span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decoration:=
none;color:rgb(0,0,0)"><br>
</span></p>
<p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt">=
<span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decoration:=
none;color:rgb(0,0,0)"><span></span></span><span style=3D"font-size:11pt;fo=
nt-family:Arial,sans-serif;text-decoration:none;color:rgb(0,0,0)">The
 project is available on [my GitHub](</span><a href=3D"https://github.com/D=
avidson-Souza/Floresta" style=3D"text-decoration:none" target=3D"_blank"><s=
pan style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decoration:un=
derline;color:rgb(17,85,204)">https://github.com/Davidson-Souza/Floresta</s=
pan></a><span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-dec=
oration:none;color:rgb(0,0,0)">)
 and I wrote an initial [blogpost](<a href=3D"https://blog.dlsouza.lol/2023=
/07/07/libfloresta.html" target=3D"_blank">https://blog.dlsouza.lol/2023/07=
/07/libfloresta.html</a>) 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!</span></p>
<br>
<p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt">
<span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decoration:=
none;color:rgb(0,0,0)">## Consensus</span></p>
<p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt">
<span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decoration:=
none;color:rgb(0,0,0)"><br>
</span></p>
<p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt">
<span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decoration:=
none;color:rgb(0,0,0)"><span></span></span><span style=3D"font-size:11pt;fo=
nt-family:Arial,sans-serif;text-decoration:none;color:rgb(0,0,0)">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.</span></p>
<p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt">
<span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decoration:=
none;color:rgb(0,0,0)"><br>
</span></p>
<p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt">=
<span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decoration:=
none;color:rgb(0,0,0)"><span></span></span><span style=3D"font-size:11pt;fo=
nt-family:Arial,sans-serif;text-decoration:none;color:rgb(0,0,0)">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.</span></p>
<br>
<p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt">=
<span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decoration:=
none;color:rgb(0,0,0)">## Acknowledges</span></p>
<br>
<p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt">=
<span style=3D"font-size:11pt;font-family:Arial,sans-serif;text-decoration:=
none;color:rgb(0,0,0)">A special thanks to [Vinteum](<a href=3D"https://vin=
teum.org/" target=3D"_blank">https://vinteum.org/</a>) for supporting my wo=
rk with
 utreexo and Floresta.</span></p>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
<br>
</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
Best regards,</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
Davidson Souza.<br>
</div>
</div>

_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">=
bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail=
man/listinfo/bitcoin-dev</a><br>
</div></blockquote></div>

--0000000000002772b30601d7faee--