Return-Path: Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 89F82C002D for ; Thu, 4 Aug 2022 01:22:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 525F3403FD for ; Thu, 4 Aug 2022 01:22:09 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 525F3403FD Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=qZ9GK751 X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -2.098 X-Spam-Level: X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KzHUwXA0eWsd for ; Thu, 4 Aug 2022 01:22:08 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org CAEFD40185 Received: from mail-vs1-xe2a.google.com (mail-vs1-xe2a.google.com [IPv6:2607:f8b0:4864:20::e2a]) by smtp2.osuosl.org (Postfix) with ESMTPS id CAEFD40185 for ; Thu, 4 Aug 2022 01:22:07 +0000 (UTC) Received: by mail-vs1-xe2a.google.com with SMTP id 125so19693509vsd.5 for ; Wed, 03 Aug 2022 18:22:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+VHeXKBdAZAHMB81Xly/+jMREfWBswftMirjWN9SUeY=; b=qZ9GK7513Rnr1hEzxmJQm8LYKDHtpTDt2WCAY7SufhnKETwzhfzDuR/YykMkN2Ld9p 3OPaVDb5T25Sxd4c9C+cA9Qa+TQyTRiGClHKAXpRes2CEkfX9krPi8WgnaCUmZoeVJbp 8tsFHk7ztQpjXWwMAbdX/09s4flLo3rvu6q5HcfURTNiOXMP447iTQ+o6bpcIc2mf/SA CF3JH3QOWxRlx8M5j6ujTgUWJkuyyHwnt/DnsEHRzz8Fre4MKW8TrUVFE7oNNBnnZnE7 MlZ6spnfME7FOn8DH4QEsMXuebIn3ZxHygRLEQ2YbBqzjfBnphE3d6p2sr9CgQjx77XZ 6Svg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+VHeXKBdAZAHMB81Xly/+jMREfWBswftMirjWN9SUeY=; b=UHr9TVHfVMOBA+/sGWquGpQQsRCDJrGxjm99flHBfzLd7QWhE40+tGV4hAWPk+Xc2S KZv9qce0vJNDO4gdbQ+oSa2SMNS+6GrsxSkImsLHi+0bjr1I0LeOLthfzeCOgdh7vUU6 j3XRXdOilGYFnuB87ZiIlqIRMVFLgjjQISGBdGm78ChmesQZjG6KXNNMDXfCZPlX7DUT zx5c07K/k7J2Xb8jiLTVg6H2eWHSZQ/qzYtvVc9AKiV/WICkOc2Sdtj3vzUZ8iYV08wa 36+gICRb8j4+Y1MLFgwA2z0p1Y6T14b/KB++2gmjJ1vjk0Ron9FtvBRlVxbHZ/OHhZ0+ DGhg== X-Gm-Message-State: ACgBeo3BAcziOUMuY7fqFyvJ3J3LZAnQBXcpO4qT/OzqvubYuvu5XuFo hflFw86uBqVpvVoaUZ3wC5QsbSvwXQKswkCUXhkmGlGwLS1RQA== X-Google-Smtp-Source: AA6agR6KNLXbFDdVWkkXODLYq4sIIbkkWzJ39hv0428SkfuoZupe0+6qf+KXMlncF+dtKZEX0Mp6aWpAyzy83A/h5nk= X-Received: by 2002:a67:dd12:0:b0:384:ce1e:1e84 with SMTP id y18-20020a67dd12000000b00384ce1e1e84mr6486781vsj.39.1659576126219; Wed, 03 Aug 2022 18:22:06 -0700 (PDT) MIME-Version: 1.0 References: <166123291-fe0f05975e84c5e295606d87fdddcd64@pmq3v.m5r2.onet> In-Reply-To: From: Billy Tetrud Date: Wed, 3 Aug 2022 20:21:51 -0500 Message-ID: To: aaradhya@technovanti.co.in, Aaradhya Chauhan , Bitcoin Protocol Discussion Content-Type: multipart/alternative; boundary="0000000000007b2b1905e5602da8" X-Mailman-Approved-At: Thu, 04 Aug 2022 10:16:54 +0000 Subject: Re: [bitcoin-dev] Regarding setting a lower minrelaytxfee 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: Thu, 04 Aug 2022 01:22:09 -0000 --0000000000007b2b1905e5602da8 Content-Type: text/plain; charset="UTF-8" I agree with Peter, it seems like we don't need a dust limit with full blocks. And we should expect blocks to remain full indefinitely. However, if we were to still have a dust limit, it shouldn't be a simple constant. It should be determined by the mempool environment. Eg one could define the dust limit to be the 5th percentile lowest fee in the last 100 blocks. Or the 1st percentile. Etc. This way, as the value of bitcoin fluctuates (inevitably affecting the fees people are willing to pay), the dust limit would automatically adjust to compensate. One might worry that in high fee environments, the dust limit calculated this way might make for too-high dust limits. But I don't think you could really say it would be "too high" because it would match the actual mempool. We could have a maximum dust limit set if that's a worry tho. On Wed, Aug 3, 2022 at 5:35 PM Aaradhya Chauhan via bitcoin-dev < bitcoin-dev@lists.linuxfoundation.org> wrote: > Thank you for answering. I'll check out the link you provided, while also > playing around with the fee settings for my own full node, at my home > server. > > On Wed, 3 Aug 2022 at 23:02, vjudeu via bitcoin-dev < > bitcoin-dev@lists.linuxfoundation.org> wrote: > >> It is possible, because you can find nodes that accept low-fee >> transactions. And on some statistics, for example >> https://jochen-hoenicke.de/queue/#BTC,24h,weight,0 you can see that zero >> to one satoshi per virtual byte transactions could take more space than >> other transactions. You can be convinced that those charts are not fake by >> running a full node and reaching some nodes with different fee settings. If >> miners don't want to accept them, well, it is their choice to leave that >> money on the table. As long as the basic block reward is sufficient, they >> don't have to accept such low fee transactions, because they can wait >> instead, to receive them in some batched form. >> >> Also, some miners could accept only 10 sats/vB or higher, because why >> not. As long as your transaction will reach enough nodes to be confirmed, >> you can safely pick lower fees. For now, de-facto standard is one satoshi >> per virtual byte, but: >> >> 1) it is only declared, so you can rely only on declarations, not on hard >> consensus rules >> 2) there is no way to make sure if some transaction was truly rejected by >> some miner, or maybe it was saved somewhere >> 3) you can never be sure if some node is a miner and can enforce those >> different fee rules or not >> >> So, you can really judge only by how nodes behave, you cannot make sure >> in any way if anyone is running some additional rules. And fees are not a >> part of the consensus, so they can be freely adjusted by each node, and >> there is no way to make sure, what rules are really executed, you can only >> assume that, based on what transactions are included in blocks. >> >> >> >> On 2022-08-03 18:19:12 user Aaradhya Chauhan via bitcoin-dev < >> bitcoin-dev@lists.linuxfoundation.org> wrote: >> So, can we conclude by something, whether or not it would be possible and >> feasible in the future? >> >> >> On Mon, 1 Aug 2022 at 19:08, Peter Todd via bitcoin-dev < >> bitcoin-dev@lists.linuxfoundation.org> wrote: >> >> On Mon, Aug 01, 2022 at 01:19:05PM +0000, aliashraf.btc At protonmail >> wrote: >> > > On Sat, Jul 30, 2022 at 05:24:35PM +0000, alicexbt via bitcoin-dev >> wrote: >> > > like a hashcash-based alternative broadcast scheme. >> > Hi Peter, >> > I've been mulling the idea of attaching work to low fee txns, both as a >> compensation (e.g., in a sidechain, or an alt), and/or as a spam proof. >> Unfortunately, both suffer from ASICs: >> > For spam proof case, the adversary can easily buy a used/obsolete >> device to produce lots of spam txns very cheaply, unless you put the bar >> very high, making it almost impossible for average users to even try. >> > The compensation scenario is pretty off-topic, still, interesting >> enough for 1 min read: >> > Wallets commit to the latest blockchain state in the transaction AND >> attach work. >> > It is considered contribution to the security (illegitimate chains >> can't include the txn), hence isrewarded by fee discount/exemption >> depending on the offset of the state they've committed to (the closer, the >> better) and the amount of work attached. >> > For this to work, block difficulty is calculated inclusive with the >> work embedded in the txns, it contains. Sophisticated and consequential, >> yet not infeasible per se. >> > >> > Unfortunately, this scheme is hard to balance with ASICs in the scene >> too, for instance, you can't subsidize wallets for their work like with a >> leverge, because miners can easily do it locally, seizing the subsidies for >> themselves, long story, not relevant just ignore it. >> >> We're not talking about a consensus system here. Just a way to rate-limit >> access to a broadcast network used by a small minority of nodes. It's >> completely ok to simply change the PoW algorithm in the _highly_ unlikely >> event >> someone bothers to build an ASIC for it. Since this isn't a consensu >> system, >> it's totally ok if multiple versions of the scheme run in parallel. >> _______________________________________________ >> bitcoin-dev mailing list >> bitcoin-dev@lists.linuxfoundation.org >> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev >> > _______________________________________________ > bitcoin-dev mailing list > bitcoin-dev@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev > --0000000000007b2b1905e5602da8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I agree with Peter, it seems like we don't need = a dust limit with full blocks. And we should expect blocks to remain full i= ndefinitely.=C2=A0

However, if we were to still have a d= ust limit, it shouldn't be a simple constant. It should be determined b= y the mempool environment. Eg one could define the dust limit to be the 5th= percentile lowest fee in the last 100 blocks. Or the 1st percentile. Etc. = This way, as the value of bitcoin fluctuates (inevitably affecting the fees= people are willing to pay), the dust limit would automatically adjust to c= ompensate. One might worry that in high fee environments, the dust limit ca= lculated this way might make for too-high dust limits. But I don't thin= k you could really say it would be "too high" because it would ma= tch the actual mempool. We could have a maximum dust limit set if that'= s a worry tho.

On Wed, Aug 3, 2022 at 5:35 PM Aaradhya Chauhan v= ia bitcoin-dev <bitcoin-dev@lists.linuxfoundation.org> wrote:
Thank you for answer= ing. I'll check out the link you provided, while also playing around wi= th the fee settings for my own full node, at my home server.=C2=A0
On Wed, 3= Aug 2022 at 23:02, vjudeu via bitcoin-dev <bitcoin-dev@lists.linuxfound= ation.org> wrote:
It is possible, because you can find nodes that accept low-fee t= ransactions. And on some statistics, for example h= ttps://jochen-hoenicke.de/queue/#BTC,24h,weight,0 you can see that zero= to one satoshi per virtual byte transactions could take more space than ot= her transactions. You can be convinced that those charts are not fake by ru= nning a full node and reaching some nodes with different fee settings. If m= iners don't want to accept them, well, it is their choice to leave that= money on the table. As long as the basic block reward is sufficient, they = don't have to accept such low fee transactions, because they can wait i= nstead, to receive them in some batched form.

Also, some miners could accept only 10 sats/vB or higher, because why not. = As long as your transaction will reach enough nodes to be confirmed, you ca= n safely pick lower fees. For now, de-facto standard is one satoshi per vir= tual byte, but:

1) it is only declared, so you can rely only on declarations, not on hard c= onsensus rules
2) there is no way to make sure if some transaction was truly rejected by s= ome miner, or maybe it was saved somewhere
3) you can never be sure if some node is a miner and can enforce those diff= erent fee rules or not

So, you can really judge only by how nodes behave, you cannot make sure in = any way if anyone is running some additional rules. And fees are not a part= of the consensus, so they can be freely adjusted by each node, and there i= s no way to make sure, what rules are really executed, you can only assume = that, based on what transactions are included in blocks.



On 2022-08-03 18:19:12 user Aaradhya Chauhan via bitcoin-dev <bitcoin-de= v@lists.linuxfoundation.org> wrote:
So, can we conclude by something, whether or not it would be possible and f= easible in the future?


On Mon, 1 Aug 2022 at 19:08, Peter Todd via bitcoin-dev <bitcoin-dev@lis= ts.linuxfoundation.org> wrote:

On Mon, Aug 01, 2022 at 01:19:05PM +0000, aliashraf.btc At protonmail wrote= :
> > On Sat, Jul 30, 2022 at 05:24:35PM +0000, alicexbt via bitcoin-de= v wrote:
> > like a hashcash-based alternative broadcast scheme.
> Hi Peter,
> I've been mulling the idea of attaching work to low fee txns, both= as a compensation (e.g., in a sidechain, or an alt), and/or as a spam proo= f. Unfortunately, both suffer from ASICs:
> For spam proof case, the adversary can easily buy a used/obsolete devi= ce to produce lots of spam txns very cheaply, unless you put the bar very h= igh, making it almost impossible for average users to even try.
> The compensation scenario is pretty off-topic, still, interesting enou= gh for 1 min read:
> Wallets commit to the latest blockchain state in the transaction AND a= ttach work.
> It is considered contribution to the security (illegitimate chains can= 't include the txn), hence isrewarded by fee discount/exemption dependi= ng on the offset of the state they've committed to (the closer, the bet= ter) and the amount of work attached.
> For this to work, block difficulty is calculated inclusive with the wo= rk embedded in the txns, it contains. Sophisticated and consequential, yet = not infeasible per se.
>
> Unfortunately, this scheme is hard to balance with ASICs in the scene = too, for instance, you can't subsidize wallets for their work like with= a leverge, because miners can easily do it locally, seizing the subsidies = for themselves, long story, not relevant just ignore it.

We're not talking about a consensus system here. Just a way to rate-lim= it
access to a broadcast network used by a small minority of nodes. It's completely ok to simply change the PoW algorithm in the _highly_ unlikely e= vent
someone bothers to build an ASIC for it. Since this isn't a consensu sy= stem,
it's totally ok if multiple versions of the scheme run in parallel.
_______________________________________________
bitcoin-dev mailing list
= bitcoin-dev@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mail= man/listinfo/bitcoin-dev
_______________________________________________
bitcoin-dev mailing list
= bitcoin-dev@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mail= man/listinfo/bitcoin-dev
--0000000000007b2b1905e5602da8--