Return-Path: Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 7EC9CC000E for ; Tue, 22 Jun 2021 18:21:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 6073C4020C for ; Tue, 22 Jun 2021 18:21:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -2.1 X-Spam-Level: X-Spam-Status: No, score=-2.1 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 TVdqqNt0Iy3Q for ; Tue, 22 Jun 2021 18:21:51 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) by smtp2.osuosl.org (Postfix) with ESMTPS id 47C58400E8 for ; Tue, 22 Jun 2021 18:21:51 +0000 (UTC) Received: by mail-ot1-x32c.google.com with SMTP id f3-20020a0568301c23b029044ce5da4794so15522724ote.11 for ; Tue, 22 Jun 2021 11:21:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=kP8zD+Zmnu/GvNcv4o3gs0ez3q2Hd4/hO3BXtgdRu+g=; b=j5ryS/Eyd9oukGKww4VbPL0O0pxbZ0ex4n5c8n2eLs98vKbTf1GeMV78cHHytJUUZh NJfzfcOgXglRbfsL3g4y26kaF2KzfLT7uqIcUW/522AcYAR90YI+lBKmODWd9ljn7soo 3CQMsKNv41YBsSubHB9ZGMEzh2s1u4dcYcxjzeWG4hLk00WYsMerZkcpPN4oKCDWwjCJ GNVmUOTZBKHnYvlyGjqXZal6h5juoHJtEYFEN7g+Vw8uvrxn0VcwCAwqGeSCZBXoeGRS pyFs+QhMEPdULGa8cXQ8zgqttctWToawqhT20k2oytKNv9hkxGT0RRoptg18OHHHMVlc qSxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=kP8zD+Zmnu/GvNcv4o3gs0ez3q2Hd4/hO3BXtgdRu+g=; b=Swbw1bBgNJMMTbVSRGgA+whAKLRPIvrRiObnWfckW5euy9fruSns2C3ElNwW3YC49x 3QnSTWuOLy6hLvgOrxs7+ftjpLRmNHCDwQ7lSN6wsSFmEZ9nsp6wy787DQID5qAScPMy Q3Z+Tc1JriEf1AqFJzQqlnfQHelUOPZLbF2bH5oYVIlI8aBWn/V/ShUMx2vibpt+a2Ut crXp1FP12x06TB2lA8pMvjagUpjoHYIa83Bfmh6g99BrHwJqueGqHFfkgONQ9MZZo5p3 0Nuf33cwdJl//qGcx+4HunWplfWpYcX++x5qT4qdhzEG55uHhlZliUyxPJ/JVFAvYAe2 u6kw== X-Gm-Message-State: AOAM532cDcdB4jgGyUQ82vL+wPxRmqaM38d9LyqWnq0HU/QzMGuXfQ5K pFVRW+gVDf6U0qSDyA+7l2ovvBvCgFEgmcFBcB0= X-Google-Smtp-Source: ABdhPJw/P1scjG3jw15ELY8WT1+vK1m4Um/4A8NIiMZW2lhDdo8Uim/5562zXVkpDUDqZ5ifZrwdB4P3h1r34+/XiwY= X-Received: by 2002:a9d:634d:: with SMTP id y13mr4300134otk.294.1624386110194; Tue, 22 Jun 2021 11:21:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Michael Folkson Date: Tue, 22 Jun 2021 19:21:39 +0100 Message-ID: To: Billy Tetrud Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Wed, 23 Jun 2021 02:51:04 +0000 Cc: Bitcoin Protocol Discussion Subject: Re: [bitcoin-dev] =?utf-8?q?Tuesday=E2=80=99s_IRC_workshop_on_L2_onch?= =?utf-8?q?ain_support?= 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, 22 Jun 2021 18:21:52 -0000 Hey Billy No, fee sensitive timelocks weren't discussed at any length in the workshop. The workshops are obviously time limited but if they spur future discussion and drafted proposals (whether they need soft forks or not) outside of the workshops that would be great. This idea was raised in the meeting by Ruben Somsen so maybe Ruben has given them some thought. Making timelocks conditional on the current fee rate seems challenging to me (where is the current network fee rate obtained from and how is it fed into the script?) but I haven't sketched out exactly how they would work. A reminder that the second workshop (on package relay and fee bumping) starts at 19:00 UTC today (30 minutes after I've sent this, there may be a delay before it is published to the mailing list). Thanks Michael On Tue, Jun 22, 2021 at 7:02 PM Billy Tetrud wrote= : > > Thanks for the Summary Michael! > > It seems like fee-sensitive timelocks weren't discussed too much in the w= orkshop, unless I'm missing something. I also don't see any downside to it = discussed (other than that it needs a soft-fork). It seems like that would = be a great way to substantially increase the resilience of the LN to tempor= ary periods of fee congestion, even potentially long-running periods that l= ast weeks. It might even help in non-temporary fee market increases by givi= ng participants extra time to use some fee-bumping technique to close or re= structure their channels to compensate for the elevated fee market. > > On Thu, Jun 17, 2021 at 1:16 PM Michael Folkson via bitcoin-dev wrote: >> >> The workshop was previously announced by ariard on the bitcoin-dev >> mailing list here: >> https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-April/01884= 1.html >> >> A reminder was posted to the bitcoin-dev mailing list here: >> https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-June/019068= .html >> >> The conversation log for the workshop is here: >> https://gist.github.com/ariard/5f28dffe82ddad763b346a2344092ba4 >> >> I=E2=80=99ll summarize what was discussed during the meeting but please = refer >> to the L2 zoology repo ariard has set up for background context and >> additional notes: https://github.com/ariard/L2-zoology >> >> General considerations >> >> I think it is worth first reiterating the obvious that there will >> never be perfect security guarantees on network transaction fee rates >> or transaction relay. Network fee rates can in theory go up to >> anything (upper limit of infinity) and will always to some degree be >> inherently unpredictable. In addition transaction acceptance can never >> be guaranteed even if you attempt a direct connection to a miner. At >> the same time L2 protocols (e.g. Lightning and DLCs) elevate >> transaction propagation and inclusion in a time sensitive mined block >> to a security assumption from what used to just be a usability >> assumption (BlueMatt). Within those confines these workshops are >> attempting to strengthen that security assumption knowing that >> guaranteeing it is out of reach. >> >> There are considerations that blocked transaction propagation isn=E2=80= =99t >> necessarily a problem for the victim if it is also blocked for the >> attacker. In addition some successful attacks present an opportunity >> for the victim to divert their funds to miner fees (e.g. scorched >> earth) ensuring the attacker doesn=E2=80=99t financially benefit from th= e >> attack (harding). Personally I would argue neither of these present >> much assurance to the victim. Out of conservatism one should assume >> that the attacker has greater resources than the victim (e.g. a direct >> line to a miner) and knowing a victim=E2=80=99s lost funds went to the m= iner >> instead of the attacker isn=E2=80=99t of much comfort to the victim (oth= er >> than potentially presenting a disincentive for the attack in the first >> place). This is obviously further complicated if the miner is the >> attacker. In addition any incentive for miners to not mine >> transactions to wait for a potential pay-all-to-fee are troubling >> (t-bast). >> >> New(ish) ideas >> >> RubenSomsen brought up the idea of fee sensitive timelocks, they would >> need a soft fork. ariard briefly discussed the idea of a transaction >> relay overlay network. harding stated his opinion that we should be >> leaning more on miners=E2=80=99 profit incentive rather than attempting = to >> normalize mempool policy (e.g. >> https://lists.linuxfoundation.org/pipermail/lightning-dev/2020-April/002= 664.html). >> t-bast raised the prospect of mining pools exposing public APIs to >> push them transactions directly. >> >> The impact of changes to Bitcoin Core on L2 protocols >> >> Some changes to Core (e.g. some privacy improvements) can conflict >> with the goal of minimizing transaction propagation times. >> Chris_Stewart_5 raised the idea of a nightly bitcoind build to give L2 >> developers a way to write regression tests against the latest builds >> of bitcoind. He added that L2 devs should write automated regression >> test suites against bitcoind exposed RPC commands. t-bast would like a >> bitcoind =E2=80=9Cevicttx=E2=80=9D RPC to remove a transaction from the = mempool on >> regtest. >> >> Full RBF >> >> In advance of the workshop ariard posted to the mailing list a >> proposal for full RBF in a future version of Bitcoin Core: >> https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-June/019074= .html >> >> Progress in this direction has been attempted in the past (e.g. >> https://github.com/bitcoin/bitcoin/pull/10823) BlueMatt pointed out >> that even with full RBF it is trivial to create mempool partitions. As >> long as RBF has a fee rate increase minimum an attacker can trivially >> split the mempool by broadcasting two conflicting transactions with >> the same fee. >> >> ariard plans to contact businesses (e.g. Lightning onboarding services >> relying on zero confirmations) to check that this possible eventual >> move to full RBF doesn=E2=80=99t present a problem for them. There could= well >> be engineering work required in advance of the possible change being >> made. >> >> Next week=E2=80=99s meeting >> >> Next week=E2=80=99s meeting (Tuesday 22nd June, 19:00 UTC, >> #l2-onchain-support, Libera) will be on fee bumping and package relay >> that glozow has recently been working to advance in Bitcoin Core. >> >> -- >> Michael Folkson >> Email: michaelfolkson@gmail.com >> Keybase: michaelfolkson >> PGP: 43ED C999 9F85 1D40 EAF4 9835 92D6 0159 214C FEE3 >> _______________________________________________ >> bitcoin-dev mailing list >> bitcoin-dev@lists.linuxfoundation.org >> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev --=20 Michael Folkson Email: michaelfolkson@gmail.com Keybase: michaelfolkson PGP: 43ED C999 9F85 1D40 EAF4 9835 92D6 0159 214C FEE3